summaryrefslogtreecommitdiffstatshomepage
path: root/src/zexall
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2020-09-30 17:37:01 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2020-09-30 17:37:01 +0200
commitcaa1e969e423ac56ebd1f2678638fa280a3e12f8 (patch)
treef5c20819177a254dd2910b9eebb98aedaf6cabad /src/zexall
parentb32b366d9f0e339eb300d67a26cd5694741173dc (diff)
Fix zexall target compile
Diffstat (limited to 'src/zexall')
-rw-r--r--src/zexall/main.cpp2
-rw-r--r--src/zexall/zexall.cpp12
2 files changed, 8 insertions, 6 deletions
diff --git a/src/zexall/main.cpp b/src/zexall/main.cpp
index 5996f3b582b..eb6f24edf6d 100644
--- a/src/zexall/main.cpp
+++ b/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; }
diff --git a/src/zexall/zexall.cpp b/src/zexall/zexall.cpp
index 8de1121304d..6bc3544a4d0 100644
--- a/src/zexall/zexall.cpp
+++ b/src/zexall/zexall.cpp
@@ -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 )