trunk/src/mess/drivers/atari400.c
| r32047 | r32048 | |
| 46 | 46 | #include "sound/pokey.h" |
| 47 | 47 | #include "includes/atari.h" |
| 48 | 48 | #include "machine/atarifdc.h" |
| 49 | | #include "video/gtia.h" |
| 50 | 49 | #include "bus/a800/a800_slot.h" |
| 51 | 50 | #include "bus/a800/a800_carts.h" |
| 52 | 51 | |
| r32047 | r32048 | |
| 287 | 286 | DECLARE_READ8_MEMBER(xegs_high_r); |
| 288 | 287 | DECLARE_WRITE8_MEMBER(xegs_high_w); |
| 289 | 288 | |
| 289 | TIMER_DEVICE_CALLBACK_MEMBER(a400_interrupt); |
| 290 | TIMER_DEVICE_CALLBACK_MEMBER(a800xl_interrupt); |
| 291 | TIMER_DEVICE_CALLBACK_MEMBER(a5200_interrupt); |
| 292 | |
| 290 | 293 | protected: |
| 291 | 294 | required_device<cpu_device> m_maincpu; |
| 292 | 295 | required_device<ram_device> m_ram; |
| r32047 | r32048 | |
| 663 | 666 | |
| 664 | 667 | PORT_START("djoy_b") |
| 665 | 668 | PORT_BIT(0x01, 0x01, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(1) |
| 666 | | PORT_BIT(0x02, 0x02, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(2) |
| 669 | PORT_BIT(0x02, 0x02, IPT_BUTTON1) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(2) |
| 667 | 670 | PORT_BIT(0x04, 0x04, IPT_UNUSED) |
| 668 | 671 | PORT_BIT(0x08, 0x08, IPT_UNUSED) |
| 669 | | PORT_BIT(0x10, 0x10, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(1) |
| 670 | | PORT_BIT(0x20, 0x20, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(2) |
| 672 | PORT_BIT(0x10, 0x10, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(1) |
| 673 | PORT_BIT(0x20, 0x20, IPT_BUTTON2) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(2) |
| 671 | 674 | PORT_BIT(0x40, 0x40, IPT_UNUSED) |
| 672 | 675 | PORT_BIT(0x80, 0x80, IPT_UNUSED) |
| 673 | 676 | INPUT_PORTS_END |
| r32047 | r32048 | |
| 697 | 700 | |
| 698 | 701 | PORT_START("djoy_b") |
| 699 | 702 | PORT_BIT(0x01, 0x01, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(1) |
| 700 | | PORT_BIT(0x02, 0x02, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(2) |
| 701 | | PORT_BIT(0x04, 0x04, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON3) PORT_PLAYER(3) |
| 702 | | PORT_BIT(0x08, 0x08, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON4) PORT_PLAYER(4) |
| 703 | | PORT_BIT(0x10, 0x10, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(1) |
| 703 | PORT_BIT(0x02, 0x02, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(2) |
| 704 | PORT_BIT(0x04, 0x04, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(3) |
| 705 | PORT_BIT(0x08, 0x08, IPT_BUTTON1) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(4) |
| 706 | PORT_BIT(0x10, 0x10, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(1) |
| 704 | 707 | PORT_BIT(0x20, 0x20, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(2) |
| 705 | | PORT_BIT(0x40, 0x40, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON3) PORT_PLAYER(3) |
| 706 | | PORT_BIT(0x80, 0x80, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON4) PORT_PLAYER(4) |
| 708 | PORT_BIT(0x40, 0x40, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(3) |
| 709 | PORT_BIT(0x80, 0x80, IPT_BUTTON2) PORT_CODE(KEYCODE_DEL_PAD) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(4) |
| 707 | 710 | INPUT_PORTS_END |
| 708 | 711 | |
| 709 | 712 | |
| r32047 | r32048 | |
| 1927 | 1930 | } |
| 1928 | 1931 | |
| 1929 | 1932 | |
| 1933 | TIMER_DEVICE_CALLBACK_MEMBER( a400_state::a400_interrupt ) |
| 1934 | { |
| 1935 | m_antic->generic_interrupt(4); |
| 1936 | } |
| 1937 | |
| 1938 | TIMER_DEVICE_CALLBACK_MEMBER( a400_state::a800xl_interrupt ) |
| 1939 | { |
| 1940 | m_antic->generic_interrupt(2); |
| 1941 | } |
| 1942 | |
| 1943 | TIMER_DEVICE_CALLBACK_MEMBER( a400_state::a5200_interrupt ) |
| 1944 | { |
| 1945 | m_antic->generic_interrupt(4); |
| 1946 | } |
| 1947 | |
| 1930 | 1948 | MACHINE_RESET_MEMBER( a400_state, a400 ) |
| 1931 | 1949 | { |
| 1932 | 1950 | pokey_device *pokey = machine().device<pokey_device>("pokey"); |
| r32047 | r32048 | |
| 2103 | 2121 | |
| 2104 | 2122 | MCFG_CPU_MODIFY( "maincpu" ) |
| 2105 | 2123 | MCFG_CPU_PROGRAM_MAP(a400_mem) |
| 2106 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a400_interrupt, "screen", 0, 1) |
| 2124 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", a400_state, a400_interrupt, "screen", 0, 1) |
| 2107 | 2125 | |
| 2108 | 2126 | MCFG_MACHINE_START_OVERRIDE( a400_state, a400 ) |
| 2109 | 2127 | |
| r32047 | r32048 | |
| 2118 | 2136 | |
| 2119 | 2137 | MCFG_CPU_MODIFY( "maincpu" ) |
| 2120 | 2138 | MCFG_CPU_PROGRAM_MAP(a400_mem) |
| 2121 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a400_interrupt, "screen", 0, 1) |
| 2139 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", a400_state, a400_interrupt, "screen", 0, 1) |
| 2122 | 2140 | |
| 2123 | 2141 | MCFG_MACHINE_START_OVERRIDE( a400_state, a400 ) |
| 2124 | 2142 | |
| r32047 | r32048 | |
| 2133 | 2151 | |
| 2134 | 2152 | MCFG_CPU_MODIFY( "maincpu" ) |
| 2135 | 2153 | MCFG_CPU_PROGRAM_MAP(a400_mem) |
| 2136 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a800_interrupt, "screen", 0, 1) |
| 2154 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", a400_state, a400_interrupt, "screen", 0, 1) |
| 2137 | 2155 | |
| 2138 | 2156 | MCFG_MACHINE_START_OVERRIDE( a400_state, a800 ) |
| 2139 | 2157 | |
| r32047 | r32048 | |
| 2150 | 2168 | |
| 2151 | 2169 | MCFG_CPU_MODIFY( "maincpu" ) |
| 2152 | 2170 | MCFG_CPU_PROGRAM_MAP(a400_mem) |
| 2153 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a800_interrupt, "screen", 0, 1) |
| 2171 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", a400_state, a400_interrupt, "screen", 0, 1) |
| 2154 | 2172 | |
| 2155 | 2173 | MCFG_MACHINE_START_OVERRIDE( a400_state, a800 ) |
| 2156 | 2174 | |
| r32047 | r32048 | |
| 2167 | 2185 | |
| 2168 | 2186 | MCFG_CPU_MODIFY( "maincpu" ) |
| 2169 | 2187 | MCFG_CPU_PROGRAM_MAP(a600xl_mem) |
| 2170 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a800xl_interrupt, "screen", 0, 1) |
| 2188 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", a400_state, a800xl_interrupt, "screen", 0, 1) |
| 2171 | 2189 | |
| 2172 | 2190 | MCFG_DEVICE_MODIFY("pia") |
| 2173 | 2191 | MCFG_PIA_WRITEPB_HANDLER(WRITE8(a400_state, a600xl_pia_pb_w)) |
| r32047 | r32048 | |
| 2188 | 2206 | |
| 2189 | 2207 | MCFG_CPU_MODIFY( "maincpu" ) |
| 2190 | 2208 | MCFG_CPU_PROGRAM_MAP(a800xl_mem) |
| 2191 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a800xl_interrupt, "screen", 0, 1) |
| 2209 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", a400_state, a800xl_interrupt, "screen", 0, 1) |
| 2192 | 2210 | |
| 2193 | 2211 | MCFG_DEVICE_MODIFY("pia") |
| 2194 | 2212 | MCFG_PIA_WRITEPB_HANDLER(WRITE8(a400_state, a800xl_pia_pb_w)) |
| r32047 | r32048 | |
| 2259 | 2277 | |
| 2260 | 2278 | MCFG_CPU_MODIFY( "maincpu" ) |
| 2261 | 2279 | MCFG_CPU_PROGRAM_MAP(a5200_mem) |
| 2262 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a5200_interrupt, "screen", 0, 1) |
| 2280 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", a400_state, a5200_interrupt, "screen", 0, 1) |
| 2263 | 2281 | |
| 2264 | 2282 | // FIXME: should there be anything connected where other system have the fdc? |
| 2265 | 2283 | MCFG_SOUND_MODIFY("pokey") |
trunk/src/mame/video/antic.c
| r32047 | r32048 | |
| 25 | 25 | |
| 26 | 26 | antic_device::antic_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : |
| 27 | 27 | device_t(mconfig, ATARI_ANTIC, "Atari ANTIC", tag, owner, clock, "antic", __FILE__), |
| 28 | | m_gtia_tag(NULL) |
| 28 | m_gtia_tag(NULL), |
| 29 | m_tv_artifacts(0), |
| 30 | m_render1(0), |
| 31 | m_render2(0), |
| 32 | m_render3(0), |
| 33 | m_cmd(0), |
| 34 | m_steal_cycles(0), |
| 35 | m_vscrol_old(0), |
| 36 | m_hscrol_old(0), |
| 37 | m_modelines(0), |
| 38 | m_chbase(0), |
| 39 | m_chand(0), |
| 40 | m_chxor(0), |
| 41 | m_scanline(0), |
| 42 | m_pfwidth(0), |
| 43 | m_dpage(0), |
| 44 | m_doffs(0), |
| 45 | m_vpage(0), |
| 46 | m_voffs(0), |
| 47 | m_pmbase_s(0), |
| 48 | m_pmbase_d(0) |
| 29 | 49 | { |
| 30 | 50 | } |
| 31 | 51 | |
| r32047 | r32048 | |
| 38 | 58 | { |
| 39 | 59 | m_gtia = machine().device<gtia_device>(m_gtia_tag); |
| 40 | 60 | assert(m_gtia); |
| 41 | | |
| 42 | | /* save states */ |
| 43 | | save_pointer(NAME((UINT8 *) &m_r), sizeof(m_r)); |
| 44 | | save_pointer(NAME((UINT8 *) &m_w), sizeof(m_w)); |
| 45 | 61 | |
| 46 | 62 | m_bitmap = auto_bitmap_ind16_alloc(machine(), machine().first_screen()->width(), machine().first_screen()->height()); |
| 47 | 63 | |
| 48 | | m_cclk_expand = auto_alloc_array(machine(), UINT32, 21 * 256); |
| 64 | m_cclk_expand = auto_alloc_array_clear(machine(), UINT32, 21 * 256); |
| 49 | 65 | |
| 50 | 66 | m_pf_21 = &m_cclk_expand[ 0 * 256]; |
| 51 | 67 | m_pf_x10b = &m_cclk_expand[ 1 * 256]; |
| r32047 | r32048 | |
| 75 | 91 | cclk_init(); |
| 76 | 92 | |
| 77 | 93 | for (int i = 0; i < 64; i++) |
| 78 | | m_prio_table[i] = auto_alloc_array(machine(), UINT8, 8*256); |
| 94 | m_prio_table[i] = auto_alloc_array_clear(machine(), UINT8, 8*256); |
| 79 | 95 | |
| 80 | 96 | LOG(("atari prio_init\n")); |
| 81 | 97 | prio_init(); |
| 82 | 98 | |
| 83 | 99 | for (int i = 0; i < machine().first_screen()->height(); i++) |
| 84 | 100 | m_video[i] = auto_alloc_clear(machine(), VIDEO); |
| 101 | |
| 102 | /* save states */ |
| 103 | save_pointer(NAME((UINT8 *) &m_r), sizeof(m_r)); |
| 104 | save_pointer(NAME((UINT8 *) &m_w), sizeof(m_w)); |
| 105 | // TODO: save VIDEO items |
| 106 | |
| 107 | save_item(NAME(m_tv_artifacts)); |
| 108 | save_item(NAME(m_render1)); |
| 109 | save_item(NAME(m_render2)); |
| 110 | save_item(NAME(m_render3)); |
| 111 | save_item(NAME(m_cmd)); |
| 112 | save_item(NAME(m_steal_cycles)); |
| 113 | save_item(NAME(m_vscrol_old)); |
| 114 | save_item(NAME(m_hscrol_old)); |
| 115 | save_item(NAME(m_modelines)); |
| 116 | save_item(NAME(m_chbase)); |
| 117 | save_item(NAME(m_chand)); |
| 118 | save_item(NAME(m_chxor)); |
| 119 | save_item(NAME(m_scanline)); |
| 120 | save_item(NAME(m_pfwidth)); |
| 121 | save_item(NAME(m_dpage)); |
| 122 | save_item(NAME(m_doffs)); |
| 123 | save_item(NAME(m_vpage)); |
| 124 | save_item(NAME(m_voffs)); |
| 125 | save_item(NAME(m_pmbase_s)); |
| 126 | save_item(NAME(m_pmbase_d)); |
| 127 | save_item(NAME(m_cclock)); |
| 128 | save_item(NAME(m_pmbits)); |
| 129 | |
| 130 | save_pointer(NAME(m_cclk_expand), 21 * 256); |
| 131 | save_pointer(NAME(m_used_colors), 21 * 256); |
| 85 | 132 | } |
| 86 | 133 | |
| 87 | 134 | |
| r32047 | r32048 | |
| 109 | 156 | m_r.penv = 0x00; |
| 110 | 157 | m_r.antic0e = 0xff; |
| 111 | 158 | m_r.nmist = 0x1f; |
| 112 | | |
| 113 | | m_render1 = 0; |
| 114 | | m_render2 = 0; |
| 115 | | m_render3 = 0; |
| 116 | | m_tv_artifacts = 0; |
| 159 | |
| 160 | memset(m_cclock, 0, sizeof(m_cclock)); |
| 161 | memset(m_pmbits, 0, sizeof(m_pmbits)); |
| 117 | 162 | } |
| 118 | 163 | |
| 119 | 164 | |
trunk/src/mame/video/gtia.c
| r32047 | r32048 | |
| 161 | 161 | save_item(NAME(m_r.gtia1d)); |
| 162 | 162 | save_item(NAME(m_r.gtia1e)); |
| 163 | 163 | save_item(NAME(m_r.cons)); |
| 164 | |
| 164 | 165 | save_item(NAME(m_w.hposp0)); |
| 165 | 166 | save_item(NAME(m_w.hposp1)); |
| 166 | 167 | save_item(NAME(m_w.hposp2)); |
| r32047 | r32048 | |
| 194 | 195 | save_item(NAME(m_w.hitclr)); |
| 195 | 196 | save_item(NAME(m_w.cons)); |
| 196 | 197 | |
| 198 | save_item(NAME(m_h.grafp0)); |
| 199 | save_item(NAME(m_h.grafp1)); |
| 200 | save_item(NAME(m_h.grafp2)); |
| 201 | save_item(NAME(m_h.grafp3)); |
| 202 | save_item(NAME(m_h.grafm0)); |
| 203 | save_item(NAME(m_h.grafm1)); |
| 204 | save_item(NAME(m_h.grafm2)); |
| 205 | save_item(NAME(m_h.grafm3)); |
| 206 | save_item(NAME(m_h.hitclr_frames)); |
| 207 | save_item(NAME(m_h.sizem)); |
| 208 | save_item(NAME(m_h.usedp)); |
| 209 | save_item(NAME(m_h.usedm0)); |
| 210 | save_item(NAME(m_h.usedm1)); |
| 211 | save_item(NAME(m_h.usedm2)); |
| 212 | save_item(NAME(m_h.usedm3)); |
| 213 | save_item(NAME(m_h.vdelay_m0)); |
| 214 | save_item(NAME(m_h.vdelay_m1)); |
| 215 | save_item(NAME(m_h.vdelay_m2)); |
| 216 | save_item(NAME(m_h.vdelay_m3)); |
| 217 | save_item(NAME(m_h.vdelay_p0)); |
| 218 | save_item(NAME(m_h.vdelay_p1)); |
| 219 | save_item(NAME(m_h.vdelay_p2)); |
| 220 | save_item(NAME(m_h.vdelay_p3)); |
| 221 | |
| 197 | 222 | save_item(NAME(m_lumpf1)); |
| 198 | 223 | save_item(NAME(m_huepm0)); |
| 199 | 224 | save_item(NAME(m_huepm1)); |
| r32047 | r32048 | |
| 203 | 228 | save_item(NAME(m_huepf2)); |
| 204 | 229 | save_item(NAME(m_huebk)); |
| 205 | 230 | |
| 231 | save_item(NAME(m_color_lookup)); |
| 232 | |
| 206 | 233 | machine().save().register_postload(save_prepost_delegate(FUNC(gtia_device::gtia_postload), this)); |
| 207 | 234 | } |
| 208 | 235 | |
| r32047 | r32048 | |
| 217 | 244 | for (int i = 0; i < 32; i++) |
| 218 | 245 | write(machine().driver_data()->generic_space(), i, 0); |
| 219 | 246 | memset(&m_r, 0, sizeof(m_r)); |
| 247 | memset(&m_h, 0, sizeof(m_h)); |
| 248 | memset(m_color_lookup, 0, sizeof(m_color_lookup)); |
| 249 | |
| 220 | 250 | if (is_ntsc()) |
| 221 | 251 | m_r.pal = 0xff; |
| 222 | 252 | else |
trunk/src/mame/drivers/bartop52.c
| r32047 | r32048 | |
| 30 | 30 | : atari_common_state(mconfig, type, tag), |
| 31 | 31 | m_maincpu(*this, "maincpu") { } |
| 32 | 32 | |
| 33 | TIMER_DEVICE_CALLBACK_MEMBER( bartop_interrupt ); |
| 34 | |
| 33 | 35 | virtual void machine_reset(); |
| 34 | 36 | required_device<cpu_device> m_maincpu; |
| 35 | 37 | }; |
| r32047 | r32048 | |
| 48 | 50 | #define JOYSTICK_SENSITIVITY 200 |
| 49 | 51 | |
| 50 | 52 | static INPUT_PORTS_START(bartop52) |
| 51 | | PORT_START("djoy_b") /* IN3 digital joystick buttons (GTIA button bits) */ |
| 53 | PORT_START("djoy_b") |
| 52 | 54 | PORT_BIT(0x01, 0x01, IPT_BUTTON1) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(1) |
| 53 | | PORT_BIT(0x02, 0x02, IPT_BUTTON1) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(2) |
| 55 | PORT_BIT(0x02, 0x02, IPT_BUTTON1) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(2) |
| 54 | 56 | PORT_BIT(0x04, 0x04, IPT_UNUSED) |
| 55 | 57 | PORT_BIT(0x08, 0x08, IPT_UNUSED) |
| 56 | | PORT_BIT(0x10, 0x10, IPT_BUTTON2) PORT_CODE(JOYCODE_BUTTON1) PORT_PLAYER(1) |
| 58 | PORT_BIT(0x10, 0x10, IPT_BUTTON2) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(1) |
| 57 | 59 | PORT_BIT(0x20, 0x20, IPT_BUTTON2) PORT_CODE(JOYCODE_BUTTON2) PORT_PLAYER(2) |
| 58 | 60 | PORT_BIT(0x40, 0x40, IPT_UNUSED) |
| 59 | 61 | PORT_BIT(0x80, 0x80, IPT_UNUSED) |
| r32047 | r32048 | |
| 107 | 109 | pokey->write(15,0); |
| 108 | 110 | } |
| 109 | 111 | |
| 112 | TIMER_DEVICE_CALLBACK_MEMBER( bartop52_state::bartop_interrupt ) |
| 113 | { |
| 114 | m_antic->generic_interrupt(4); |
| 115 | } |
| 110 | 116 | |
| 111 | 117 | static MACHINE_CONFIG_START( a5200, bartop52_state ) |
| 112 | 118 | /* basic machine hardware */ |
| 113 | 119 | MCFG_CPU_ADD("maincpu", M6502, FREQ_17_EXACT) |
| 114 | 120 | MCFG_CPU_PROGRAM_MAP(a5200_mem) |
| 115 | | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", atari_common_state, a5200_interrupt, "screen", 0, 1) |
| 121 | MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", bartop52_state, bartop_interrupt, "screen", 0, 1) |
| 116 | 122 | |
| 117 | 123 | MCFG_DEVICE_ADD("gtia", ATARI_GTIA, 0) |
| 118 | 124 | |