home *** CD-ROM | disk | FTP | other *** search
-
- DAT 0
- DAT 50
- DAT -300
- DAT 50
- MOV #4 -4
- MOV #303 -4
- MOV #-298 -4
- MOV #36 -4
- MOV @-8 @-7
- MOV #345 @-7
- DJZ 5 -7
- ADD #1 -11
- ADD #1 -11
- ADD #1 -11
- JMP -6
- MOV #-298 -13
- MOV #263 24
- MOV #7 @23
- DJZ 20 22
- MOV #7 @21
- DJZ 18 20
- MOV #7 @19
- DJZ 16 18
- CMP #345 @-21
- JMP 4
- CMP 14 314
- JMP 4
- JMP -23
- CMP 11 311
- JMP -12
- MOV #123 -305
- CMP #123 -306
- JMP -1
- MOV #7 -304
- MOV #7 -305
- MOV #7 -306
- MOV #7 -307
- CMP -14 286
- JMP 266
- JMP -35
- DAT 0
- END 4
-
- Commented code:
-
- DAT 0 from pointer
- DAT 50 moveup pointer, left at top of move
- DAT -300 movedown pointer & exec.down ptr
- DAT 50 mov counter
- MOV #4 -4 set from pointer
- MOV #303 -4 set move up pointer
- MOV #-298 -4 set move down to pointer
- MOV #36 -4 set size to copy
- MOV @-8 @-7 move item up
- MOV #345 @-7 move item down
- DJZ 5 -7 reduce count, exit if done
- ADD #1 -11 adv from
- ADD #1 -11 adv to (up)
- ADD #1 -11 adv to (down)
- JMP -6 continue until copied
- MOV #-298 -13 set execdown ptr
- MOV #263 24 set bomb/wait pointer
- MOV #7 @23 set bomb
- DJZ 20 22
- MOV #7 @21
- DJZ 18 20 go fwd after time out
- MOV #7 @19
- DJZ 16 18
- CMP #345 @-21 check execdown instr
- JMP 4 back seems clean, check fwd
- CMP 14 314 check last forward item, bak dirty
- JMP 4 fwd clean, bak dirty, try anti.imp
- JMP -23 both dirty, redo it all
- CMP 11 311 bak clean, fwd?
- JMP -12 both clean, continue check/bomb
- MOV #123 -305 play anti.imp, fwd clean
- CMP #123 -306
- JMP -1
- MOV #7 -304
- MOV #7 -305
- MOV #7 -306
- MOV #7 -307
- CMP -14 286 check another fwd item
- JMP 266 ok, go fwd and repeat.
- JMP -35 do this over, fwd fouled. Last copied
- DAT 0 check timer, not copied
- END 4