diff options
Diffstat (limited to 'src/mess/machine/a2applicard.c')
| -rw-r--r-- | src/mess/machine/a2applicard.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mess/machine/a2applicard.c b/src/mess/machine/a2applicard.c index 163e988f13e..c568f1085d5 100644 --- a/src/mess/machine/a2applicard.c +++ b/src/mess/machine/a2applicard.c @@ -3,10 +3,10 @@ a2applicard.c Implementation of the PCPI AppliCard Z-80 card - + Unlike the SoftCard and clones, this has its own 64k of RAM on board and the Z80 runs completely independently of the host's 6502. - + *********************************************************************/ #include "a2applicard.h" @@ -25,7 +25,7 @@ const device_type A2BUS_APPLICARD = &device_creator<a2bus_applicard_device>; #define Z80_TAG "z80" -#define Z80_ROM_REGION "z80_rom" +#define Z80_ROM_REGION "z80_rom" static ADDRESS_MAP_START( z80_mem, AS_PROGRAM, 8, a2bus_applicard_device ) AM_RANGE(0x0000, 0xffff) AM_READWRITE(dma_r, dma_w) @@ -36,7 +36,7 @@ static ADDRESS_MAP_START( z80_io, AS_IO, 8, a2bus_applicard_device ) ADDRESS_MAP_END MACHINE_CONFIG_FRAGMENT( a2applicard ) - MCFG_CPU_ADD(Z80_TAG, Z80, 6000000) // Z80 runs at 6 MHz + MCFG_CPU_ADD(Z80_TAG, Z80, 6000000) // Z80 runs at 6 MHz MCFG_CPU_PROGRAM_MAP(z80_mem) MCFG_CPU_IO_MAP(z80_io) MACHINE_CONFIG_END @@ -147,7 +147,7 @@ UINT8 a2bus_applicard_device::read_c0nx(address_space &space, UINT8 offset) m_z80->reset(); break; - case 6: // IRQ on Z80 via CTC channel 3 (CP/M doesn't use the CTC or IRQs) + case 6: // IRQ on Z80 via CTC channel 3 (CP/M doesn't use the CTC or IRQs) fatalerror("Applicard: Z80 IRQ not supported yet\n"); break; @@ -163,7 +163,7 @@ void a2bus_applicard_device::write_c0nx(address_space &space, UINT8 offset, UINT { switch (offset & 0xf) { - case 0: // are these legal to write? + case 0: // are these legal to write? case 2: case 3: break; @@ -176,7 +176,7 @@ void a2bus_applicard_device::write_c0nx(address_space &space, UINT8 offset, UINT case 5: case 6: case 7: - read_c0nx(space, offset); // let the read handler take care of these + read_c0nx(space, offset); // let the read handler take care of these break; } } @@ -206,9 +206,9 @@ READ8_MEMBER( a2bus_applicard_device::z80_io_r ) return tmp; case 0x60: - break; + break; } - return 0xff; + return 0xff; } WRITE8_MEMBER( a2bus_applicard_device::z80_io_w ) @@ -254,7 +254,7 @@ READ8_MEMBER( a2bus_applicard_device::dma_r ) { return m_z80ram[offset]; } - return 0xff; + return 0xff; } |
