mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
amstarz80.cpp: Add a few preliminary mappings
This commit is contained in:
parent
be75b304d5
commit
e5a902f4b4
@ -89,10 +89,24 @@ uint32_t amstarz80_state::screen_update(screen_device &screen, bitmap_ind16 &bit
|
|||||||
void amstarz80_state::prg_map(address_map &map)
|
void amstarz80_state::prg_map(address_map &map)
|
||||||
{
|
{
|
||||||
map(0x0000, 0x17ff).rom();
|
map(0x0000, 0x17ff).rom();
|
||||||
|
map(0x1c00, 0x1cff).ram();
|
||||||
|
map(0x2000, 0x21ff).ram();
|
||||||
|
map(0x2400, 0x25ff).ram();
|
||||||
|
map(0x2800, 0x29ff).ram();
|
||||||
|
map(0x4000, 0x4000).portr("IN0");
|
||||||
|
map(0x4001, 0x4001).portr("IN1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static INPUT_PORTS_START( holddraw )
|
static INPUT_PORTS_START( holddraw )
|
||||||
|
PORT_START("IN0")
|
||||||
|
PORT_BIT(0x75, IP_ACTIVE_LOW, IPT_UNKNOWN)
|
||||||
|
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN)
|
||||||
|
PORT_BIT(0x0a, IP_ACTIVE_HIGH, IPT_UNKNOWN)
|
||||||
|
|
||||||
|
PORT_START("IN1")
|
||||||
|
PORT_BIT(0xff, IP_ACTIVE_LOW, IPT_UNKNOWN)
|
||||||
|
|
||||||
// 2x 8 dip banks
|
// 2x 8 dip banks
|
||||||
// 1x 4 dip bank
|
// 1x 4 dip bank
|
||||||
INPUT_PORTS_END
|
INPUT_PORTS_END
|
||||||
|
Loading…
Reference in New Issue
Block a user