summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author r09 <rzero9@gmail.com>2020-10-07 18:20:32 +0200
committer GitHub <noreply@github.com>2020-10-08 03:20:32 +1100
commitdd73e03c08b6e6058d55b73a6557f4c3d1355248 (patch)
tree6a49ae40774c136dd5a7e5274f3afb9fd4cd5eef /src/mame/includes
parentc552c38ac6ae039d04fbba2c7b2639953e994ccd (diff)
fmtowns: add devices for the SCSI card slot and the FMT-121 card (#7306)
* fmtowns: add a SCSI card slot for the original models - Add a slot device for the Model 1/2 dedicated SCSI slot - Add a device for the FMT-121 SCSI Card - Modify the I/O maps and machine configurations so the slot and the integrated controller don't overlap
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/fmtowns.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/includes/fmtowns.h b/src/mame/includes/fmtowns.h
index 7197a102ea9..525e4ce429f 100644
--- a/src/mame/includes/fmtowns.h
+++ b/src/mame/includes/fmtowns.h
@@ -26,6 +26,8 @@
#include "bus/generic/carts.h"
#include "bus/generic/slot.h"
#include "bus/rs232/rs232.h"
+#include "bus/fmt_scsi/fmt_scsi.h"
+#include "bus/fmt_scsi/fmt121.h"
#include "formats/fmtowns_dsk.h"
@@ -111,6 +113,7 @@ class towns_state : public driver_device
, m_dma_1(*this, "dma_1")
, m_cdrom(*this, "cdrom")
, m_cdda(*this, "cdda")
+ , m_scsi_slot(*this, "scsislot")
, m_bank_cb000_r(*this, "bank_cb000_r")
, m_bank_cb000_w(*this, "bank_cb000_w")
, m_bank_f8000_r(*this, "bank_f8000_r")
@@ -150,6 +153,7 @@ protected:
void pcm_mem(address_map &map);
void towns16_io(address_map &map);
void towns_io(address_map &map);
+ void towns_1g_io(address_map &map);
void towns2_io(address_map &map);
void townsux_io(address_map &map);
void towns_mem(address_map &map);
@@ -167,8 +171,6 @@ protected:
DECLARE_WRITE_LINE_MEMBER(towns_scsi_irq);
DECLARE_WRITE_LINE_MEMBER(towns_scsi_drq);
- uint16_t towns_scsi_dma_r();
- void towns_scsi_dma_w(uint16_t data);
private:
/* devices */
@@ -187,6 +189,7 @@ private:
required_device<upd71071_device> m_dma_1;
required_device<cdrom_image_device> m_cdrom;
required_device<cdda_device> m_cdda;
+ optional_device<fmt_scsi_slot_device> m_scsi_slot;
required_memory_bank m_bank_cb000_r;
required_memory_bank m_bank_cb000_w;