Jump to content
IGNORED

Anyone having a problem with Tomarc?


orangest

Recommended Posts

Midnight Magic actually has a programming error. If it starts in bank 0, it's fine, but if it starts in another bank, it attempts to start by pushing reset vector minus one into the stack, switching to bank 0, and issuing a RTS.

 

Only problem is, it doesn't initialize the stack pointer. Assuming random bank and random stack pointer, actual carts should have 37.5% chance of failure on 2600s (they may work 100% on 7800s due to the 7800 BIOS.)

 

On Harmony, this failure rate is 100% because we start in a bank other than zero and although we start with a stack pointer initialized, it doesn't point to RAM so it won't work.

 

I have fixed the binary but apparently I need to change the BIOS as well to always start F6 games in the first bank.

 

As always, thanks for the fix and for the explanation, which i understood most of. :D

Link to comment
Share on other sites

  • 2 months later...
  • 2 weeks later...

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