signal.s 888 B

12345678910111213141516171819202122
  1. .define _signal
  2. .extern _signal
  3. .sect .text
  4. .sect .rom
  5. .sect .data
  6. .sect .bss
  7. .sect .text
  8. _signal:
  9. move.l #0x30,d0
  10. jmp (callc)
  11. ! NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE
  12. !
  13. ! Just as in the m68000 tail_mon library the acual signal system call
  14. ! is not called directly by the user, but an `interface'. This `interface'
  15. ! does the actual system call. On the m68020 machine the table was tested on
  16. ! this `interface' did things that I did not understand, e.g. it called
  17. ! a sytem call with number 38, called `_sysm68k'. I couldn't get the signal
  18. ! system call get to work properly on that machine, but as it is clear
  19. ! that this is in no way to blame to my back end table.
  20. ! The system call as presented here does not reset the catch routine: a
  21. ! signal that is caught by a user function will be caught every time, not
  22. ! just once. I couldn't change this.