mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Board works with some demo programs now (nw)
This commit is contained in:
parent
8f1a1a9bdc
commit
3a74e392d0
@ -3,7 +3,12 @@
|
||||
a2arcadeboard.c
|
||||
|
||||
Implementation of the Third Millenium Engineering Arcade Board
|
||||
|
||||
|
||||
TODO:
|
||||
- VDPTEST program seems to want more than 16K of RAM, but docs/ads/press releases say 16k, period
|
||||
- MLDEMO program needs vsync IRQ from the TMS but doesn't program the registers the way our emulation
|
||||
wants to enable IRQs
|
||||
|
||||
*********************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
@ -35,7 +40,7 @@ static TMS9928A_INTERFACE(arcadeboard_tms9918a_interface)
|
||||
{
|
||||
SCREEN_TAG,
|
||||
0x4000, // 16k of VRAM
|
||||
DEVCB_NULL // VBL interrupt
|
||||
DEVCB_DEVICE_LINE_MEMBER(DEVICE_SELF_OWNER, a2bus_arcboard_device, tms_irq_w)
|
||||
};
|
||||
|
||||
MACHINE_CONFIG_FRAGMENT( arcadeboard )
|
||||
@ -143,3 +148,16 @@ void a2bus_arcboard_device::write_c0nx(address_space &space, UINT8 offset, UINT8
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER( a2bus_arcboard_device::tms_irq_w )
|
||||
{
|
||||
if (state)
|
||||
{
|
||||
raise_slot_irq();
|
||||
}
|
||||
else
|
||||
{
|
||||
lower_slot_irq();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -30,6 +30,8 @@ public:
|
||||
// optional information overrides
|
||||
virtual machine_config_constructor device_mconfig_additions() const;
|
||||
|
||||
DECLARE_WRITE_LINE_MEMBER( tms_irq_w );
|
||||
|
||||
protected:
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
|
Loading…
Reference in New Issue
Block a user