rc702: fixed ctc interrupt.

This commit is contained in:
Robbbert 2016-10-14 11:36:55 +11:00
parent 624315291b
commit c90d42da63

View File

@ -13,12 +13,7 @@ ToDo:
- Everything
Issues:
- Floppy disc isn't being detected.
(bios 1 issues)
- Daisy chain:
- Hitting a key causes CTC to interrupt, even though CTC and PIO are not connected.
- After that, IRQ isn't released, causing the system to be stuck in a loop.
- Floppy disc error.
****************************************************************************************************************/
@ -353,6 +348,7 @@ static MACHINE_CONFIG_START( rc702, rc702_state )
MCFG_DEVICE_ADD("ctc1", Z80CTC, XTAL_8MHz / 2)
MCFG_Z80CTC_ZC0_CB(WRITELINE(rc702_state, zc0_w))
MCFG_Z80CTC_ZC1_CB(DEVWRITELINE("sio1", z80dart_device, rxtxcb_w))
MCFG_Z80CTC_INTR_CB(INPUTLINE("maincpu", INPUT_LINE_IRQ0))
MCFG_Z80DART_ADD("sio1", XTAL_8MHz / 2, 0, 0, 0, 0 )
MCFG_Z80DART_OUT_INT_CB(INPUTLINE("maincpu", INPUT_LINE_IRQ0))