--- xmil/z80x/z80x_sb.x86 2004/08/01 05:31:32 1.1 +++ xmil/z80x/z80x_sb.x86 2004/08/15 17:51:53 1.4 @@ -15,6 +15,10 @@ section .text extern @iocore_out@8 extern @iocore_inp@4 extern _ZSPtable + extern memfetch + extern _cycles_main + extern opcode_main + extern _ievent_eoi align 16 @@ -31,11 +35,11 @@ im_2: mov byte [edi + R_Z80IM], 2 align 16 -_retn: and byte [edi + R_Z80IFF], ~((1 << IFF_NMI) | (1 << IFF_IRQ)) +_retn: and byte [edi + R_Z80IFF], ~(1 << IFF_NMI) MRET align 16 -_reti: and byte [edi + R_Z80IFF], ~(1 << IFF_IRQ) +_reti: call _ievent_eoi MRET align 16