Initial revision
This commit is contained in:
12
mach/m68k2/libsys/wait.s
Normal file
12
mach/m68k2/libsys/wait.s
Normal file
@@ -0,0 +1,12 @@
|
||||
.define _wait
|
||||
.extern _wait
|
||||
_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
|
||||
Reference in New Issue
Block a user