summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/crt9007.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/crt9007.h')
-rw-r--r--src/devices/video/crt9007.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/src/devices/video/crt9007.h b/src/devices/video/crt9007.h
index 38274515447..369cb0b9fb6 100644
--- a/src/devices/video/crt9007.h
+++ b/src/devices/video/crt9007.h
@@ -71,30 +71,28 @@ public:
void ack_w(int state);
void lpstb_w(int state);
+ // cursor location
+ bool cursor_active(unsigned x, unsigned y);
+
protected:
- // device-level overrides
- virtual void device_resolve_objects() override;
+ // device_t implementation
virtual void device_start() override;
virtual void device_reset() override;
virtual void device_post_load() override;
virtual void device_clock_changed() override;
- virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
- // device_memory_interface overrides
+ // device_memory_interface implementation
virtual space_config_vector memory_space_config() const override;
-private:
- enum
- {
- TIMER_HSYNC,
- TIMER_VSYNC,
- TIMER_VLT,
- TIMER_CURS,
- TIMER_DRB,
- TIMER_DMA,
- TIMER_FRAME
- };
+ TIMER_CALLBACK_MEMBER(hsync_update);
+ TIMER_CALLBACK_MEMBER(vsync_update);
+ TIMER_CALLBACK_MEMBER(vlt_update);
+ TIMER_CALLBACK_MEMBER(cursor_update);
+ TIMER_CALLBACK_MEMBER(drb_update);
+ TIMER_CALLBACK_MEMBER(dma_update);
+ TIMER_CALLBACK_MEMBER(frame_update);
+private:
void crt9007(address_map &map);
inline uint8_t readbyte(offs_t address);