Have fun!

DOS and MAME32 versions coming soon.
EDIT: I knew there was a reason I didn't upload these to ZTNet space.

Moderators: mahlemiut, seymour, QRS
It helps when you have the day off work.QRS wrote:Good job Barry! A really speedy update this time!
Code: Select all
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START1)
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START2 )
Code: Select all
PORT_BIT_IMPULSE( 0x0080, IP_ACTIVE_LOW, IPT_START1 , 1)
PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_BIT_IMPULSE( 0x8000, IP_ACTIVE_LOW, IPT_START2 , 1)
Code: Select all
static READ16_HANDLER(sys32_read_random)
{
// some totally bogus "random" algorithm
s32_rand = activecpu_gettotalcycles() % 0xf;
return s32_rand;
}
Code: Select all
MDRV_CPU_VBLANK_INT(irq1_line_hold,1)
Code: Select all
MDRV_CPU_VBLANK_INT(irq1_line_hold,2)
I was reading about that... and then something about stop whining? Bleh...mahlemiut wrote:An internal random number generator has been added to the MAME core now (check latest MAME WIP). Hopefully, it'll done in a way that won't break INP playback.
I'll add the fixes soon, along with Shiruru's CPS-2 fixes (which I ought to try out some time).