diff options
Diffstat (limited to 'src/mame/drivers/abc80.cpp')
-rw-r--r-- | src/mame/drivers/abc80.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/abc80.cpp b/src/mame/drivers/abc80.cpp index 147f3df258d..f7deb0e9447 100644 --- a/src/mame/drivers/abc80.cpp +++ b/src/mame/drivers/abc80.cpp @@ -455,7 +455,7 @@ void abc80_state::machine_start() save_item(NAME(m_tape_in_latch)); } -QUICKLOAD_LOAD_MEMBER( abc80_state, bac ) +QUICKLOAD_LOAD_MEMBER(abc80_state::quickload_cb) { address_space &space = m_maincpu->space(AS_PROGRAM); @@ -491,7 +491,8 @@ QUICKLOAD_LOAD_MEMBER( abc80_state, bac ) // machine_config( abc80 ) //------------------------------------------------- -MACHINE_CONFIG_START(abc80_state::abc80) +void abc80_state::abc80(machine_config &config) +{ // basic machine hardware Z80(config, m_maincpu, XTAL(11'980'800)/2/2); // 2.9952 MHz m_maincpu->set_addrmap(AS_PROGRAM, &abc80_state::abc80_mem); @@ -537,7 +538,7 @@ MACHINE_CONFIG_START(abc80_state::abc80) generic_keyboard_device &keyboard(GENERIC_KEYBOARD(config, KEYBOARD_TAG, 0)); keyboard.set_keyboard_callback(FUNC(abc80_state::kbd_w)); - MCFG_QUICKLOAD_ADD("quickload", abc80_state, bac, "bac", attotime::from_seconds(2)) + QUICKLOAD(config, "quickload", "bac", attotime::from_seconds(2)).set_load_callback(FUNC(abc80_state::quickload_cb), this); // internal ram RAM(config, RAM_TAG).set_default_size("16K"); @@ -545,7 +546,7 @@ MACHINE_CONFIG_START(abc80_state::abc80) // software list SOFTWARE_LIST(config, "cass_list").set_original("abc80_cass"); SOFTWARE_LIST(config, "flop_list").set_original("abc80_flop"); -MACHINE_CONFIG_END +} |