cvs2hg 7273130b4c fixup commit for tag 'release-6-0-pre-4' 14 years ago
..
.distr b520bc40a5 New installation mechanism 33 years ago
LIST 0614d593dd forgot _dup() & _creat() 34 years ago
README 153e30bb1c Initial revision 37 years ago
Xstat.c 9ee0876c2b added new routines for ansi 34 years ago
_Xstat.c 9ee0876c2b added new routines for ansi 34 years ago
_alarm.s 9ee0876c2b added new routines for ansi 34 years ago
_brk.s acd80a39f2 Fixed typo 30 years ago
_close.s 9ee0876c2b added new routines for ansi 34 years ago
_creat.s 0614d593dd forgot _dup() & _creat() 34 years ago
_dup.s 0614d593dd forgot _dup() & _creat() 34 years ago
_dup2.s 9ee0876c2b added new routines for ansi 34 years ago
_execl.s 9ee0876c2b added new routines for ansi 34 years ago
_execve.s 9ee0876c2b added new routines for ansi 34 years ago
_exit.s 153e30bb1c Initial revision 37 years ago
_fork.s 9ee0876c2b added new routines for ansi 34 years ago
_ftime.s 9ee0876c2b added new routines for ansi 34 years ago
_getpid.s 9ee0876c2b added new routines for ansi 34 years ago
_gtty.s 9ee0876c2b added new routines for ansi 34 years ago
_ioctl.s 9ee0876c2b added new routines for ansi 34 years ago
_kill.s 9ee0876c2b added new routines for ansi 34 years ago
_link.s 9ee0876c2b added new routines for ansi 34 years ago
_lseek.s 9ee0876c2b added new routines for ansi 34 years ago
_open.s 9ee0876c2b added new routines for ansi 34 years ago
_pause.s 9ee0876c2b added new routines for ansi 34 years ago
_pipe.s 9ee0876c2b added new routines for ansi 34 years ago
_read.s 9ee0876c2b added new routines for ansi 34 years ago
_times.s 0cd1cfd249 fixed 'times' systemcall interface 33 years ago
_unlink.s 9ee0876c2b added new routines for ansi 34 years ago
_wait.s 9ee0876c2b added new routines for ansi 34 years ago
_write.s 9ee0876c2b added new routines for ansi 34 years ago
access.s 153e30bb1c Initial revision 37 years ago
acct.s 153e30bb1c Initial revision 37 years ago
alarm.s 153e30bb1c Initial revision 37 years ago
brk.s 7e34a42088 Use .limhp 34 years ago
call.s 153e30bb1c Initial revision 37 years ago
chdir.s 153e30bb1c Initial revision 37 years ago
chmod.s 153e30bb1c Initial revision 37 years ago
chown.s 153e30bb1c Initial revision 37 years ago
chroot.s 153e30bb1c Initial revision 37 years ago
cleanup.s 153e30bb1c Initial revision 37 years ago
close.s 153e30bb1c Initial revision 37 years ago
creat.s 153e30bb1c Initial revision 37 years ago
dup.s 153e30bb1c Initial revision 37 years ago
dup2.s cd782a1488 corrected a syntax error 36 years ago
errno.s 153e30bb1c Initial revision 37 years ago
execl.s ab5a0efd48 fixed some bugs 37 years ago
execle.c 8f1fba2b7b Initial revision 37 years ago
execv.c 8f1fba2b7b Initial revision 37 years ago
execve.s 153e30bb1c Initial revision 37 years ago
exit.s 153e30bb1c Initial revision 37 years ago
fcntl.s 153e30bb1c Initial revision 37 years ago
fork.s 153e30bb1c Initial revision 37 years ago
fstat.s 9ee0876c2b added new routines for ansi 34 years ago
ftime.s 153e30bb1c Initial revision 37 years ago
getegid.s 153e30bb1c Initial revision 37 years ago
getgid.s 153e30bb1c Initial revision 37 years ago
getpid.s 153e30bb1c Initial revision 37 years ago
getuid.s 153e30bb1c Initial revision 37 years ago
gtty.s 153e30bb1c Initial revision 37 years ago
head_em.s 3f3af2e01f Added EXIT and BRK entry point 32 years ago
ioctl.s 153e30bb1c Initial revision 37 years ago
kill.s 153e30bb1c Initial revision 37 years ago
link.s 153e30bb1c Initial revision 37 years ago
lock.s 153e30bb1c Initial revision 37 years ago
lseek.s 153e30bb1c Initial revision 37 years ago
mknod.s 153e30bb1c Initial revision 37 years ago
mount.s 153e30bb1c Initial revision 37 years ago
nice.s 153e30bb1c Initial revision 37 years ago
open.s 153e30bb1c Initial revision 37 years ago
pause.s 153e30bb1c Initial revision 37 years ago
pipe.s 153e30bb1c Initial revision 37 years ago
profil.s 153e30bb1c Initial revision 37 years ago
ptrace.s 153e30bb1c Initial revision 37 years ago
read.s 153e30bb1c Initial revision 37 years ago
setgid.s 153e30bb1c Initial revision 37 years ago
setuid.s 153e30bb1c Initial revision 37 years ago
signal.s 153e30bb1c Initial revision 37 years ago
stat.s 72ab7b68b8 Added Xstat.c 37 years ago
stime.s 153e30bb1c Initial revision 37 years ago
stty.s 153e30bb1c Initial revision 37 years ago
sync.s 153e30bb1c Initial revision 37 years ago
time.s 153e30bb1c Initial revision 37 years ago
times.s 0cd1cfd249 fixed 'times' systemcall interface 33 years ago
umask.s 153e30bb1c Initial revision 37 years ago
umount.s 153e30bb1c Initial revision 37 years ago
unlink.s 153e30bb1c Initial revision 37 years ago
utime.s 153e30bb1c Initial revision 37 years ago
wait.s 153e30bb1c Initial revision 37 years ago
write.s 153e30bb1c Initial revision 37 years ago

README

! 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