1984-12-14 15:52:15 +00:00
|
|
|
.define _wait
|
|
|
|
.extern _wait
|
1986-07-22 13:23:14 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
|
|
|
.sect .text
|
1984-12-14 15:52:15 +00:00
|
|
|
_wait: move.w #0x7,d0
|
|
|
|
move.l 4(sp),a0
|
|
|
|
trap #0
|
|
|
|
bcs cerror
|
|
|
|
tst.l 4(sp)
|
|
|
|
beq 1f
|
|
|
|
move.l 4(sp),a0
|
1985-03-04 17:26:31 +00:00
|
|
|
move.l d1,(a0)
|
1984-12-14 15:52:15 +00:00
|
|
|
1:
|
|
|
|
rts
|