diff options
Diffstat (limited to 'src/mame/includes/prof80.h')
-rw-r--r-- | src/mame/includes/prof80.h | 41 |
1 files changed, 18 insertions, 23 deletions
diff --git a/src/mame/includes/prof80.h b/src/mame/includes/prof80.h index c3d776d9f45..b345a646994 100644 --- a/src/mame/includes/prof80.h +++ b/src/mame/includes/prof80.h @@ -1,10 +1,10 @@ // license:BSD-3-Clause // copyright-holders:Curt Coder -#pragma once - #ifndef MAME_INCLUDES_PROF80_H #define MAME_INCLUDES_PROF80_H +#pragma once + #include "bus/ecbbus/ecbbus.h" #include "bus/rs232/rs232.h" #include "cpu/z80/z80.h" @@ -17,13 +17,8 @@ #include "machine/upd765.h" #define Z80_TAG "z1" -#define MMU_TAG "mmu" #define UPD765_TAG "z38" #define UPD1990A_TAG "z43" -#define RS232_A_TAG "rs232a" -#define RS232_B_TAG "rs232b" -#define FLR_A_TAG "z44" -#define FLR_B_TAG "z45" // ------------------------------------------------------------------------ @@ -37,22 +32,22 @@ class prof80_state : public driver_device { public: prof80_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag), - m_maincpu(*this, Z80_TAG), - m_mmu(*this, MMU_TAG), - m_rtc(*this, UPD1990A_TAG), - m_fdc(*this, UPD765_TAG), - m_ram(*this, RAM_TAG), - m_floppy0(*this, UPD765_TAG":0"), - m_floppy1(*this, UPD765_TAG":1"), - m_ecb(*this, ECBBUS_TAG), - m_rs232a(*this, RS232_A_TAG), - m_rs232b(*this, RS232_B_TAG), - m_flra(*this, FLR_A_TAG), - m_flrb(*this, FLR_B_TAG), - m_rom(*this, Z80_TAG), - m_j4(*this, "J4"), - m_j5(*this, "J5") + : driver_device(mconfig, type, tag) + , m_maincpu(*this, Z80_TAG) + , m_mmu(*this, "mmu") + , m_rtc(*this, UPD1990A_TAG) + , m_fdc(*this, UPD765_TAG) + , m_ram(*this, RAM_TAG) + , m_floppy0(*this, UPD765_TAG":0") + , m_floppy1(*this, UPD765_TAG":1") + , m_ecb(*this, ECBBUS_TAG) + , m_rs232a(*this, "rs232a") + , m_rs232b(*this, "rs232b") + , m_flra(*this, "z44") + , m_flrb(*this, "z45") + , m_rom(*this, Z80_TAG) + , m_j4(*this, "J4") + , m_j5(*this, "J5") { } required_device<cpu_device> m_maincpu; |