From cd4ac0330983c6eb7cb3b63f040e403b71367bdc Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 26 Jan 2004 14:48:58 +0000 Subject: [PATCH] Added fake romsize(Fizzban) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1602 --- src/ints/int10_memory.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ints/int10_memory.cpp b/src/ints/int10_memory.cpp index 3466a7e1..ceb725f6 100644 --- a/src/ints/int10_memory.cpp +++ b/src/ints/int10_memory.cpp @@ -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]);