(MESS) to8/to8d: forgot 2 other banks; only now the driver displays 512K again when choosing 256K ram :( (nw)

This commit is contained in:
Wilbert Pol 2013-05-22 19:53:14 +00:00
parent 4951934150
commit 7b30fcdef9

View File

@ -4114,16 +4114,20 @@ MACHINE_START_MEMBER( thomson_state, to8 )
{
membank( THOM_CART_BANK )->configure_entries( 8, 16, ram, 0x4000 );
membank( THOM_CART_BANK )->configure_entries( 8+16, 16, ram, 0x4000 );
membank( TO8_DATA_LO )->configure_entries( 0, 16, ram + 0x2000, 0x4000 );
membank( TO8_DATA_LO )->configure_entries( 16, 16, ram + 0x2000, 0x4000 );
membank( TO8_DATA_HI )->configure_entries( 0, 16, ram + 0x0000, 0x4000 );
membank( TO8_DATA_HI )->configure_entries( 16, 16, ram + 0x0000, 0x4000 );
}
else
{
membank( THOM_CART_BANK )->configure_entries( 8, 32, ram, 0x4000 );
membank( TO8_DATA_LO )->configure_entries( 0, 32, ram + 0x2000, 0x4000 );
membank( TO8_DATA_HI )->configure_entries( 0, 32, ram + 0x0000, 0x4000 );
}
membank( THOM_VRAM_BANK )->configure_entries( 0, 2, ram, 0x2000 );
membank( TO8_SYS_LO )->configure_entry( 0, ram + 0x6000);
membank( TO8_SYS_HI )->configure_entry( 0, ram + 0x4000);
membank( TO8_DATA_LO )->configure_entries( 0, 32, ram + 0x2000, 0x4000 );
membank( TO8_DATA_HI )->configure_entries( 0, 32, ram + 0x0000, 0x4000 );
membank( TO8_BIOS_BANK )->configure_entries( 0, 2, mem + 0x30800, 0x2000 );
membank( THOM_CART_BANK )->set_entry( 0 );
membank( THOM_VRAM_BANK )->set_entry( 0 );