1984-12-14 15:52:15 +00:00
|
|
|
.define _wait
|
1985-06-04 11:18:09 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
1984-12-14 15:52:15 +00:00
|
|
|
.extern _wait
|
1985-07-19 13:43:03 +00:00
|
|
|
.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
|
|
|
|
move.w d1,(a0)
|
|
|
|
1:
|
|
|
|
rts
|