ack/mach/m68020/libsys
1990-01-22 10:34:50 +00:00
..
.distr Initial revision 1987-04-13 10:32:47 +00:00
_alarm.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_brk.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_close.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_creat.s forgot _dup() & _creat() 1990-01-22 10:34:50 +00:00
_dup.s forgot _dup() & _creat() 1990-01-22 10:34:50 +00:00
_dup2.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_execl.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_execve.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_exit.s Initial revision 1987-01-29 22:36:35 +00:00
_fork.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_ftime.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_getpid.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_gtty.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_ioctl.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_kill.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_link.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_lseek.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_open.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_pause.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_pipe.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_read.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_times.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_unlink.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_wait.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_write.s added new routines for ansi 1990-01-22 08:51:54 +00:00
_Xstat.c added new routines for ansi 1990-01-22 08:51:54 +00:00
access.s Initial revision 1987-01-29 22:36:35 +00:00
acct.s Initial revision 1987-01-29 22:36:35 +00:00
alarm.s Initial revision 1987-01-29 22:36:35 +00:00
brk.s Initial revision 1987-01-29 22:36:35 +00:00
call.s Initial revision 1987-01-29 22:36:35 +00:00
chdir.s Initial revision 1987-01-29 22:36:35 +00:00
chmod.s Initial revision 1987-01-29 22:36:35 +00:00
chown.s Initial revision 1987-01-29 22:36:35 +00:00
chroot.s Initial revision 1987-01-29 22:36:35 +00:00
cleanup.s Initial revision 1987-01-29 22:36:35 +00:00
close.s Initial revision 1987-01-29 22:36:35 +00:00
compmodule added -L flag 1988-07-13 18:32:06 +00:00
creat.s Initial revision 1987-01-29 22:36:35 +00:00
dup.s Initial revision 1987-01-29 22:36:35 +00:00
dup2.s corrected a syntax error 1988-04-20 15:28:26 +00:00
errno.s Initial revision 1987-01-29 22:36:35 +00:00
execl.s fixed some bugs 1987-11-02 14:23:38 +00:00
execle.c Initial revision 1987-04-13 17:10:33 +00:00
execv.c Initial revision 1987-04-13 17:10:33 +00:00
execve.s Initial revision 1987-01-29 22:36:35 +00:00
exit.s Initial revision 1987-01-29 22:36:35 +00:00
fcntl.s Initial revision 1987-01-29 22:36:35 +00:00
fork.s Initial revision 1987-01-29 22:36:35 +00:00
fstat.s added new routines for ansi 1990-01-22 08:51:54 +00:00
ftime.s Initial revision 1987-01-29 22:36:35 +00:00
getegid.s Initial revision 1987-01-29 22:36:35 +00:00
getgid.s Initial revision 1987-01-29 22:36:35 +00:00
getpid.s Initial revision 1987-01-29 22:36:35 +00:00
getuid.s Initial revision 1987-01-29 22:36:35 +00:00
gtty.s Initial revision 1987-01-29 22:36:35 +00:00
head_em.s Initial revision 1987-01-29 23:25:01 +00:00
ioctl.s Initial revision 1987-01-29 22:36:35 +00:00
kill.s Initial revision 1987-01-29 22:36:35 +00:00
link.s Initial revision 1987-01-29 22:36:35 +00:00
LIST forgot _dup() & _creat() 1990-01-22 10:34:50 +00:00
lock.s Initial revision 1987-01-29 22:36:35 +00:00
lseek.s Initial revision 1987-01-29 22:36:35 +00:00
Makefile Initial revision 1987-01-29 22:45:44 +00:00
mknod.s Initial revision 1987-01-29 22:36:35 +00:00
mount.s Initial revision 1987-01-29 22:36:35 +00:00
nice.s Initial revision 1987-01-29 22:36:35 +00:00
open.s Initial revision 1987-01-29 22:36:35 +00:00
pause.s Initial revision 1987-01-29 22:36:35 +00:00
pipe.s Initial revision 1987-01-29 22:36:35 +00:00
profil.s Initial revision 1987-01-29 22:36:35 +00:00
ptrace.s Initial revision 1987-01-29 22:36:35 +00:00
read.s Initial revision 1987-01-29 22:36:35 +00:00
README Initial revision 1987-01-29 22:36:35 +00:00
setgid.s Initial revision 1987-01-29 22:36:35 +00:00
setuid.s Initial revision 1987-01-29 22:36:35 +00:00
signal.s Initial revision 1987-01-29 22:36:35 +00:00
stat.s Added Xstat.c 1987-11-03 14:43:40 +00:00
stime.s Initial revision 1987-01-29 22:36:35 +00:00
stty.s Initial revision 1987-01-29 22:36:35 +00:00
sync.s Initial revision 1987-01-29 22:36:35 +00:00
time.s Initial revision 1987-01-29 22:36:35 +00:00
times.s Initial revision 1987-01-29 22:36:35 +00:00
umask.s Initial revision 1987-01-29 22:36:35 +00:00
umount.s Initial revision 1987-01-29 22:36:35 +00:00
unlink.s Initial revision 1987-01-29 22:36:35 +00:00
utime.s Initial revision 1987-01-29 22:36:35 +00:00
wait.s Initial revision 1987-01-29 22:36:35 +00:00
write.s Initial revision 1987-01-29 22:36:35 +00:00
Xstat.c added new routines for ansi 1990-01-22 08:51:54 +00:00

	! Two system calls (gtty and stty) in the m68000 tail_mon library
	! were not really system calls but they used _ioctl. The m68020 machine
	! the table was tested on used real system calls, and we'll use
	! them here.
	! There were also three calls (ftime, lock and dup2) that were in the
	! m68000 library, but were not included in the list of system calls
	! for the m68020 that was given to me. We'll include them anyway.
	! The original gtty and stty files are included here.
	! Note however that the 68000 machine (the Mantra) needs the parameters
	! to system calls in registers, while the m68020 machine this table was
	! tested on wanted the parameters on the stack
	!
	! Also read the comments in the signal.s file!
! -------------------  dup2.s
! .define _dup2
! .extern _dup2
! .sect .text
! .sect .rom
! .sect .data
! .sect .bss
! .sect .text
! _dup2:		move.w #0x29,d0
! 		move.l (4,sp),a0
! 		move.l (8,sp),d1
! 		add.l #0x40,a0
! 		jmp (call)
!
!
! ! -------------------  gtty.s
! .define _gtty
! .extern _gtty
! .sect .text
! .sect .rom
! .sect .data
! .sect .bss
! .sect .text
! _gtty:
! tst.b (-40,sp)
! link	a6,#-0
! move.l (12,a6),-(sp)
! move.l #29704,-(sp)
! move.l (8,a6),-(sp)
! jsr (_ioctl)
! add.l #12,sp
! unlk a6
! rts
!
!
! ! -------------------  stty.s
! .define _stty
! .extern _stty
! .sect .text
! .sect .rom
! .sect .data
! .sect .bss
! .sect .text
! _stty:
! tst.b (-40,sp)
! link	a6,#-0
! move.l (12,a6),-(sp)
! move.l #29705,-(sp)
! move.l (8,a6),-(sp)
! jsr (_ioctl)
! add.l #12,sp
! unlk a6
! rts