diff options
Diffstat (limited to 'src/mess/includes/abc80.h')
-rw-r--r-- | src/mess/includes/abc80.h | 104 |
1 files changed, 52 insertions, 52 deletions
diff --git a/src/mess/includes/abc80.h b/src/mess/includes/abc80.h index 8c8f0b8bf4d..6f5ecd72f06 100644 --- a/src/mess/includes/abc80.h +++ b/src/mess/includes/abc80.h @@ -22,58 +22,58 @@ #include "machine/z80pio.h" #include "sound/sn76477.h" -#define ABC80_HTOTAL 384 -#define ABC80_HBEND 35 -#define ABC80_HBSTART 384 -#define ABC80_VTOTAL 312 -#define ABC80_VBEND 15 -#define ABC80_VBSTART 312 - -#define ABC80_K5_HSYNC 0x01 -#define ABC80_K5_DH 0x02 -#define ABC80_K5_LINE_END 0x04 -#define ABC80_K5_ROW_START 0x08 - -#define ABC80_K2_VSYNC 0x01 -#define ABC80_K2_DV 0x02 -#define ABC80_K2_FRAME_END 0x04 -#define ABC80_K2_FRAME_RESET 0x08 - -#define ABC80_J3_BLANK 0x01 -#define ABC80_J3_TEXT 0x02 -#define ABC80_J3_GRAPHICS 0x04 -#define ABC80_J3_VERSAL 0x08 - -#define ABC80_E7_VIDEO_RAM 0x01 -#define ABC80_E7_INT_RAM 0x02 -#define ABC80_E7_31K_EXT_RAM 0x04 -#define ABC80_E7_16K_INT_RAM 0x08 - -#define ABC80_CHAR_CURSOR 0x80 - -#define SCREEN_TAG "screen" -#define Z80_TAG "ab67" -#define Z80PIO_TAG "cd67" -#define SN76477_TAG "g8" -#define RS232_TAG "ser" -#define TIMER_CASSETTE_TAG "cass" +#define ABC80_HTOTAL 384 +#define ABC80_HBEND 35 +#define ABC80_HBSTART 384 +#define ABC80_VTOTAL 312 +#define ABC80_VBEND 15 +#define ABC80_VBSTART 312 + +#define ABC80_K5_HSYNC 0x01 +#define ABC80_K5_DH 0x02 +#define ABC80_K5_LINE_END 0x04 +#define ABC80_K5_ROW_START 0x08 + +#define ABC80_K2_VSYNC 0x01 +#define ABC80_K2_DV 0x02 +#define ABC80_K2_FRAME_END 0x04 +#define ABC80_K2_FRAME_RESET 0x08 + +#define ABC80_J3_BLANK 0x01 +#define ABC80_J3_TEXT 0x02 +#define ABC80_J3_GRAPHICS 0x04 +#define ABC80_J3_VERSAL 0x08 + +#define ABC80_E7_VIDEO_RAM 0x01 +#define ABC80_E7_INT_RAM 0x02 +#define ABC80_E7_31K_EXT_RAM 0x04 +#define ABC80_E7_16K_INT_RAM 0x08 + +#define ABC80_CHAR_CURSOR 0x80 + +#define SCREEN_TAG "screen" +#define Z80_TAG "ab67" +#define Z80PIO_TAG "cd67" +#define SN76477_TAG "g8" +#define RS232_TAG "ser" +#define TIMER_CASSETTE_TAG "cass" class abc80_state : public driver_device { public: abc80_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), - m_maincpu(*this, Z80_TAG), - m_pio(*this, Z80PIO_TAG), - m_psg(*this, SN76477_TAG), - m_cassette(*this, CASSETTE_TAG), - m_bus(*this, ABCBUS_TAG), - m_kb(*this, ABC80_KEYBOARD_TAG), - m_ram(*this, RAM_TAG), - m_rs232(*this, RS232_TAG), - m_video_ram(*this, "video_ram"), - m_tape_in(1), - m_tape_in_latch(1) + m_maincpu(*this, Z80_TAG), + m_pio(*this, Z80PIO_TAG), + m_psg(*this, SN76477_TAG), + m_cassette(*this, CASSETTE_TAG), + m_bus(*this, ABCBUS_TAG), + m_kb(*this, ABC80_KEYBOARD_TAG), + m_ram(*this, RAM_TAG), + m_rs232(*this, RS232_TAG), + m_video_ram(*this, "video_ram"), + m_tape_in(1), + m_tape_in_latch(1) { } required_device<cpu_device> m_maincpu; @@ -133,12 +133,12 @@ public: int m_tape_in_latch; // memory regions - const UINT8 *m_mmu_rom; // memory mapping ROM - const UINT8 *m_char_rom; // character generator ROM - const UINT8 *m_hsync_prom; // horizontal sync PROM - const UINT8 *m_vsync_prom; // horizontal sync PROM - const UINT8 *m_line_prom; // line address PROM - const UINT8 *m_attr_prom; // character attribute PROM + const UINT8 *m_mmu_rom; // memory mapping ROM + const UINT8 *m_char_rom; // character generator ROM + const UINT8 *m_hsync_prom; // horizontal sync PROM + const UINT8 *m_vsync_prom; // horizontal sync PROM + const UINT8 *m_line_prom; // line address PROM + const UINT8 *m_attr_prom; // character attribute PROM // timers emu_timer *m_pio_timer; |