1
0
Fork 0

fix some bugs+enhance the s3/xga emulation (hal)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3059
This commit is contained in:
Sebastian Strohhäcker 2007-12-10 22:11:13 +00:00
parent f87fc49809
commit 0dba278956
11 changed files with 728 additions and 484 deletions

View file

@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/* $Id: paging.h,v 1.29 2007-11-24 17:26:48 c2woody Exp $ */
/* $Id: paging.h,v 1.30 2007-12-10 22:11:13 c2woody Exp $ */
#ifndef DOSBOX_PAGING_H
#define DOSBOX_PAGING_H
@ -94,7 +94,7 @@ void PAGING_UnlinkPages(Bitu lin_page,Bitu pages);
void PAGING_MapPage(Bitu lin_page,Bitu phys_page);
bool PAGING_MakePhysPage(Bitu & page);
void MEM_SetLFB( Bitu page, Bitu pages, PageHandler *handler);
void MEM_SetLFB(Bitu page, Bitu pages, PageHandler *handler, PageHandler *mmiohandler);
void MEM_SetPageHandler(Bitu phys_page, Bitu pages, PageHandler * handler);
void MEM_ResetPageHandler(Bitu phys_page, Bitu pages);

View file

@ -178,12 +178,17 @@ typedef struct {
Bit8u reg_lock2;
Bit8u reg_31;
Bit8u reg_35;
Bit8u reg_3a; // 4/8/doublepixel bit in there
Bit8u reg_40; // 8415/A functionality register
Bit8u reg_41; // BIOS flags
Bit8u reg_43;
Bit8u reg_45; // Hardware graphics cursor
Bit8u reg_58;
Bit8u reg_50;
Bit8u reg_51;
Bit8u reg_52;
Bit8u reg_55;
Bit8u reg_58;
Bit8u reg_6b; // LFB BIOS scratchpad
Bit8u ex_hor_overflow;
Bit8u ex_ver_overflow;
Bit16u la_window;