ack/mach/m68k4/libsys/gtty.s

18 lines
214 B
ArmAsm
Raw Permalink Normal View History

1984-12-14 15:52:15 +00:00
.define _gtty
.extern _gtty
1986-07-22 13:23:14 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1984-12-14 15:52:15 +00:00
_gtty:
tst.b -40(sp)
link a6,#-0
1985-03-04 17:26:31 +00:00
move.l 12(a6),-(sp)
move.l #29704,-(sp)
move.l 8(a6),-(sp)
1984-12-14 15:52:15 +00:00
jsr _ioctl
1985-03-04 17:26:31 +00:00
add.l #12,sp
1984-12-14 15:52:15 +00:00
unlk a6
rts