summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-01-17 19:37:32 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-01-17 19:37:32 +0100
commit9fe597c242c914173192c6c41806cd18227271db (patch)
tree7ae6f627fffdf25e5840750c1c7b3ad269caa15a /src
parentd80de5bcfbeb3a08051079fea98cce46e02850fa (diff)
diablo_hd: removed MCFG marco, myb3k_kbd: removed leftover (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/machine/diablo_hd.h3
-rw-r--r--src/devices/machine/myb3k_kbd.h3
-rw-r--r--src/mame/drivers/alto2.cpp3
3 files changed, 2 insertions, 7 deletions
diff --git a/src/devices/machine/diablo_hd.h b/src/devices/machine/diablo_hd.h
index 41f206cc531..93915e628e3 100644
--- a/src/devices/machine/diablo_hd.h
+++ b/src/devices/machine/diablo_hd.h
@@ -162,7 +162,4 @@ private:
void sector_mark_0();
};
-#define MCFG_DIABLO_DRIVES_ADD() \
- MCFG_DEVICE_ADD(DIABLO_HD_0, DIABLO_HD, 3333333) \
- MCFG_DEVICE_ADD(DIABLO_HD_1, DIABLO_HD, 3333333)
#endif // !defined(_DIABLO_HD_DEVICE_)
diff --git a/src/devices/machine/myb3k_kbd.h b/src/devices/machine/myb3k_kbd.h
index f43fc75bc67..34c2c5cc414 100644
--- a/src/devices/machine/myb3k_kbd.h
+++ b/src/devices/machine/myb3k_kbd.h
@@ -14,9 +14,6 @@
is responsible for storing the byte into the serial/parallell converter
(that can be read through IN from port 0x04) and then trigger an interrupt.
- MCFG_DEVICE_ADD("myb3k_keyboard", MYB3K_KEYBOARD, 0)
- MCFG_MYB3K_KEYBOARD_CB(PUT(myb3k_state, kbd_set_data_and_interrupt))
-
**********************************************************************/
#ifndef MAME_MACHINE_MYB3K_KBD_H
diff --git a/src/mame/drivers/alto2.cpp b/src/mame/drivers/alto2.cpp
index 21681a5131a..4bdc14402f9 100644
--- a/src/mame/drivers/alto2.cpp
+++ b/src/mame/drivers/alto2.cpp
@@ -305,7 +305,8 @@ MACHINE_CONFIG_START(alto2_state::alto2)
MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
- MCFG_DIABLO_DRIVES_ADD()
+ DIABLO_HD(config, DIABLO_HD_0, 3333333);
+ DIABLO_HD(config, DIABLO_HD_1, 3333333);
MACHINE_CONFIG_END
/* Driver Init */