Jump to content
Shift838

BUG on GAMES5 cart for MunchMan

Recommended Posts

I think I found a bug on GAMECART5 for MunchMan.

 

while attempting to conquer the high score. I noticed that I could not get past level 1!

 

The entire screen has the chainlink laid down but it never goes to the next level. I tested it on actual hardware and classic 99 with the same results.

 

See screenshot. I don't see anywhere a link is not completed.

 

Anyone else have this issue ?

 

 

post-35187-0-51623900-1439512127_thumb.jpg

Share this post


Link to post
Share on other sites

Hmmm... Do the levels increase in difficulty/speed?

 

If not, that version should probably not be played for the High Score contest. ;)

Share this post


Link to post
Share on other sites

i have been playing my EA#5 version, which is the one I posted and it works.

Share this post


Link to post
Share on other sites

This is (likely) the bug we found when doing the scratchpad loader. Munchman has a bug where it counts down the number of dots left (or links left) as a byte, but compares to zero as a word. If the other byte in scratchpad was not zero when Munchman started, you can never finish the level.

  • Like 1

Share this post


Link to post
Share on other sites

This is (likely) the bug we found when doing the scratchpad loader. Munchman has a bug where it counts down the number of dots left (or links left) as a byte, but compares to zero as a word. If the other byte in scratchpad was not zero when Munchman started, you can never finish the level.

 

Is there a fix for it?

Share this post


Link to post
Share on other sites

 

Is there a fix for it?

 

Just making sure your loader zeros scratchpad... we didn't code a fix for it since everyone already has a binary.

 

I went and hunted down the message where we described the bug over on the SWPB group on Yahoo: https://groups.yahoo.com/neo/groups/SWPB/conversations/topics/2280

 

Here's the skinny:

 

 

 

I had ONE problem left which I have finally identified -- it is a bug in

Munchman. Munchman uses the byte at >8335 to count how many links you

have laid down. It uses a MOVB to initialize it. However, it uses INC

@>8334 to increment it, which would probably be okay, but it ALSO uses

C, rather than CB, to test it. Meaning if >8334, which Munchman /never/

initializes, is not >00, you can never clear the level. And that is what

is happening.

 

So, to fix, we just need to make sure >8334 is cleared before Munchman starts. It can go anywhere since it only needs to be done once. I dunno how many versions of Munchman are floating around out there, though.. I can patch the copy I have but will it do any good for anyone?

Share this post


Link to post
Share on other sites

Is there something we can just change in the binary eprom image with a hex editor? If so then I can do it for mine and report back. I just need to be told what to change.

Share this post


Link to post
Share on other sites

I don't know anything about GAMES5... In theory, of course, the answer is yes, but you need to find somewhere to insert an extra instruction or two.

 

Is it online here somewhere? I can take a quick peek.

Share this post


Link to post
Share on other sites

I don't know anything about GAMES5... In theory, of course, the answer is yes, but you need to find somewhere to insert an extra instruction or two.

 

Is it online here somewhere? I can take a quick peek.

 

Here you go..

Gamecart5.bin

Share this post


Link to post
Share on other sites

It was tough to find a good place to put the clear... both the menu and Munchman are tightly packed and all the copy code is hard coded. I ultimately opted to put it in the copy loop itself, changing the bank switch code out to make room. This appears to work. It should not affect anything but Munchman.

 

Because I shifted code around, it's more than a couple of bytes, but there's a text file included that shows what I changed.

 

Gamecart5_TursiMunchmanHack.zip

  • Like 1

Share this post


Link to post
Share on other sites

It was tough to find a good place to put the clear... both the menu and Munchman are tightly packed and all the copy code is hard coded. I ultimately opted to put it in the copy loop itself, changing the bank switch code out to make room. This appears to work. It should not affect anything but Munchman.

 

Because I shifted code around, it's more than a couple of bytes, but there's a text file included that shows what I changed.

 

attachicon.gifGamecart5_TursiMunchmanHack.zip

 

Thanks Tursi! Works like a charm..

Share this post


Link to post
Share on other sites

It was tough to find a good place to put the clear... both the menu and Munchman are tightly packed and all the copy code is hard coded. I ultimately opted to put it in the copy loop itself, changing the bank switch code out to make room. This appears to work. It should not affect anything but Munchman.

 

Because I shifted code around, it's more than a couple of bytes, but there's a text file included that shows what I changed.

 

attachicon.gifGamecart5_TursiMunchmanHack.zip

 

Blasting-you-rock-image.jpg

Share this post


Link to post
Share on other sites

Just now seeing this, wish someone would have sent me a PM. Thanks for the patch, Tursi. Always nice to see an alternate way of doing things.

 

I've integrated the fix into the 1 meg gamecart as well.

 

Gazoo

 

1megGames08312015.bin

 

 

Share this post


Link to post
Share on other sites

Just now seeing this, wish someone would have sent me a PM. Thanks for the patch, Tursi. Always nice to see an alternate way of doing things.

 

I've integrated the fix into the 1 meg gamecart as well.

 

Gazoo

 

attachicon.gif1megGames08312015.bin

 

 

 

Sorry Gazoo. I should have sent you over a PM. I dropped the ball on that one.

Share this post


Link to post
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.

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