_ioctl.s 194 B

12345678910111213
  1. .define __ioctl
  2. .sect .text
  3. .sect .rom
  4. .sect .data
  5. .sect .bss
  6. .extern __ioctl
  7. .sect .text
  8. __ioctl: move.w #0x36,d0
  9. move.w 4(sp),a0
  10. move.w 6(sp),d1
  11. ext.l d1
  12. move.l 8(sp),a1
  13. jmp callc