ack/mach/pmds4/libsys/gtty.s

18 lines
215 B
ArmAsm
Raw Normal View History

1987-01-26 21:43:12 +00:00
.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