mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
c80, ccs300: minor matters.
This commit is contained in:
parent
747080b5b5
commit
e796502751
@ -2,7 +2,7 @@
|
||||
// copyright-holders:Curt Coder
|
||||
/***************************************************************************
|
||||
|
||||
C-80
|
||||
C-80 Trainer (East Germany)
|
||||
|
||||
Pasting:
|
||||
0-F : as is
|
||||
@ -133,6 +133,7 @@ void c80_state::c80_mem(address_map &map)
|
||||
void c80_state::c80_io(address_map &map)
|
||||
{
|
||||
map.global_mask(0xff);
|
||||
map.unmap_value_high();
|
||||
map(0x7c, 0x7f).rw(m_pio2, FUNC(z80pio_device::read), FUNC(z80pio_device::write));
|
||||
map(0xbc, 0xbf).rw(m_pio1, FUNC(z80pio_device::read), FUNC(z80pio_device::write));
|
||||
}
|
||||
@ -344,7 +345,7 @@ void c80_state::c80(machine_config &config)
|
||||
/* ROMs */
|
||||
|
||||
ROM_START( c80 )
|
||||
ROM_REGION( 0x10000, Z80_TAG, 0 )
|
||||
ROM_REGION( 0x0800, Z80_TAG, ROMREGION_ERASEFF )
|
||||
ROM_LOAD( "c80.d3", 0x0000, 0x0400, CRC(ad2b3296) SHA1(14f72cb73a4068b7a5d763cc0e254639c251ce2e) )
|
||||
ROM_END
|
||||
|
||||
|
@ -271,7 +271,7 @@ void ccs300_state::ccs300_io(address_map &map)
|
||||
map(0x34, 0x34).rw(FUNC(ccs300_state::port34_r), FUNC(ccs300_state::port34_w));
|
||||
map(0x40, 0x40).w(FUNC(ccs300_state::port40_w));
|
||||
map(0xf0, 0xf0).rw("dma", FUNC(z80dma_device::read), FUNC(z80dma_device::write));
|
||||
map(0xf2, 0xf2); // dip or jumper? only used by CCS-400
|
||||
map(0xf2, 0xf2).portr("MODEL"); // dip or jumper? only used by CCS-400
|
||||
}
|
||||
|
||||
|
||||
@ -847,6 +847,16 @@ static INPUT_PORTS_START( ccs2810 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( ccs300 )
|
||||
// No information available on this system, but it may be assumed that
|
||||
// the 300 is floppy-only, while the 400 boots off a hard drive.
|
||||
// Plugging in the HDC cable would ground this pin to inform the bios
|
||||
// it should be a 400. This "dip" is so you can see (and trace) what
|
||||
// happens.
|
||||
PORT_START("MODEL")
|
||||
PORT_DIPNAME(0x08, 0x08, "Model")
|
||||
PORT_DIPSETTING(0x00, "CCS-400")
|
||||
PORT_DIPSETTING(0x08, "CCS-300")
|
||||
PORT_BIT(0xf7, IP_ACTIVE_LOW, IPT_UNUSED)
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user