|
Post by bjonte on Oct 27, 2018 17:55:55 GMT
How does VIC and CIA interrupts work in Z80 mode? If I would schedule an interrupt on 8502, switch to z80 and the interrupt triggers, what would happen? I read something about crashing but I’m not sure it can’t be dealt with somehow.
|
|
|
Post by jmpff3d on Oct 27, 2018 18:37:45 GMT
The other day, I submitted this : c-128.freeforums.net/thread/614/emulator-cycle-exactness-trial-timersHave a look at that and play with it, see if anything happens when you mess with enable/disable IRQs. Personally, when I switch to Z80, i automatically tend to disable VICII / CIA IRQs out of habit ... because paranoia, and also because my Z80 stuff typically isn't advanced enough to need IRQs there .... In the example above, the last thing I wanted was an IRQ hit when testing Z80 instruction (LDIR) time with CIA Timer-A. Cheers!
|
|
|
Post by remark on Oct 27, 2018 23:30:59 GMT
How does VIC and CIA interrupts work in Z80 mode? If I would schedule an interrupt on 8502, switch to z80 and the interrupt triggers, what would happen? I read something about crashing but I’m not sure it can’t be dealt with somehow. In this thread on comp.sys.cbm, it is described how Commodore did it in CP/M (way down the thread):
|
|
|
Post by bjonte on Oct 28, 2018 13:55:40 GMT
Great! Then it should work, albeit with some effort.
|
|