Initial revision
This commit is contained in:
13
mach/m68k2/libsys/fork.s
Normal file
13
mach/m68k2/libsys/fork.s
Normal file
@@ -0,0 +1,13 @@
|
||||
.define _fork
|
||||
.extern _fork
|
||||
.text
|
||||
_fork: move.w #0x2,d0
|
||||
trap #0
|
||||
bra 1f
|
||||
bcc 2f
|
||||
jmp cerror
|
||||
1:
|
||||
!move.l d0,p_uid
|
||||
clr.l d0
|
||||
2:
|
||||
rts
|
||||
Reference in New Issue
Block a user