> On 28.04.2016 16:04, Alan Cox wrote: >> >> For the #2 case you can't do the ei because on many platforms (eg MSX) >> you'll immediately take another interrupt and execute nothing but >> >> ei >> push af >> irq entry >> ei >> push af >> irq entry >> >> until you crash. > > Ah, yes. Level-triggered interrupts. So I guess I'll just drop support > for 2) for the z80 and z180 backends. > We can keep it for the tlcs90, r2k and r3ka, which use edge-triggered > interrupts. Anyone know about gbz80? > > Philipp
It seems the gameboy has no NMI. And also that it does enable interrupts on RETI. See http://gameboy.mongenel.com/dmg/opcodes.html http://marc.rawer.de/Gameboy/Docs/GBCPUman.pdf Maarten ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user