diff options
author | 2011-03-27 07:37:24 +0000 | |
---|---|---|
committer | 2011-03-27 07:37:24 +0000 | |
commit | 202d7680a44bec9fa1016e8ba6eeaaba51ef15ab (patch) | |
tree | 6021eb4c3d7324779eaeeab30875f68d42ea2348 /src/emu/machine/ldpr8210.c | |
parent | 382e3998b1ca12e6af774cc2652ae515f526ff44 (diff) |
Created new enum type address_spacenum for specifying an address
space by index. Update functions and methods that accepted an
address space index to take an address_spacenum instead. Note that
this means you can't use a raw integer in ADDRESS_SPACE macros, so
instead of 0 use the enumerated AS_0.
Standardized the project on the shortened constants AS_* over the
older ADDRESS_SPACE_*. Removed the latter to prevent confusion.
Also centralized the location of these definitions to memory.h.
Diffstat (limited to 'src/emu/machine/ldpr8210.c')
-rw-r--r-- | src/emu/machine/ldpr8210.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/machine/ldpr8210.c b/src/emu/machine/ldpr8210.c index df52658d089..5f9c6e22ed0 100644 --- a/src/emu/machine/ldpr8210.c +++ b/src/emu/machine/ldpr8210.c @@ -275,7 +275,7 @@ INLINE void update_audio_squelch(laserdisc_state *ld) PR-8210 ROM AND MACHINE INTERFACES ***************************************************************************/ -static ADDRESS_MAP_START( pr8210_portmap, ADDRESS_SPACE_IO, 8 ) +static ADDRESS_MAP_START( pr8210_portmap, AS_IO, 8 ) AM_RANGE(0x00, 0xff) AM_READWRITE(pr8210_pia_r, pr8210_pia_w) AM_RANGE(MCS48_PORT_BUS, MCS48_PORT_BUS) AM_READ(pr8210_bus_r) AM_RANGE(MCS48_PORT_P1, MCS48_PORT_P1) AM_WRITE(pr8210_port1_w) @@ -989,7 +989,7 @@ static void overlay_draw_char(bitmap_t *bitmap, UINT8 ch, float xstart) SIMUTREK ROM AND MACHINE INTERFACES ***************************************************************************/ -static ADDRESS_MAP_START( simutrek_portmap, ADDRESS_SPACE_IO, 8 ) +static ADDRESS_MAP_START( simutrek_portmap, AS_IO, 8 ) AM_RANGE(0x00, 0xff) AM_READ(simutrek_data_r) AM_RANGE(MCS48_PORT_P2, MCS48_PORT_P2) AM_READWRITE(simutrek_port2_r, simutrek_port2_w) AM_RANGE(MCS48_PORT_T0, MCS48_PORT_T0) AM_READ(simutrek_t0_r) |