summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ClawGrip <clawgrip@hotmail.com>2020-01-07 05:11:46 +0100
committer R. Belmont <rb6502@users.noreply.github.com>2020-01-06 23:11:46 -0500
commit0d06ae9f4d3541a6a9c26a5f600c34914c2d9b4e (patch)
treeecac89496723a1d2fefbaf92dec1e9b05ee35ff0
parenta8cd7ff87e5a7ef68eba7e688630c3c951df8233 (diff)
Add BIOS ROM load for MicroTouch device (not hooked up) [ClawGrip, Kevin Eshbach, ArcadeHacker] (#6138)
* Add BIOS ROM load for MicroTouch device (not hooked up) [ClawGrip, Kevin Eshbach, ArcadeHacker] * Typo (nw)
-rw-r--r--src/devices/machine/microtch.cpp17
-rw-r--r--src/devices/machine/microtch.h3
2 files changed, 19 insertions, 1 deletions
diff --git a/src/devices/machine/microtch.cpp b/src/devices/machine/microtch.cpp
index 6230b5cafd7..2dc2cb30963 100644
--- a/src/devices/machine/microtch.cpp
+++ b/src/devices/machine/microtch.cpp
@@ -13,7 +13,7 @@ Known MicroTouch boards use an 80C32 (compatible: Siemens, Winbond, Philips, MHS
It seems there are different MicroTouch MCU versions, named "Kahuna", "Excalibur", and probably others, with unknown differences.
-ISA Board ((c) 1997 MicroTouch Systems Inc. FAB 5405800 REV 2.3)
+ISA board ((c) 1997 MicroTouch Systems Inc. FAB 5405800 REV 2.3)
_________________________________________________________________
| ______ ______ |
| MM74HC04M HC125A ____ |
@@ -355,6 +355,15 @@ INPUT_CHANGED_MEMBER( microtouch_device::touch )
}
}
+// BIOS not hooked up
+ROM_START(microtouch)
+ ROM_REGION(0x10000, "bios", 0)
+ ROM_SYSTEM_BIOS(0, "microtouch_5_6", "MicroTouch Rev.5.6") // "Excalibur", ISA card
+ ROMX_LOAD("microtouch_560410_rev_5.6.u1", 0x0000, 0x10000, CRC(d19ee080) SHA1(c695405ec8c2ac4408a63bacfc68a5a4b878928c), ROM_BIOS(0)) // 27c512
+ ROM_SYSTEM_BIOS(1, "microtouch_5_5", "MicroTouch Rev.5.5") // "Kahuna", daughterboard integrated on monitor
+ ROMX_LOAD("microtouch_5603920_rev_5.5.u1", 0x0000, 0x08000, CRC(5cc164e7) SHA1(753277ce54e8be1b759c37ae760fe4a6846d1fae), ROM_BIOS(1))
+ROM_END
+
static INPUT_PORTS_START(microtouch)
PORT_START("TOUCH")
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME( "Touch screen" ) PORT_CHANGED_MEMBER( DEVICE_SELF,microtouch_device, touch, 0 )
@@ -382,3 +391,9 @@ void microtouch_device::tra_complete()
m_output_valid = false;
}
}
+
+const tiny_rom_entry *microtouch_device::device_rom_region() const
+{
+ return ROM_NAME(microtouch);
+}
+
diff --git a/src/devices/machine/microtch.h b/src/devices/machine/microtch.h
index ed56310baca..2f955955e03 100644
--- a/src/devices/machine/microtch.h
+++ b/src/devices/machine/microtch.h
@@ -33,6 +33,9 @@ protected:
virtual void tra_complete() override;
virtual void rcv_complete() override;
+ // ROM region (unused, as the device is HLE'd)
+ virtual const tiny_rom_entry *device_rom_region() const override;
+
private:
int check_command( const char* commandtocheck, int command_len, uint8_t* command_data );
void send_format_table_packet(uint8_t flag, int x, int y);