diff options
author | Olivier Galibert <galibert@pobox.com> | 2019-04-04 07:36:51 +0200 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2019-04-05 00:00:58 +0200 |
commit | e39802db90860d6628c35265f7c78ce3534f5a53 (patch) | |
tree | 796f3fb6524361b61bad36530f3c56e027db57b9 /src/mame/drivers/djboy.cpp | |
parent | b54a2a517cdd8d9b9ba0456c54c0cced7dd794fc (diff) |
68000: Rework interrupt handling [O. Galibert]
* Implement the cpu space as an address space
* Make all vectored interrupts use the cpu space
* Make it possible to direct the cpu space to another space, use it for amiga (which handles it as a normal AS_PROGRAM read)
* Make it possible to disable the priority muxer and get 3 lines instead, use it for cps2
Diffstat (limited to 'src/mame/drivers/djboy.cpp')
-rw-r--r-- | src/mame/drivers/djboy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/djboy.cpp b/src/mame/drivers/djboy.cpp index c6e8dcdcea1..34a2212fb1b 100644 --- a/src/mame/drivers/djboy.cpp +++ b/src/mame/drivers/djboy.cpp @@ -441,11 +441,11 @@ TIMER_DEVICE_CALLBACK_MEMBER(djboy_state::djboy_scanline) int scanline = param; if(scanline == 240) // vblank-out irq - m_mastercpu->set_input_line_and_vector(0, HOLD_LINE, 0xfd); + m_mastercpu->set_input_line_and_vector(0, HOLD_LINE, 0xfd); // Z80 /* Pandora "sprite end dma" irq? TODO: timing is clearly off, attract mode relies on this */ if(scanline == 64) - m_mastercpu->set_input_line_and_vector(0, HOLD_LINE, 0xff); + m_mastercpu->set_input_line_and_vector(0, HOLD_LINE, 0xff); // Z80 } void djboy_state::machine_start() |