Previous 199869 Revisions Next

r18103 Sunday 23rd September, 2012 at 22:41:22 UTC by R. Belmont
Board works with some demo programs now (nw)
[src/mess/machine]a2arcadebd.c a2arcadebd.h

trunk/src/mess/machine/a2arcadebd.c
r18102r18103
33    a2arcadeboard.c
44
55    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 
712*********************************************************************/
813
914#include "emu.h"
r18102r18103
3540{
3641   SCREEN_TAG,
3742   0x4000,         // 16k of VRAM
38   DEVCB_NULL      // VBL interrupt
43    DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, a2bus_arcboard_device, tms_irq_w)
3944};
4045
4146MACHINE_CONFIG_FRAGMENT( arcadeboard )
r18102r18103
143148            break;
144149    }       
145150}
151
152WRITE_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
trunk/src/mess/machine/a2arcadebd.h
r18102r18103
3030    // optional information overrides
3131    virtual machine_config_constructor device_mconfig_additions() const;
3232
33    DECLARE_WRITE_LINE_MEMBER( tms_irq_w );
34
3335protected:
3436    virtual void device_start();
3537    virtual void device_reset();

Previous 199869 Revisions Next


© 1997-2024 The MAME Team