1
0
Fork 0

New call to reset page handlers

Change the vga font text page handler and rewrite for reset page handler call.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2020
This commit is contained in:
Sjoerd van der Berg 2004-10-12 10:45:11 +00:00
parent 7c32c974c7
commit 93a8163a4d
3 changed files with 27 additions and 33 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: paging.h,v 1.11 2004-09-07 18:21:51 qbix79 Exp $ */
/* $Id: paging.h,v 1.12 2004-10-12 10:45:10 harekiet Exp $ */
#ifndef _PAGING_H_
#define _PAGING_H_
@ -42,7 +42,6 @@ class PageDirectory;
//Allow 128 mb of memory to be linked
#define PAGING_LINKS (128*1024/4)
class PageHandler {
public:
virtual Bitu readb(PhysPt addr);
@ -72,6 +71,8 @@ bool PAGING_MakePhysPage(Bitu & page);
void MEM_SetLFB(Bitu _page,Bitu _pages,HostPt _pt);
void MEM_SetPageHandler(Bitu phys_page,Bitu pages,PageHandler * handler);
void MEM_ResetPageHandler(Bitu phys_page, Bitu pages);
#ifdef _MSC_VER
#pragma pack (1)