mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
Use AM_MIRROR (nt)
This commit is contained in:
parent
2518281521
commit
18966159a0
@ -92,7 +92,7 @@ ADDRESS_MAP_END
|
||||
static ADDRESS_MAP_START( osborne1_io, AS_IO, 8, osborne1_state )
|
||||
ADDRESS_MAP_UNMAP_HIGH
|
||||
ADDRESS_MAP_GLOBAL_MASK(0xff)
|
||||
AM_RANGE( 0x00, 0xff ) AM_WRITE(bankswitch_w)
|
||||
AM_RANGE( 0x00, 0x03 ) AM_MIRROR( 0xfc ) AM_WRITE(bankswitch_w)
|
||||
ADDRESS_MAP_END
|
||||
|
||||
|
||||
|
@ -118,7 +118,7 @@ READ8_MEMBER( osborne1_state::opcode_r )
|
||||
|
||||
WRITE8_MEMBER( osborne1_state::bankswitch_w )
|
||||
{
|
||||
switch (offset & 0x03)
|
||||
switch (offset)
|
||||
{
|
||||
case 0x00:
|
||||
if (set_rom_mode(1))
|
||||
|
Loading…
Reference in New Issue
Block a user