kccomp: fix video output and debug build crash.

This commit is contained in:
mahlemiut 2014-07-07 02:30:42 +00:00
parent 422026f786
commit 6a6747abd7
2 changed files with 9 additions and 1 deletions

View File

@ -1134,9 +1134,10 @@ ROM_END
ROM_START( kccomp )
ROM_REGION(0x018000, "maincpu", 0)
ROM_REGION(0x01c000, "maincpu", 0)
ROM_LOAD("kccos.rom", 0x10000, 0x4000, CRC(7f9ab3f7) SHA1(f828045e98e767f737fd93df0af03917f936ad08))
ROM_LOAD("kccbas.rom", 0x14000, 0x4000, CRC(ca6af63d) SHA1(d7d03755099d0aff501fa5fffc9c0b14c0825448))
ROM_RELOAD(0x18000, 0x4000) // has no AMSDOS ROM, so just reload BASIC in it's place (BASIC appears in any unused ROM slot)
ROM_REGION(0x018000+0x0800, "proms", 0)
ROM_LOAD("farben.rom", 0x18000, 0x0800, CRC(a50fa3cf) SHA1(2f229ac9f62d56973139dad9992c208421bc0f51))

View File

@ -3075,6 +3075,13 @@ MACHINE_START_MEMBER(amstrad_state,kccomp)
{
m_system_type = SYSTEM_CPC;
m_centronics->write_data7(0);
m_gate_array.de = 0;
m_gate_array.draw_p = NULL;
m_gate_array.hsync = 0;
m_gate_array.vsync = 0;
timer_set(attotime::zero, TIMER_SET_RESOLUTION);
}