Jump to content
IGNORED

Turning Adventure into an 8k game...


Nukey Shay

Recommended Posts

Yup...the BNE at the end works as an unconditional branch. It works fine as long as the last result was non-zero (which the PrintDisplay subroutine does...since it loads an immediate value of $20 to reset the countdown timer just before returning). If you can't be sure of what the final processor status is in the JSR just before it, it's best just to change it back to a JMP. The Portals and Mag_1 subroutines also always end up with non-zero results before returning (Portals ends with $FF - the value sitting in the Y register...and Mag_1 ends with the magnet's Y-coordinate+8).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...