1
0
Fork 0

Added fake romsize(Fizzban)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1602
This commit is contained in:
Peter Veenstra 2004-01-26 14:48:58 +00:00
parent 5c86964c65
commit cd4ac03309

View file

@ -79,8 +79,9 @@ void INT10_SetupRomMemory(void) {
/* This should fill up certain structures inside the Video Bios Rom Area */
PhysPt rom_base=PhysMake(0xc000,0);
Bitu i;
int10.rom.used=2;
int10.rom.used=3; // int10.rom.used=2; Size of ROM added
phys_writew(rom_base+0,0xaa55);
phys_writeb(rom_base+2,0x40); // Size of ROM: 64 512-blocks = 32KB
int10.rom.font_8_first=RealMake(0xC000,int10.rom.used);
for (i=0;i<128*8;i++) {
phys_writeb(rom_base+int10.rom.used++,int10_font_08[i]);