summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes/kaiser.h
diff options
context:
space:
mode:
author 0kmg <9137159+0kmg@users.noreply.github.com>2021-08-04 08:04:08 -0800
committer GitHub <noreply@github.com>2021-08-05 02:04:08 +1000
commitad4f91176b615af9b9bc9fdc3918e276296ddfeb (patch)
tree0779bd34b89903e9e49666503b9c3d29c6ab8de5 /src/devices/bus/nes/kaiser.h
parent3912610866d933ed05fc1b21cd9f771a66f7e4fc (diff)
bus/nes: Added support for a Kaiser 4-in-1 cart. (#8390)
New working software list additions (nes.xml) ----------------------------------- 4 in 1 (KS-106C)
Diffstat (limited to 'src/devices/bus/nes/kaiser.h')
-rw-r--r--src/devices/bus/nes/kaiser.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/devices/bus/nes/kaiser.h b/src/devices/bus/nes/kaiser.h
index 5dfe730ae91..f76c018175e 100644
--- a/src/devices/bus/nes/kaiser.h
+++ b/src/devices/bus/nes/kaiser.h
@@ -8,6 +8,25 @@
#include "nxrom.h"
+// ======================> nes_ks106c_device
+
+class nes_ks106c_device : public nes_nrom_device
+{
+public:
+ // construction/destruction
+ nes_ks106c_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+
+ virtual void pcb_reset() override;
+
+protected:
+ // device-level overrides
+ virtual void device_start() override;
+
+private:
+ u8 m_latch;
+};
+
+
// ======================> nes_ks7058_device
class nes_ks7058_device : public nes_nrom_device
@@ -335,6 +354,7 @@ private:
// device type definition
+DECLARE_DEVICE_TYPE(NES_KS106C, nes_ks106c_device)
DECLARE_DEVICE_TYPE(NES_KS202, nes_ks202_device)
DECLARE_DEVICE_TYPE(NES_KS7010, nes_ks7010_device)
DECLARE_DEVICE_TYPE(NES_KS7012, nes_ks7012_device)