stty.s 213 B

1234567891011121314151617
  1. .define _stty
  2. .sect .text
  3. .sect .rom
  4. .sect .data
  5. .sect .bss
  6. .extern _stty
  7. .sect .text
  8. _stty:
  9. tst.b -40(sp)
  10. link a6,#-0
  11. move.l 10(a6),-(sp)
  12. move.w #29705,-(sp)
  13. move.w 8(a6),-(sp)
  14. jsr _ioctl
  15. add.l #8,sp
  16. unlk a6
  17. rts