Worked around 0x3d8 VGA reading, and fixed California Chase in using the right VGA card [Angelo Salese]

This commit is contained in:
Angelo Salese 2011-12-29 02:59:32 +00:00
parent 2365613081
commit 59e5ca40f7
2 changed files with 7 additions and 4 deletions

View File

@ -739,6 +739,12 @@ READ8_HANDLER(vga_port_03d0_r)
UINT8 data = 0xff;
if (CRTC_PORT_ADDR == 0x3d0)
data = vga_crtc_r(space, offset);
if(offset == 8)
{
logerror("VGA: 0x3d8 read at %08x\n",cpu_get_pc(&space->device()));
data = 0; // TODO: PC-200 reads back CGA register here, everything else returns open bus OR CGA emulation of register 0x3d8
}
return data;
}

View File

@ -835,10 +835,7 @@ ROM_START( calchase )
ROM_REGION( 0x40000, "bios", 0 )
ROM_LOAD( "mb_bios.bin", 0x00000, 0x20000, CRC(dea7a51b) SHA1(e2028c00bfa6d12959fc88866baca8b06a1eab68) )
ROM_REGION(0x8000,"video_bios", 0)
ROM_LOAD("et4000.bin", 0x0000, 0x8000, CRC(f1e817a8) SHA1(945d405b0fb4b8f26830d495881f8587d90e5ef9) ) // Not on the original board, to be changed
ROM_REGION( 0x8000, "ovbios", 0 ) // TODO: Make this to work on our VGA driver
ROM_REGION( 0x8000, "video_bios", 0 )
ROM_LOAD16_BYTE( "trident_tgui9680_bios.bin", 0x0000, 0x4000, CRC(1eebde64) SHA1(67896a854d43a575037613b3506aea6dae5d6a19) )
ROM_CONTINUE( 0x0001, 0x4000 )