trunk/src/mess/machine/a2arcadebd.c
r18102 | r18103 | |
3 | 3 | a2arcadeboard.c |
4 | 4 | |
5 | 5 | Implementation of the Third Millenium Engineering Arcade Board |
6 | | |
| 6 | |
| 7 | TODO: |
| 8 | - VDPTEST program seems to want more than 16K of RAM, but docs/ads/press releases say 16k, period |
| 9 | - MLDEMO program needs vsync IRQ from the TMS but doesn't program the registers the way our emulation |
| 10 | wants to enable IRQs |
| 11 | |
7 | 12 | *********************************************************************/ |
8 | 13 | |
9 | 14 | #include "emu.h" |
r18102 | r18103 | |
35 | 40 | { |
36 | 41 | SCREEN_TAG, |
37 | 42 | 0x4000, // 16k of VRAM |
38 | | DEVCB_NULL // VBL interrupt |
| 43 | DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, a2bus_arcboard_device, tms_irq_w) |
39 | 44 | }; |
40 | 45 | |
41 | 46 | MACHINE_CONFIG_FRAGMENT( arcadeboard ) |
r18102 | r18103 | |
143 | 148 | break; |
144 | 149 | } |
145 | 150 | } |
| 151 | |
| 152 | WRITE_LINE_MEMBER( a2bus_arcboard_device::tms_irq_w ) |
| 153 | { |
| 154 | if (state) |
| 155 | { |
| 156 | raise_slot_irq(); |
| 157 | } |
| 158 | else |
| 159 | { |
| 160 | lower_slot_irq(); |
| 161 | } |
| 162 | } |
| 163 | |