summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/hp48.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/hp48.h')
-rw-r--r--src/mame/includes/hp48.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/includes/hp48.h b/src/mame/includes/hp48.h
index 4b1cda4e264..6819d4a0b15 100644
--- a/src/mame/includes/hp48.h
+++ b/src/mame/includes/hp48.h
@@ -66,9 +66,9 @@ public:
/* static part */
uint32_t off_mask; // offset bit-mask, indicates the real size
- read8_delegate read;
+ read8sm_delegate read;
const char *read_name;
- write8_delegate write;
+ write8sm_delegate write;
void* data; // non-NULL for banks
int isnop;
@@ -94,10 +94,10 @@ private:
DECLARE_MACHINE_START(hp48sx);
DECLARE_MACHINE_START(hp48s);
uint32_t screen_update_hp48(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
- DECLARE_WRITE8_MEMBER(io_w);
- DECLARE_READ8_MEMBER(io_r);
- DECLARE_READ8_MEMBER(bank_r);
- DECLARE_WRITE8_MEMBER(hp49_bank_w);
+ void io_w(offs_t offset, uint8_t data);
+ uint8_t io_r(offs_t offset);
+ uint8_t bank_r(offs_t offset);
+ void hp49_bank_w(offs_t offset, uint8_t data);
TIMER_CALLBACK_MEMBER(rs232_byte_recv_cb);
TIMER_CALLBACK_MEMBER(rs232_byte_sent_cb);
TIMER_CALLBACK_MEMBER(kbd_cb);