home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 553.lha / ZKick_v3.01 / killzkick.asm < prev    next >
Assembly Source File  |  1991-09-09  |  533b  |  35 lines

  1. *
  2. *    Zkick V3.01 -- Copyright (C) 1991 by Daniel Zenchelsky
  3. *
  4. *        This program may be freely copied, as long as all copyright
  5. *        notices are left intact and unchanged.
  6. *
  7.  
  8.     SECTION code
  9.  
  10.     XREF _ColdReboot
  11.  
  12. ExecBase    EQU    $4
  13.  
  14. ;
  15. ; Offsets from ExecBase
  16. ;
  17.  
  18. KickMemPtr    EQU    $222
  19. KickTagPtr    EQU    $226
  20. WarmCapture    EQU    50
  21. CoolCapture    EQU    46
  22. ColdCapture    EQU    42
  23.  
  24.     move.l    ExecBase,a6
  25.  
  26.     clr.l    ColdCapture(a6)    
  27.     clr.l    CoolCapture(a6)
  28.     clr.l    WarmCapture(a6)    ; Clear vectors and reboot
  29.     clr.l    KickTagPtr(a6)
  30.     clr.l    KickMemPtr(a6)
  31.  
  32.     jmp _ColdReboot
  33.  
  34.     END
  35.