1 ! Two system calls (gtty and stty) in the m68000 tail_mon library
2 ! were not really system calls but they used _ioctl. The m68020 machine
3 ! the table was tested on used real system calls, and we'll use
5 ! There were also three calls (ftime, lock and dup2) that were in the
6 ! m68000 library, but were not included in the list of system calls
7 ! for the m68020 that was given to me. We'll include them anyway.
8 ! The original gtty and stty files are included here.
9 ! Note however that the 68000 machine (the Mantra) needs the parameters
10 ! to system calls in registers, while the m68020 machine this table was
11 ! tested on wanted the parameters on the stack
13 ! Also read the comments in the signal.s file!
14 ! ------------------- dup2.s
22 ! _dup2: move.w #0x29,d0
29 ! ! ------------------- gtty.s
40 ! move.l (12,a6),-(sp)
49 ! ! ------------------- stty.s
60 ! move.l (12,a6),-(sp)