mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
schexx: Map some memory
This commit is contained in:
parent
855c9d4087
commit
6a1ba6ed10
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user