diff options
Diffstat (limited to 'src/mame/includes/samcoupe.h')
-rw-r--r-- | src/mame/includes/samcoupe.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/src/mame/includes/samcoupe.h b/src/mame/includes/samcoupe.h index d467c7e8eee..319a8d1b41a 100644 --- a/src/mame/includes/samcoupe.h +++ b/src/mame/includes/samcoupe.h @@ -127,44 +127,44 @@ private: uint8_t m_mouse_data[9]; int m_mouse_x, m_mouse_y; uint8_t *m_videoram; - DECLARE_WRITE8_MEMBER(samcoupe_ext_mem_w); - DECLARE_READ8_MEMBER(samcoupe_disk_r); - DECLARE_WRITE8_MEMBER(samcoupe_disk_w); - DECLARE_READ8_MEMBER(samcoupe_pen_r); - DECLARE_WRITE8_MEMBER(samcoupe_clut_w); - DECLARE_READ8_MEMBER(samcoupe_status_r); - DECLARE_WRITE8_MEMBER(samcoupe_line_int_w); - DECLARE_READ8_MEMBER(samcoupe_lmpr_r); - DECLARE_WRITE8_MEMBER(samcoupe_lmpr_w); - DECLARE_READ8_MEMBER(samcoupe_hmpr_r); - DECLARE_WRITE8_MEMBER(samcoupe_hmpr_w); - DECLARE_READ8_MEMBER(samcoupe_vmpr_r); - DECLARE_WRITE8_MEMBER(samcoupe_vmpr_w); - DECLARE_READ8_MEMBER(samcoupe_midi_r); - DECLARE_WRITE8_MEMBER(samcoupe_midi_w); - DECLARE_READ8_MEMBER(samcoupe_keyboard_r); - DECLARE_WRITE8_MEMBER(samcoupe_border_w); - DECLARE_READ8_MEMBER(samcoupe_attributes_r); + void samcoupe_ext_mem_w(offs_t offset, uint8_t data); + uint8_t samcoupe_disk_r(offs_t offset); + void samcoupe_disk_w(offs_t offset, uint8_t data); + uint8_t samcoupe_pen_r(offs_t offset); + void samcoupe_clut_w(offs_t offset, uint8_t data); + uint8_t samcoupe_status_r(offs_t offset); + void samcoupe_line_int_w(uint8_t data); + uint8_t samcoupe_lmpr_r(); + void samcoupe_lmpr_w(uint8_t data); + uint8_t samcoupe_hmpr_r(); + void samcoupe_hmpr_w(uint8_t data); + uint8_t samcoupe_vmpr_r(); + void samcoupe_vmpr_w(uint8_t data); + uint8_t samcoupe_midi_r(); + void samcoupe_midi_w(uint8_t data); + uint8_t samcoupe_keyboard_r(offs_t offset); + void samcoupe_border_w(uint8_t data); + uint8_t samcoupe_attributes_r(); void samcoupe_palette(palette_device &palette) const; INTERRUPT_GEN_MEMBER(samcoupe_frame_interrupt); TIMER_CALLBACK_MEMBER(irq_off); TIMER_CALLBACK_MEMBER(samcoupe_mouse_reset); TIMER_CALLBACK_MEMBER(sam_video_update_callback); - DECLARE_READ8_MEMBER(samcoupe_lpt1_busy_r); - DECLARE_WRITE8_MEMBER(samcoupe_lpt1_strobe_w); - DECLARE_READ8_MEMBER(samcoupe_lpt2_busy_r); - DECLARE_WRITE8_MEMBER(samcoupe_lpt2_strobe_w); - DECLARE_READ8_MEMBER(samcoupe_rtc_r); - DECLARE_WRITE8_MEMBER(samcoupe_rtc_w); - - DECLARE_READ8_MEMBER(sam_bank1_r); - DECLARE_WRITE8_MEMBER(sam_bank1_w); - DECLARE_READ8_MEMBER(sam_bank2_r); - DECLARE_WRITE8_MEMBER(sam_bank2_w); - DECLARE_READ8_MEMBER(sam_bank3_r); - DECLARE_WRITE8_MEMBER(sam_bank3_w); - DECLARE_READ8_MEMBER(sam_bank4_r); - DECLARE_WRITE8_MEMBER(sam_bank4_w); + uint8_t samcoupe_lpt1_busy_r(); + void samcoupe_lpt1_strobe_w(uint8_t data); + uint8_t samcoupe_lpt2_busy_r(); + void samcoupe_lpt2_strobe_w(uint8_t data); + uint8_t samcoupe_rtc_r(offs_t offset); + void samcoupe_rtc_w(offs_t offset, uint8_t data); + + uint8_t sam_bank1_r(offs_t offset); + void sam_bank1_w(offs_t offset, uint8_t data); + uint8_t sam_bank2_r(offs_t offset); + void sam_bank2_w(offs_t offset, uint8_t data); + uint8_t sam_bank3_r(offs_t offset); + void sam_bank3_w(offs_t offset, uint8_t data); + uint8_t sam_bank4_r(offs_t offset); + void sam_bank4_w(offs_t offset, uint8_t data); uint8_t* sam_bank_read_ptr[4]; uint8_t* sam_bank_write_ptr[4]; |