summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar cracyc <cracyc@users.noreply.github.com>2019-12-10 19:55:54 -0600
committerGravatarGravatar cracyc <cracyc@users.noreply.github.com>2019-12-10 19:55:54 -0600
commitcdac74dd3ac340c0fbffb1a0ec98904aa92c49cb (patch) (github)
tree36a018a3b399959616fc66ba6e4e2150bd73e752
parent43d7c59cddff07ad50ec07df7ee749b54305e9a1 (diff)
downloadmame-cdac74dd3ac340c0fbffb1a0ec98904aa92c49cb.tar.bz2
mame-cdac74dd3ac340c0fbffb1a0ec98904aa92c49cb.zip
rainbow: just add the skips for the floppy tests (nw)
-rw-r--r--src/mame/drivers/rainbow.cpp23
1 files changed, 6 insertions, 17 deletions
diff --git a/src/mame/drivers/rainbow.cpp b/src/mame/drivers/rainbow.cpp
index 1446b188ab4..70844f5f3df 100644
--- a/src/mame/drivers/rainbow.cpp
+++ b/src/mame/drivers/rainbow.cpp
@@ -774,7 +774,6 @@ public:
void rainbow_modelb(machine_config &config);
private:
- virtual void machine_start() override;
virtual void machine_reset() override;
void rainbow8088_map(address_map &map);
@@ -912,23 +911,7 @@ void rainbow_base_state::machine_start()
save_item(NAME(m_irq_mask));
}
-void rainbow_modelb_state::machine_start()
-{
- rainbow_base_state::machine_start();
-
- uint8_t *rom = memregion("maincpu")->base();
- if (rom[0xf4000 + 0x3ffc] == 0x31) // 100-B (5.01) 0x35 would test for V5.05
- {
- rom[0xf4000 + 0x0303] = 0x00; // disable CRC check
- rom[0xf4000 + 0x135e] = 0x00; // Floppy / RX-50 workaround: in case of Z80 RESPONSE FAILURE ($80 bit set in AL), do not block floppy access.
-
- rom[0xf4000 + 0x198F] = 0xeb; // cond.JMP to uncond.JMP (disables error message 60...)
- rom[0xf4000 + 0x315D] = 0x00; // AND DL,0 (make sure DL is zero before ROM_Initialize7201)
- rom[0xf4000 + 0x315E] = 0xe2;
- rom[0xf4000 + 0x315F] = 0x02;
- }
-}
void rainbow_base_state::rainbow8088_base_map(address_map &map)
{
@@ -3408,6 +3391,8 @@ ROM_START(rainbow100a)
ROM_LOAD("23-176e4-00.e89", 0xfa000, 0x2000, CRC(405e9619) SHA1(86604dccea84b46e05d705abeda25b12f7cc8c59)) // ROM (FA000-FBFFF) (E89) 8 K
ROM_LOAD("23-177e4-00.e90", 0xfc000, 0x2000, CRC(1ec72a66) SHA1(ed19944ae711e97d6bec34c885be04c4c3c95852)) // ROM (FC000-FDFFF) (E90) 8 K
+ ROM_FILL(0xfa26d, 1, 0x00) // [0xFA000 + 0x026d] disable CRC check [100-A ROM]
+ ROM_FILL(0xfadea, 1, 0x00) // [0xFA000 + 0x0dea] Floppy workaround: in case of Z80 RESPONSE FAILURE ($80 bit set in AL), don't block floppy access
// SOCKETED LANGUAGE ROM (E91) with 1 single localization per ROM -
ROM_LOAD("23-092e4-00.e91", 0xfe000, 0x2000, CRC(c269175a) SHA1(e82cf69b811f1e376621277f81db28e299fe06f0)) // ROM (FE000-FFFFF) (E91) 8 K - English (?)
@@ -3422,6 +3407,7 @@ ROM_START(rainbow100a)
ROM_LOAD("23-090b1.mmi6308-ij.e11", 0x0000, 0x0100, CRC(cac3a7e3) SHA1(2d0468cda36fa287f705364c56dbf62f548d2e4c) ) // MMI 6308-IJ; Silkscreen stamp: "LM8413 // 090B1"; 256x8 Open Collector prom @E11, same prom is @E13 on 100-B
ROM_END
+
//----------------------------------------------------------------------------------------
// ROM definition for 100-B (system module 70-19974-02, PSU H7842-D)
// Built until ~ May 1986 (from MP-01491-00)
@@ -3438,6 +3424,9 @@ ROM_START(rainbow)
// BOOT ROM
ROM_LOAD("23-022e5-00.bin", 0xf0000, 0x4000, CRC(9d1332b4) SHA1(736306d2a36bd44f95a39b36ebbab211cc8fea6e))
ROM_RELOAD(0xf4000, 0x4000)
+ ROM_FILL(0xf4303, 1, 0x00) // [0xf4000 + 0x0303] disable CRC check [100-B ROM]
+ ROM_FILL(0xf535e, 1, 0x00) // [0xf4000 + 0x135e] Floppy workaround: in case of Z80 RESPONSE FAILURE ($80 bit set in AL), don't block floppy access
+
// LANGUAGE ROM
ROM_LOAD("23-020e5-00.bin", 0xf8000, 0x4000, CRC(8638712f) SHA1(8269b0d95dc6efbe67d500dac3999df4838625d8)) // German, French, English