diff options
Diffstat (limited to 'src/devices/bus/isa/aga.h')
-rw-r--r-- | src/devices/bus/isa/aga.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/bus/isa/aga.h b/src/devices/bus/isa/aga.h index 2c3ad2a654a..aa6aa16f5d0 100644 --- a/src/devices/bus/isa/aga.h +++ b/src/devices/bus/isa/aga.h @@ -14,9 +14,9 @@ // 256 8x8 thick chars // 256 8x8 thin chars // 256 9x14 in 8x16 chars, line 3 is connected to a10 - ROM_LOAD("aga.chr", 0x00000, 0x02000, CRC(aca81498)) + ROM_LOAD("aga.chr", 0x0000, 0x2000, CRC(aca81498) SHA1(0d84c89487ee7a6ac4c9e73fdb30c5fd8aa595f8) ) // hercules font of above - ROM_LOAD("hercules.chr", 0x00000, 0x1000, CRC(7e8c9d76)) + ROM_LOAD("hercules.chr", 0x0000, 0x1000, CRC(7e8c9d76)) */ #ifndef MAME_BUS_ISA_AGA_H @@ -41,14 +41,14 @@ public: protected: isa8_aga_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); - DECLARE_READ8_MEMBER( pc_aga_mda_r ); - DECLARE_WRITE8_MEMBER( pc_aga_mda_w ); - DECLARE_READ8_MEMBER( pc_aga_cga_r ); - DECLARE_WRITE8_MEMBER( pc_aga_cga_w ); + uint8_t pc_aga_mda_r(offs_t offset); + void pc_aga_mda_w(offs_t offset, uint8_t data); + uint8_t pc_aga_cga_r(offs_t offset); + void pc_aga_cga_w(offs_t offset, uint8_t data); void set_palette_luts(); void pc_aga_set_mode(mode_t mode); - DECLARE_WRITE8_MEMBER( pc_aga_videoram_w ); - DECLARE_READ8_MEMBER( pc_aga_videoram_r ); + void pc_aga_videoram_w(offs_t offset, uint8_t data); + uint8_t pc_aga_videoram_r(offs_t offset); MC6845_UPDATE_ROW( aga_update_row ); MC6845_UPDATE_ROW( mda_text_inten_update_row ); @@ -62,8 +62,8 @@ protected: MC6845_UPDATE_ROW( cga_gfx_2bpp_update_row ); MC6845_UPDATE_ROW( cga_gfx_1bpp_update_row ); - DECLARE_WRITE_LINE_MEMBER( hsync_changed ); - DECLARE_WRITE_LINE_MEMBER( vsync_changed ); + void hsync_changed(int state); + void vsync_changed(int state); required_device<palette_device> m_palette; required_device<mc6845_device> m_mc6845; @@ -108,10 +108,10 @@ public: isa8_aga_pc200_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); protected: - DECLARE_READ8_MEMBER( pc200_videoram_r ); - DECLARE_WRITE8_MEMBER( pc200_videoram_w ); - DECLARE_WRITE8_MEMBER( pc200_cga_w ); - DECLARE_READ8_MEMBER( pc200_cga_r ); + uint8_t pc200_videoram_r(offs_t offset); + void pc200_videoram_w(offs_t offset, uint8_t data); + void pc200_cga_w(offs_t offset, uint8_t data); + uint8_t pc200_cga_r(offs_t offset); // device-level overrides virtual const tiny_rom_entry *device_rom_region() const override; |