diff options
Diffstat (limited to 'src/emu/bus/a800/sparta.c')
-rw-r--r-- | src/emu/bus/a800/sparta.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/emu/bus/a800/sparta.c b/src/emu/bus/a800/sparta.c index 316dacb9fe9..a742be866c3 100644 --- a/src/emu/bus/a800/sparta.c +++ b/src/emu/bus/a800/sparta.c @@ -43,14 +43,14 @@ void a800_rom_spartados_device::device_reset() -------------------------------------------------*/ /*------------------------------------------------- - + SpartaDOS 64K carts - - Similar to Express / Diamond carts, because - bankswitch is controlled by writing to 7 diff - offsets in reverse order, but writes to offsets + + Similar to Express / Diamond carts, because + bankswitch is controlled by writing to 7 diff + offsets in reverse order, but writes to offsets 0x8-0xf also enable/disable subslot - + -------------------------------------------------*/ READ8_MEMBER(a800_rom_spartados_device::read_80xx) @@ -58,7 +58,7 @@ READ8_MEMBER(a800_rom_spartados_device::read_80xx) if (!m_subslot_enabled) return m_rom[(offset & 0x1fff) + (m_bank * 0x2000)]; else - return 0xff; // subslot, currently not implemented + return 0xff; // subslot, currently not implemented } WRITE8_MEMBER(a800_rom_spartados_device::write_d5xx) @@ -69,4 +69,3 @@ WRITE8_MEMBER(a800_rom_spartados_device::write_d5xx) m_bank = (offset ^ 0x07) & 0x0f; } - |