Fix zexall target compile
This commit is contained in:
parent
b32b366d9f
commit
caa1e969e4
@ -2,6 +2,8 @@ STANDALONE = true
|
||||
|
||||
CPUS["Z80"] = true
|
||||
|
||||
MACHINES["Z80DAISY"] = true
|
||||
|
||||
function standalone()
|
||||
files{
|
||||
MAME_DIR .. "src/zexall/main.cpp",
|
||||
|
@ -106,6 +106,8 @@ void emulator_info::periodic_check() { }
|
||||
|
||||
bool emulator_info::frame_hook() { return false; }
|
||||
|
||||
void emulator_info::sound_hook() { }
|
||||
|
||||
void emulator_info::layout_file_cb(util::xml::data_node const &layout) { }
|
||||
|
||||
const char * emulator_info::get_appname() { return nullptr; }
|
||||
|
@ -31,6 +31,7 @@ public:
|
||||
void output_data_w(uint8_t data);
|
||||
|
||||
void z80_mem(address_map &map);
|
||||
void zexall(machine_config &config);
|
||||
private:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_shared_ptr<uint8_t> m_main_ram;
|
||||
@ -41,7 +42,6 @@ private:
|
||||
std::string terminate_string;
|
||||
|
||||
virtual void machine_reset() override;
|
||||
void zexall(machine_config &config);
|
||||
};
|
||||
|
||||
|
||||
@ -123,9 +123,9 @@ void zexall_state::output_data_w(uint8_t data)
|
||||
void zexall_state::z80_mem(address_map &map)
|
||||
{
|
||||
map(0x0000, 0xffff).ram().share("main_ram");
|
||||
map(0xfffd, 0xfffd).rw(this, FUNC(zexall_state::output_ack_r), FUNC(zexall_state::output_ack_w));
|
||||
map(0xfffe, 0xfffe).rw(this, FUNC(zexall_state::output_req_r), FUNC(zexall_state::output_req_w));
|
||||
map(0xffff, 0xffff).rw(this, FUNC(zexall_state::output_data_r), FUNC(zexall_state::output_data_w));
|
||||
map(0xfffd, 0xfffd).rw(FUNC(zexall_state::output_ack_r), FUNC(zexall_state::output_ack_w));
|
||||
map(0xfffe, 0xfffe).rw(FUNC(zexall_state::output_req_r), FUNC(zexall_state::output_req_w));
|
||||
map(0xffff, 0xffff).rw(FUNC(zexall_state::output_data_r), FUNC(zexall_state::output_data_w));
|
||||
}
|
||||
|
||||
|
||||
@ -162,5 +162,5 @@ ROM_END
|
||||
Drivers
|
||||
******************************************************************************/
|
||||
|
||||
/* YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS */
|
||||
COMP( 2009, zexall, 0, 0, zexall, zexall, zexall_state, 0, "Frank Cringle / Kevin Horton", "Zexall (FPGA Z80 test interface)", MACHINE_NO_SOUND_HW )
|
||||
/* YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS */
|
||||
COMP( 2009, zexall, 0, 0, zexall, zexall, zexall_state, empty_init, "Frank Cringle / Kevin Horton", "Zexall (FPGA Z80 test interface)", MACHINE_NO_SOUND_HW )
|
||||
|
Loading…
Reference in New Issue
Block a user