diff options
Diffstat (limited to 'src/devices/machine/ncr5390.h')
-rw-r--r-- | src/devices/machine/ncr5390.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/devices/machine/ncr5390.h b/src/devices/machine/ncr5390.h index 59ebc50fdbd..4fae63b4a29 100644 --- a/src/devices/machine/ncr5390.h +++ b/src/devices/machine/ncr5390.h @@ -172,6 +172,7 @@ protected: CD_SELECT_ATN_STOP = 0x43, CD_ENABLE_SEL = 0x44, CD_DISABLE_SEL = 0x45, + CD_SELECT_ATN3 = 0x46, // 53c90a CT_SEND_MSG = 0x20, CT_SEND_STATUS = 0x21, CT_SEND_DATA = 0x22, @@ -183,11 +184,13 @@ protected: CT_RECV_CMD = 0x29, CT_RECV_DATA = 0x2a, CT_RECV_CMD_SEQ = 0x2b, + CT_ABORT_DMA = 0x04, // 53c90a CI_XFER = 0x10, CI_COMPLETE = 0x11, CI_MSG_ACCEPT = 0x12, CI_PAD = 0x18, - CI_SET_ATN = 0x1a + CI_SET_ATN = 0x1a, + CI_RESET_ATN = 0x1b, // 53c90a }; enum { DMA_NONE, DMA_IN, DMA_OUT }; @@ -215,7 +218,7 @@ protected: void start_command(); void step(bool timeout); - bool check_valid_command(uint8_t cmd); + virtual bool check_valid_command(uint8_t cmd); int derive_msg_size(uint8_t msg_id); void function_complete(); void function_bus_complete(); @@ -263,6 +266,8 @@ protected: virtual void device_start() override; void reset_soft(); + virtual bool check_valid_command(uint8_t cmd) override; + // 53c90a uses a previously reserved bit as an interrupt flag enum { S_INTERRUPT = 0x80, |