Jump to content
  • entries
    106
  • comments
    796
  • views
    140,740

Metroid Flashback


vdub_bobby

924 views

GOING THROUGH the forum/blog archives and I realized that I don't think I ever posted the most recent version of my Metroid VIP (Vaporware In Progress).

 

So anyway, here it is.

Metroid20060303.bin

I'm not sure how it is different from the last version I posted either here or in the forums, but this one has selectable songs (with SELECT) and decent scrolling - horizontal only, though.

 

The main next tasks for this are the vertical scrolling and adding enemies to the map (so they scroll on the screen).

 

Don't expect any work on this for a couple of months, though. :ponder:

6 Comments


Recommended Comments

Stella doesn't like how I bankswitch, sorry. It's a bug in Stella. Works on a CC and in z26. I plan to test in my new Krok Cart :D tonight.

Link to comment

Stella doesn't like how I bankswitch, sorry. It's a bug in Stella. Works on a CC and in z26. I plan to test in my new Krok Cart :D tonight.

I doubt that's really the issue, as I use a similar method in bB, and it works fine in Stella. The only real difference is all that indexed indirect stuff, which shouldn't matter.

 

EDIT: got it working in Stella. To do it, enter the debugger, type "reset" then exit. This suggests it isn't the bankswitching, but also suggests a startup/init problem with the demo or a bug in Stella.

Link to comment

IIRC, the bug has to do with how Stella handles the BRK opcode when the stack pointer is...$FF? Or something. So, technically, it doesn't have anything to do with how I'm bankswitching - the routine that bankswitches is called with a BRK opcode, which Stella doesn't like. If you start it in the debugger and step through the code you can see where it goes goofy; I can't remember exactly what happens, but it has to do with the stack pointer.

 

...

 

Just got it working in Stella like you said. That's...weird.

Link to comment

IIRC, the bug has to do with how Stella handles the BRK opcode when the stack pointer is...$FF? Or something. So, technically, it doesn't have anything to do with how I'm bankswitching - the routine that bankswitches is called with a BRK opcode, which Stella doesn't like. If you start it in the debugger and step through the code you can see where it goes goofy; I can't remember exactly what happens, but it has to do with the stack pointer.

 

...

 

Just got it working in Stella like you said. That's...weird.

 

I believe the problem is with the default bank. Stella starts 32K F4 and F4SC games in bank 7 not bank 0. I think the code assumes it starts in bank 0, however, I could be wrong. I modified Stella to start in bank 0 and the game begins as expected. Since it looks like that's the default for CC and Z26 I'll check those changes in to CVS so they'll be in the next release. Do 32K bankswitching carts always start in bank 0 or is it random?

Link to comment

IIRC, the bug has to do with how Stella handles the BRK opcode when the stack pointer is...$FF? Or something. So, technically, it doesn't have anything to do with how I'm bankswitching - the routine that bankswitches is called with a BRK opcode, which Stella doesn't like. If you start it in the debugger and step through the code you can see where it goes goofy; I can't remember exactly what happens, but it has to do with the stack pointer.

 

...

 

Just got it working in Stella like you said. That's...weird.

 

I believe the problem is with the default bank. Stella starts 32K F4 and F4SC games in bank 7 not bank 0. I think the code assumes it starts in bank 0, however, I could be wrong. I modified Stella to start in bank 0 and the game begins as expected. Since it looks like that's the default for CC and Z26 I'll check those changes in to CVS so they'll be in the next release. Do 32K bankswitching carts always start in bank 0 or is it random?

Hmmm. I believe actual 32K carts start in a random bank. Thanks for the heads up for this, I'll double-check the start up code in bank 7.

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