diff options
Diffstat (limited to 'src/devices/bus/ieee488/grid2102.h')
-rw-r--r-- | src/devices/bus/ieee488/grid2102.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/devices/bus/ieee488/grid2102.h b/src/devices/bus/ieee488/grid2102.h index 4bf4403ddc8..11cdbcecdd0 100644 --- a/src/devices/bus/ieee488/grid2102.h +++ b/src/devices/bus/ieee488/grid2102.h @@ -33,7 +33,6 @@ public: protected: // device-level overrides virtual void device_start() override; - virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override; // device_ieee488_interface overrides virtual void ieee488_eoi(int state) override; @@ -46,18 +45,20 @@ protected: virtual void ieee488_ren(int state) override; // image-level overrides - virtual iodevice_t image_type() const noexcept override { return IO_FLOPPY; } - virtual bool is_readable() const noexcept override { return true; } virtual bool is_writeable() const noexcept override { return true; } virtual bool is_creatable() const noexcept override { return false; } - virtual bool must_be_loaded() const noexcept override { return false; } virtual bool is_reset_on_load() const noexcept override { return false; } virtual const char *file_extensions() const noexcept override { return "img"; } + virtual const char *image_type_name() const noexcept override { return "floppydisk"; } + virtual const char *image_brief_type_name() const noexcept override { return "flop"; } void accept_transfer(); void update_ndac(int atn); + private: + TIMER_CALLBACK_MEMBER(delay_tick); + int m_gpib_loop_state; int m_floppy_loop_state; uint8_t m_last_recv_byte; @@ -75,6 +76,7 @@ private: std::queue<uint8_t> m_output_data_buffer; uint16_t io_size; emu_timer *m_delay_timer; + protected: attotime read_delay; }; @@ -101,7 +103,8 @@ public: grid2101_hdd_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // image-level overrides - virtual iodevice_t image_type() const noexcept override { return IO_HARDDISK; } + virtual const char *image_type_name() const noexcept override { return "harddisk"; } + virtual const char *image_brief_type_name() const noexcept override { return "hard"; } private: static uint8_t identify_response[]; |