2 #include "aros/m68k/asm.h"
6 .globl AROS_SLIB_ENTRY(WaitBlit,Graphics,38)
8 AROS_SLIB_ENTRY(WaitBlit,Graphics,38):
9 /* Blitter nasty set? Also simultaneous original DIP Agnus bug workaround. */
13 /* Already finished? Exit immediately. */
17 /* Set blitter nasty temporarily. */
18 move.w #0x8400,0xdff096
19 w2: /* Keep CPU out of the chipbus for few cycles. */
23 /* Clear blitter nasty. */
24 move.w #0x0400,0xdff096
28 /* Blitter nasty was already set, normal wait loop. */
31 /* Keep CPU out of the chipbus for few cycles. */