schexx: Map some memory

This commit is contained in:
AJR 2021-08-15 13:05:44 -04:00
parent 855c9d4087
commit 6a1ba6ed10

View File

@ -25,15 +25,23 @@ public:
void schexx(machine_config &config);
private:
void mem_map(address_map &map);
required_device<mc68hc11_cpu_device> m_maincpu;
};
void schexx_state::mem_map(address_map &map)
{
map(0xe000, 0xffff).rom().region("program", 0x7e000);
}
INPUT_PORTS_START(schexx)
INPUT_PORTS_END
void schexx_state::schexx(machine_config &config)
{
MC68HC11A1(config, m_maincpu, 8_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &schexx_state::mem_map);
}
ROM_START(schexx)