tool.s 438 B

12345678910111213141516171819202122232425
  1. SECTION maptool,Code_c
  2. opt c-
  3. incdir "dh1:devpac/include/"
  4. include "dh1:game/winmap/system.i"
  5. ************************************************
  6. **** ENTRY IN THE CODE ****
  7. ************************************************
  8. entry_point
  9. movem.l d0-d7/a0-a6,-(sp)
  10. bsr open_librarys
  11. tst.l d0
  12. beq.s exit_system
  13. exit_system
  14. bsr close_librarys
  15. movem.l (sp)+,d0-d7/a0-a6
  16. rts
  17. include "library_routines.s"