diff options
author | 2013-01-11 07:32:46 +0000 | |
---|---|---|
committer | 2013-01-11 07:32:46 +0000 | |
commit | 0e19f641d3186cdbf51f8ca857e2b07ab95779c2 (patch) | |
tree | 234109de1123b13f217494af4b3f8efad346d5cc /src/mess/includes/xerox820.h | |
parent | 111157ca09a9ff60fe4a9ba49173c315e94314fa (diff) |
Cleanups and version bumpmame0148
Diffstat (limited to 'src/mess/includes/xerox820.h')
-rw-r--r-- | src/mess/includes/xerox820.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/src/mess/includes/xerox820.h b/src/mess/includes/xerox820.h index 882a21a0645..c6915d0ca39 100644 --- a/src/mess/includes/xerox820.h +++ b/src/mess/includes/xerox820.h @@ -18,40 +18,40 @@ #include "sound/speaker.h" #include "sound/beep.h" -#define SCREEN_TAG "screen" - -#define Z80_TAG "u46" -#define Z80PIO_KB_TAG "u105" -#define Z80PIO_GP_TAG "u101" -#define Z80PIO_RD_TAG "u8" -#define Z80SIO_TAG "u96" -#define Z80CTC_TAG "u99" -#define FD1771_TAG "u109" -#define FD1797_TAG "u109" -#define COM8116_TAG "u76" -#define I8086_TAG "i8086" -#define SASIBUS_TAG "sasi" - -#define XEROX820_VIDEORAM_SIZE 0x1000 -#define XEROX820_VIDEORAM_MASK 0x0fff +#define SCREEN_TAG "screen" + +#define Z80_TAG "u46" +#define Z80PIO_KB_TAG "u105" +#define Z80PIO_GP_TAG "u101" +#define Z80PIO_RD_TAG "u8" +#define Z80SIO_TAG "u96" +#define Z80CTC_TAG "u99" +#define FD1771_TAG "u109" +#define FD1797_TAG "u109" +#define COM8116_TAG "u76" +#define I8086_TAG "i8086" +#define SASIBUS_TAG "sasi" + +#define XEROX820_VIDEORAM_SIZE 0x1000 +#define XEROX820_VIDEORAM_MASK 0x0fff class xerox820_state : public driver_device { public: xerox820_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), - m_maincpu(*this, Z80_TAG), - m_kbpio(*this, Z80PIO_KB_TAG), - m_ctc(*this, Z80CTC_TAG), - m_fdc(*this, FD1771_TAG), - m_ram(*this, RAM_TAG), - m_floppy0(*this, FD1771_TAG":0"), - m_floppy1(*this, FD1771_TAG":1"), - m_video_ram(*this, "video_ram"), - m_fdc_irq(0), - m_fdc_drq(0), - m_8n5(0), - m_400_460(0) + m_maincpu(*this, Z80_TAG), + m_kbpio(*this, Z80PIO_KB_TAG), + m_ctc(*this, Z80CTC_TAG), + m_fdc(*this, FD1771_TAG), + m_ram(*this, RAM_TAG), + m_floppy0(*this, FD1771_TAG":0"), + m_floppy1(*this, FD1771_TAG":1"), + m_video_ram(*this, "video_ram"), + m_fdc_irq(0), + m_fdc_drq(0), + m_8n5(0), + m_400_460(0) { } virtual void machine_start(); @@ -85,23 +85,23 @@ public: void fdc_drq_w(bool state); /* keyboard state */ - int m_keydata; /* keyboard data */ + int m_keydata; /* keyboard data */ /* video state */ - required_shared_ptr<UINT8> m_video_ram; /* video RAM */ - UINT8 *m_char_rom; /* character ROM */ - UINT8 m_scroll; /* vertical scroll */ + required_shared_ptr<UINT8> m_video_ram; /* video RAM */ + UINT8 *m_char_rom; /* character ROM */ + UINT8 m_scroll; /* vertical scroll */ UINT8 m_framecnt; - int m_ncset2; /* national character set */ - int m_vatt; /* X120 video attribute */ - int m_lowlite; /* low light attribute */ - int m_chrom; /* character ROM index */ + int m_ncset2; /* national character set */ + int m_vatt; /* X120 video attribute */ + int m_lowlite; /* low light attribute */ + int m_chrom; /* character ROM index */ /* floppy state */ - bool m_fdc_irq; /* interrupt request */ - bool m_fdc_drq; /* data request */ - int m_8n5; /* 5.25" / 8" drive select */ - int m_400_460; /* double sided disk detect */ + bool m_fdc_irq; /* interrupt request */ + bool m_fdc_drq; /* data request */ + int m_8n5; /* 5.25" / 8" drive select */ + int m_400_460; /* double sided disk detect */ TIMER_DEVICE_CALLBACK_MEMBER(xerox820_keyboard_tick); TIMER_DEVICE_CALLBACK_MEMBER(ctc_tick); @@ -112,7 +112,7 @@ class bigboard_state : public xerox820_state public: bigboard_state(const machine_config &mconfig, device_type type, const char *tag) : xerox820_state(mconfig, type, tag), - m_beeper(*this, BEEPER_TAG) + m_beeper(*this, BEEPER_TAG) { } required_device<beep_device> m_beeper; @@ -131,8 +131,8 @@ class xerox820ii_state : public xerox820_state public: xerox820ii_state(const machine_config &mconfig, device_type type, const char *tag) : xerox820_state(mconfig, type, tag), - m_speaker(*this, SPEAKER_TAG), - m_sasibus(*this, SASIBUS_TAG ":host") + m_speaker(*this, SPEAKER_TAG), + m_sasibus(*this, SASIBUS_TAG ":host") { } required_device<speaker_sound_device> m_speaker; |