diff options
author | 2012-09-17 07:43:37 +0000 | |
---|---|---|
committer | 2012-09-17 07:43:37 +0000 | |
commit | cc16777cce9c5a2cac9d88c595b6b5f4ee70a2ea (patch) | |
tree | 496c31635729f6af1e37f3337b50e91b1f9fde97 /src/mess/machine/super80.c | |
parent | e25c13f2532730ebf50d0cffa0147393fd8e0228 (diff) |
Memory handler normalization, part 1.
READ/WRITE_DEVICE*_HANDLERs are now passed an
address_space &, and the 8-bit variants get a mem_mask
as well. This means they are now directly compatible
with the member function delegates. Added a generic
address space to the driver_device that can be used
when no specific address space is available. Also
added DECLARE_READ/WRITE_DEVICE*_HANDLER macros to
declare device callbacks with default mem_mask
parameters. [Aaron Giles]
Diffstat (limited to 'src/mess/machine/super80.c')
-rw-r--r-- | src/mess/machine/super80.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/super80.c b/src/mess/machine/super80.c index 40079041259..16e467af556 100644 --- a/src/mess/machine/super80.c +++ b/src/mess/machine/super80.c @@ -94,7 +94,7 @@ static TIMER_CALLBACK( super80_timer ) state->m_cass_data[1] = 0; } - state->m_pio->port_b_write(pio_port_b_r(state->m_pio,0)); + state->m_pio->port_b_write(pio_port_b_r(state->m_pio,state->generic_space(),0,0xff)); } /* after the first 4 bytes have been read from ROM, switch the ram back in */ |