George Koehler e87791b38a Delete 689 undead files. 11 yıl önce
..
.distr 05b9d85074 New installation mechanism 33 yıl önce
LIST 1e465327a6 forgot _dup() & _creat() 34 yıl önce
README dd82e72cd1 Initial revision 37 yıl önce
Xstat.c 7cc80df960 added new routines for ansi 34 yıl önce
_Xstat.c 7cc80df960 added new routines for ansi 34 yıl önce
_alarm.s 7cc80df960 added new routines for ansi 34 yıl önce
_brk.s 5e72837e62 Fixed typo 30 yıl önce
_close.s 7cc80df960 added new routines for ansi 34 yıl önce
_creat.s 1e465327a6 forgot _dup() & _creat() 34 yıl önce
_dup.s 1e465327a6 forgot _dup() & _creat() 34 yıl önce
_dup2.s 7cc80df960 added new routines for ansi 34 yıl önce
_execl.s 7cc80df960 added new routines for ansi 34 yıl önce
_execve.s 7cc80df960 added new routines for ansi 34 yıl önce
_exit.s dd82e72cd1 Initial revision 37 yıl önce
_fork.s 7cc80df960 added new routines for ansi 34 yıl önce
_ftime.s 7cc80df960 added new routines for ansi 34 yıl önce
_getpid.s 7cc80df960 added new routines for ansi 34 yıl önce
_gtty.s 7cc80df960 added new routines for ansi 34 yıl önce
_ioctl.s 7cc80df960 added new routines for ansi 34 yıl önce
_kill.s 7cc80df960 added new routines for ansi 34 yıl önce
_link.s 7cc80df960 added new routines for ansi 34 yıl önce
_lseek.s 7cc80df960 added new routines for ansi 34 yıl önce
_open.s 7cc80df960 added new routines for ansi 34 yıl önce
_pause.s 7cc80df960 added new routines for ansi 34 yıl önce
_pipe.s 7cc80df960 added new routines for ansi 34 yıl önce
_read.s 7cc80df960 added new routines for ansi 34 yıl önce
_times.s 1977509c1f fixed 'times' systemcall interface 33 yıl önce
_unlink.s 7cc80df960 added new routines for ansi 34 yıl önce
_wait.s 7cc80df960 added new routines for ansi 34 yıl önce
_write.s 7cc80df960 added new routines for ansi 34 yıl önce
access.s dd82e72cd1 Initial revision 37 yıl önce
acct.s dd82e72cd1 Initial revision 37 yıl önce
alarm.s dd82e72cd1 Initial revision 37 yıl önce
brk.s b9662d1f3c Use .limhp 34 yıl önce
call.s dd82e72cd1 Initial revision 37 yıl önce
chdir.s dd82e72cd1 Initial revision 37 yıl önce
chmod.s dd82e72cd1 Initial revision 37 yıl önce
chown.s dd82e72cd1 Initial revision 37 yıl önce
chroot.s dd82e72cd1 Initial revision 37 yıl önce
cleanup.s dd82e72cd1 Initial revision 37 yıl önce
close.s dd82e72cd1 Initial revision 37 yıl önce
creat.s dd82e72cd1 Initial revision 37 yıl önce
dup.s dd82e72cd1 Initial revision 37 yıl önce
dup2.s 98536222e3 corrected a syntax error 36 yıl önce
errno.s dd82e72cd1 Initial revision 37 yıl önce
execl.s c50b6bc766 fixed some bugs 37 yıl önce
execle.c 78f595ce51 Initial revision 37 yıl önce
execv.c 78f595ce51 Initial revision 37 yıl önce
execve.s dd82e72cd1 Initial revision 37 yıl önce
exit.s dd82e72cd1 Initial revision 37 yıl önce
fcntl.s dd82e72cd1 Initial revision 37 yıl önce
fork.s dd82e72cd1 Initial revision 37 yıl önce
fstat.s 7cc80df960 added new routines for ansi 34 yıl önce
ftime.s dd82e72cd1 Initial revision 37 yıl önce
getegid.s dd82e72cd1 Initial revision 37 yıl önce
getgid.s dd82e72cd1 Initial revision 37 yıl önce
getpid.s dd82e72cd1 Initial revision 37 yıl önce
getuid.s dd82e72cd1 Initial revision 37 yıl önce
gtty.s dd82e72cd1 Initial revision 37 yıl önce
head_em.s 3e7daebcc7 Added EXIT and BRK entry point 32 yıl önce
ioctl.s dd82e72cd1 Initial revision 37 yıl önce
kill.s dd82e72cd1 Initial revision 37 yıl önce
link.s dd82e72cd1 Initial revision 37 yıl önce
lock.s dd82e72cd1 Initial revision 37 yıl önce
lseek.s dd82e72cd1 Initial revision 37 yıl önce
mknod.s dd82e72cd1 Initial revision 37 yıl önce
mount.s dd82e72cd1 Initial revision 37 yıl önce
nice.s dd82e72cd1 Initial revision 37 yıl önce
open.s dd82e72cd1 Initial revision 37 yıl önce
pause.s dd82e72cd1 Initial revision 37 yıl önce
pipe.s dd82e72cd1 Initial revision 37 yıl önce
profil.s dd82e72cd1 Initial revision 37 yıl önce
ptrace.s dd82e72cd1 Initial revision 37 yıl önce
read.s dd82e72cd1 Initial revision 37 yıl önce
setgid.s dd82e72cd1 Initial revision 37 yıl önce
setuid.s dd82e72cd1 Initial revision 37 yıl önce
signal.s dd82e72cd1 Initial revision 37 yıl önce
stat.s 3a61c2e5b9 Added Xstat.c 37 yıl önce
stime.s dd82e72cd1 Initial revision 37 yıl önce
stty.s dd82e72cd1 Initial revision 37 yıl önce
sync.s dd82e72cd1 Initial revision 37 yıl önce
time.s dd82e72cd1 Initial revision 37 yıl önce
times.s 1977509c1f fixed 'times' systemcall interface 33 yıl önce
umask.s dd82e72cd1 Initial revision 37 yıl önce
umount.s dd82e72cd1 Initial revision 37 yıl önce
unlink.s dd82e72cd1 Initial revision 37 yıl önce
utime.s dd82e72cd1 Initial revision 37 yıl önce
wait.s dd82e72cd1 Initial revision 37 yıl önce
write.s dd82e72cd1 Initial revision 37 yıl önce

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