Exemplo n.º 1
0
INPUT_PORTS_END


void tms_interrupt(int state)
{
   m68901_int_gen(GPIP4);
}
Exemplo n.º 2
0
//  PORT_BITX( 0x1000, IP_ACTIVE_LOW, 0, "Unk2", KEYCODE_I,Y IP_JOY_NONE )
//  PORT_BITX( 0x2000, IP_ACTIVE_LOW, 0, "Blue Trigger", KEYCODE_H, IP_JOY_NONE )
//  PORT_BITX( 0x4000, IP_ACTIVE_LOW, 0, "Unkn3", KEYCODE_J, IP_JOY_NONE )
//  PORT_BITX( 0x8000, IP_ACTIVE_LOW, 0, "Yellow Trigger", KEYCODE_G, IP_JOY_NONE )
INPUT_PORTS_END


/*************************************
 *
 *  Worst 68901 Implementation Ever
 *
 *************************************/

static TIMER_CALLBACK( timera_int )
{
	timer_set(machine, ATTOTIME_IN_USEC(1000), NULL,0,timera_int);
	m68901_int_gen(machine, TMRA);
}
Exemplo n.º 3
0
static void timera_int(int param)
{
//      timer_set(TIME_IN_SEC(((m68901_base[0xf]>>8) & 0xff)* 200/M68901_CLK),0,timera_int);     // Set the timer again.
        timer_set(TIME_IN_USEC(1000),0,timera_int);     // Set the timer again.
        m68901_int_gen(TMRA);           // Fire an interrupt.
}
Exemplo n.º 4
0
void micro3d_vblank(void)
{
   m68901_int_gen(GPIP7);
}
Exemplo n.º 5
0
static TIMER_CALLBACK( timerd_int )
{
	timer_set(machine, ATTOTIME_IN_USEC(250), NULL,0,timerd_int);
	m68901_int_gen(machine, TMRD);           // Fire an interrupt.
}
Exemplo n.º 6
0
static INTERRUPT_GEN( micro3d_vblank )
{
	m68901_int_gen(device->machine, GPIP7);
}
Exemplo n.º 7
0
static void tms_interrupt(const device_config *device, int state)
{
	m68901_int_gen(device->machine, GPIP4);
}