Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RunObject:
- lea ($FF1000).l,a0 ; Load start of object RAM.
- moveq #$40,d0 ; Test $1000 bytes (or $40 objects).
- tst.l (a0) ; Is there an object pointer in the first slot?
- beq.s RO_Ret ; If not, branch.
- @hoop
- jsr (a0) ; Run object's code.
- lea $40(a0),a0 ; Check next object.
- tst.l (a0) ; Is there a pointer in it?
- dbeq @hoop ; If there is, loop until there isn't.
- RO_Ret:
- rts ; Return.
Advertisement
Add Comment
Please, Sign In to add comment