Jump to content
IGNORED

Combine 2 compiled 4k bB games?


Gemintronic

Recommended Posts

I'm trying to combine 2 4k bB games I made years ago.  I have the source and tried to make sure the kernel settings and DIMs didn't clash between games.  I also tried using the 32k multikernel framework and no go switching to the 2nd game on the second bank.

 

I was wondering if I could do a DOS COPY to combine both games:

COPY GAME1.BIN+GAME2.BIN 2IN1.BIN

 

..making sure there is some inline assembly to arbitrarily jump to the second bank in the first gtame:

 

   asm

   some magic to switch to the last 4k portion of ROM

end

 

Does this make sense?  What would the actual inline assembly look like?

 

Thanks in advance for any clues, fellas!

Edited by Gemintronic
Link to comment
Share on other sites

THIS almost worked with two copies of the same game.  When I put the source for two different games in it doesn't switch to the other bank.

 

For bank 1 the bank switch code looks like this:

 

 asm
 lda $1FF9
 nop
 nop
 nop
 nop
 nop
 nop
end

 

For bank 2 the code looks like this:

 

 asm
 lda $1FF8
 nop
 nop
 nop
 nop
 nop
 nop
end

Edited by Gemintronic
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...