home *** CD-ROM | disk | FTP | other *** search
- *
- * Zkick V2.10 -- Copyright (C) 1990 by Daniel Zenchelsky
- *
- * This program may be freely copied, as long as all copyright
- * notices are left intact and unchanged.
- *
-
- SECTION code
-
- XDEF _KickCopy
- XDEF loop
-
- XREF _LVOSuperState
- XREF _LVODisable
- XREF _LVOCopyMem
-
- XREF _NumBufs
- XREF _BufSize
- XREF _StartKick
- XREF _EndKick
- XREF _MemArray
-
- XREF Reboot
-
- _KickCopy:
- movea.l $4,a6
- jsr _LVODisable(a6)
- jsr _LVOSuperState(a6)
-
- lea.l _MemArray,a2
- movea.l _StartKick,a3
-
- loop:
- cmp.l _EndKick,a3
- bgt.s done
- move.l (a2),a0
- move.l a3,a1
- move.l _BufSize,d0
- jsr _LVOCopyMem(a6)
- add.l #4,a2
- add.l _BufSize,a3
- jmp loop
-
- done:
- jmp Reboot
-
- END
-
-