diff options
Diffstat (limited to 'src/mame/drivers/majorpkr.cpp')
-rw-r--r-- | src/mame/drivers/majorpkr.cpp | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/mame/drivers/majorpkr.cpp b/src/mame/drivers/majorpkr.cpp index 8930ad58fd4..12b871bd641 100644 --- a/src/mame/drivers/majorpkr.cpp +++ b/src/mame/drivers/majorpkr.cpp @@ -449,20 +449,26 @@ **********************************************************************************/ -#define MASTER_CLOCK XTAL_12MHz -#define CPU_CLOCK (MASTER_CLOCK / 2) // 6 MHz, measured. -#define OKI_CLOCK (MASTER_CLOCK / 8) // 1.5 MHz, measured. -#define CRTC_CLOCK (MASTER_CLOCK / 16) // 750 kHz, measured. - #include "emu.h" + #include "cpu/z80/z80.h" -#include "video/mc6845.h" -#include "sound/okim6295.h" #include "machine/bankdev.h" #include "machine/nvram.h" +#include "sound/okim6295.h" +#include "video/mc6845.h" + +#include "screen.h" +#include "speaker.h" + #include "majorpkr.lh" +#define MASTER_CLOCK XTAL_12MHz +#define CPU_CLOCK (MASTER_CLOCK / 2) // 6 MHz, measured. +#define OKI_CLOCK (MASTER_CLOCK / 8) // 1.5 MHz, measured. +#define CRTC_CLOCK (MASTER_CLOCK / 16) // 750 kHz, measured. + + class majorpkr_state : public driver_device { public: |