Jump to content
  • entries
    4,948
  • comments
    2,718
  • views
    1,808,851

Jack and the beanstalk - Merging what I have so far


atari2600land

140 views

I figured "Why wait until later?" and began to merge what I had of Jack and the Beanstalk. This required a little adding to and movement of the code I had so the game still worked. I ran into a little snag, but I fixed it. The Odyssey 2 is a strange machine. You can't just jump from one bank to the next freely. Oh no, that would be too easy. Instead there are only certain banks you can jump to. Like, for instance, you can't jump from bank 2 to bank 1. You have to jump from bank 2 to bank 3 and then when you're in bank 3 jump to bank 1. Luckily I have a few variables that keep track of how far you are in in a game, so I check for these, and if the variables are OK I can then jump from bank 3 to bank 1.

 

Now that that is done, and I think I may have the wall collision figured out. I tried again to get Jack stuck in the wall but to no avail. I can begin work on bank 0: The giant's room in the castle. Here's the breakdown of the banks and what is in them. All Odyssey 2 games begin in bank 3. I don't know why. I guess to make it even more confusing.

  • bank 3 - Cedar Games opening
  • bank 2 - title screen, beanstalk, (and, eventually, an ending)
  • bank 1 - castle
  • bank 0 - castle - Giant's room

 

I have about 500 bytes left in bank 2, so I think a fair ending can be crammed in there. I successfully made an 8k ROM that went from the opening to the title screen, to the beanstalk, to the castle. Fortunately, a jump from bank 1 to bank 0 is allowed, but the only allowed jump from bank 0 is to bank 3. More code in bank 3, whoopee. I think I can put some more code in bank 3 and still have it work. I need to put in a lot of code in bank 3, since you can't jump from bank 1 to bank 2, you must jump from bank 1 to bank 3 and then jump to bank 2. All I understand is that the game's bankjumping has to be carefully planned. To save headaches, when you're in the ending in bank 2, I'll just make it loop and if you want to exit the loop, you'll press the reset button. After all, if you beat Super Mario World, the only way to start over again is to turn the SNES off and back on again. And if it's good enough for Nintendo, it's good enough for me.

0 Comments


Recommended Comments

There are no comments to display.

Guest
Add a comment...

×   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...