summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/mame/drivers/osborne1.cpp2
-rw-r--r--src/mame/machine/osborne1.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/osborne1.cpp b/src/mame/drivers/osborne1.cpp
index 19074acc235..43bdd2417d3 100644
--- a/src/mame/drivers/osborne1.cpp
+++ b/src/mame/drivers/osborne1.cpp
@@ -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
diff --git a/src/mame/machine/osborne1.cpp b/src/mame/machine/osborne1.cpp
index 4d7856e8eb2..638e40a8445 100644
--- a/src/mame/machine/osborne1.cpp
+++ b/src/mame/machine/osborne1.cpp
@@ -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))