Initial revision

This commit is contained in:
bal 1985-04-18 15:14:37 +00:00
parent 928e341f16
commit d0e857ddb2
10 changed files with 80 additions and 0 deletions

6
mach/m68k2/libsys/acct.s Normal file
View file

@ -0,0 +1,6 @@
.define _acct
.extern _acct
.text
_acct: move.w #0x33,d0
move.l 4(sp),a0
jmp callc

View file

@ -0,0 +1,9 @@
.define _chown
.extern _chown
.text
_chown: move.w #0x10,d0
move.l 4(sp),a0
move.w 8(sp),d1
ext.l d1
move.w 10(sp),a1
jmp callc

6
mach/m68k2/libsys/dup.s Normal file
View file

@ -0,0 +1,6 @@
.define _dup
.extern _dup
.text
_dup: move.w #0x29,d0
move.w 4(sp),a0
jmp call

9
mach/m68k2/libsys/dup2.s Normal file
View file

@ -0,0 +1,9 @@
.define _dup2
.extern _dup2
.text
_dup2: move.w #0x29,d0
move.w 4(sp),a0
move.w 6(sp),d1
ext.l d1
add.l #0x40,a0
jmp call

View file

@ -0,0 +1,6 @@
.define _ftime
.extern _ftime
.text
_ftime: move.w #0x23,d0
move.l 4(sp),a0
jmp callc

6
mach/m68k2/libsys/lock.s Normal file
View file

@ -0,0 +1,6 @@
.define _lock
.extern _lock
.text
_lock: move.w #0x35,d0
move.w 4(sp),a0
jmp callc

13
mach/m68k2/libsys/pipe.s Normal file
View file

@ -0,0 +1,13 @@
.define _pipe
.extern _pipe
_pipe:
move.w #0x2A,d0
trap #0
bcc 1f
jmp cerror
1:
move.l 4(sp),a0
move.w d0,(a0)+
move.w d1,(a0)
clr.l d0
rts

View file

@ -0,0 +1,12 @@
.define _profil
.extern _profil
.text
_profil: move.w #0x2C,d0
move.l 4(sp),a0
move.w 8(sp),d1
ext.l d1
move.w 10(sp),a1
move.w 12(sp),d2
ext.l d2
trap #0
rts

View file

@ -0,0 +1,6 @@
.define _umask
.extern _umask
.text
_umask: move.w #0x3C,d0
move.w 4(sp),a0
jmp call

View file

@ -0,0 +1,7 @@
.define _utime
.extern _utime
.text
_utime: move.w #0x1E,d0
move.l 4(sp),a0
move.l 8(sp),d1
jmp callc