Previous 15994 Revisions Next

r8943 Sunday 29th August, 2010 at 22:01:10 UTC by Angelo Salese
[MZ-2500]: Added timer, fixes BASIC hangs and various other issues (Hover Attack start, Penguin Kun Wars BGMs etc.)
[src/mess/drivers]mz2500.c

src/mess/drivers/mz2500.c
r8942r8943
14401440
14411441/* PIT8253 Interface */
14421442
1443static WRITE_LINE_DEVICE_HANDLER( pit8253_clk1_irq )
1444{
1445   if(state)
1446      if(irq_mask[1])
1447         cputag_set_input_line_and_vector(device->machine, "maincpu", 0, HOLD_LINE,irq_vector[1]);
1448}
1449
14431450static const struct pit8253_config mz2500_pit8253_intf =
14441451{
14451452   {
14461453      {
14471454         31250,
14481455         DEVCB_NULL,
1449         DEVCB_LINE(pit8253_clk1_w)
1456         DEVCB_LINE(pit8253_clk1_irq)
14501457      },
14511458      {
14521459         0,

Previous 15994 Revisions Next


© 1998-2018 The MESS Team