diff options
Diffstat (limited to 'src/devices/video/bt459.h')
-rw-r--r-- | src/devices/video/bt459.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/video/bt459.h b/src/devices/video/bt459.h index 11c81cfc5b4..cc1e67c3161 100644 --- a/src/devices/video/bt459.h +++ b/src/devices/video/bt459.h @@ -17,14 +17,6 @@ public: static const int BT459_OVERLAY_COLORS = 16; static const int BT459_CURSOR_COLORS = 3; - enum control_input - { - ADDRESS_LO = 0x0, - ADDRESS_HI = 0x1, - REGISTERS = 0x2, - PALETTE = 0x3 - }; - enum address_mask { REG_OVERLAY_COLOR_0 = 0x0100, @@ -187,8 +179,16 @@ public: CR4241_7PIX = 0x06 // cross hair thickness 7 pixels }; - DECLARE_READ8_MEMBER(read); - DECLARE_WRITE8_MEMBER(write); + DECLARE_ADDRESS_MAP(map, 8); + + DECLARE_READ8_MEMBER(address_lo_r); + DECLARE_WRITE8_MEMBER(address_lo_w); + DECLARE_READ8_MEMBER(address_hi_r); + DECLARE_WRITE8_MEMBER(address_hi_w); + DECLARE_READ8_MEMBER(register_r); + DECLARE_WRITE8_MEMBER(register_w); + DECLARE_READ8_MEMBER(palette_r); + DECLARE_WRITE8_MEMBER(palette_w); void screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect, u8 *pixel_data); |