Added entry points for ANSI C
This commit is contained in:
17
mach/pmds/libsys/_pipe.s
Normal file
17
mach/pmds/libsys/_pipe.s
Normal file
@@ -0,0 +1,17 @@
|
||||
.define __pipe
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern __pipe
|
||||
__pipe: trap #0
|
||||
.data2 0x2A
|
||||
bcc 1f
|
||||
jmp cerror
|
||||
1:
|
||||
move.l 4(sp),a0
|
||||
move.w d0,(a0)+
|
||||
move.w d1,(a0)
|
||||
clr.l d0
|
||||
rts
|
||||
Reference in New Issue
Block a user