ack/mach/pmds4/libsys/_stty.s
1990-01-22 14:15:55 +00:00

18 lines
219 B
ArmAsm

.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