Jump to content
IGNORED

Combine Two 4k Games Using F8 Bankswitching


Recommended Posts

Hello!

 

I'm trying to copy two 4k games together and launch the last game from the first 4k game using F8 bank switching.

 

I used the DOS/Windows command prompt to combine the separate binaries:

 

COPY /B /Y bank1.bin + bank2.bin f8game.bin               

 

I had partial success doing a:

  LDA $1FF8

 

But the second 4k game does not appear to start cleanly and appears soft locked.

 

Any clues as to what I'm missing?

 

Link to comment
Share on other sites

The most important thing when switching banks is to make sure you know where you're going to end up.

 

If you want a "clean" start after bankswitching, you'll probably want to do a:

  JMP ($FFFC)

 

...to execute the reset vector of the second game.  That jump instruction should be done immediately after the LDA $1FFx,

BUT it'll need to be located in the bank you're switching to, at the appropriate address.

  • Like 1
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...