From: ceriel Date: Mon, 26 Jan 1987 21:43:12 +0000 (+0000) Subject: Initial revision X-Git-Tag: release-5-5~4940 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0b484452fd2d9cecff5b9dcc60eb6c59e5bd11da;p=ack.git Initial revision --- diff --git a/mach/pmds4/libsys/gtty.s b/mach/pmds4/libsys/gtty.s new file mode 100644 index 000000000..1cd8c8b10 --- /dev/null +++ b/mach/pmds4/libsys/gtty.s @@ -0,0 +1,17 @@ +.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 #0x7408,-(sp) +move.l 8(a6),-(sp) +jsr _ioctl +add.l #12,sp +unlk a6 +rts diff --git a/mach/pmds4/libsys/stty.s b/mach/pmds4/libsys/stty.s new file mode 100644 index 000000000..d53abe17b --- /dev/null +++ b/mach/pmds4/libsys/stty.s @@ -0,0 +1,17 @@ +.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 #0x7409,-(sp) +move.l 8(a6),-(sp) +jsr _ioctl +add.l #12,sp +unlk a6 +rts