Author Topic: the source code for SNES/SFC Myth Cart menu v0.05  (Read 54126 times)

0 Members and 1 Guest are viewing this topic.

Offline mic_

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 632
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #105 on: April 10, 2010, 06:01:13 PM »
Ok, I figured out what the problem was.. The Myth doesn't use the reset vector when starting the menu. It just assumes that the entrypoint is at 00:8000. But the SNESC crt0 had some dummy interrupt handlers at 8000, so the first instruction that would be executed was an RTI, which would cause a branch to who-knows-where. I fixed it by inserting a JMP to the real entry point as the first instruction at 8000.

Here's the latest code/libraries: http://jiggawatt.org/badc0de/myth_menu-0.20-wip4.zip

Note that you still can't start any games because that code isn't finished yet.

Offline Conle

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2203
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #106 on: April 11, 2010, 12:10:01 AM »
 ~sm-57.gif~.gif  Great news  ~sm-42.gif~

Offline mic_

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 632
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #107 on: April 12, 2010, 09:16:50 PM »
The latest C code: http://jiggawatt.org/badc0de/myth_menu-0.20-wip5.zip

Booting the cart plugged into the back of the Myth now works. Alphabetical listing has also been added (press Select to switch between logical and alphabetical listing).

Booting ROMs still isn't working for some reason. I've verified that the correct data is being copied to PSRAM, but then something goes wrong and the game never starts. I'll see if I can find anything tomorrow or maybe Wednesday.

Offline King Of Chaos

  • Full Member
  • ***
  • Posts: 117
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #108 on: April 13, 2010, 06:39:14 AM »
Awesome work! :)

Offline ronaldo_76

  • Full Member
  • ***
  • Posts: 196
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #109 on: April 13, 2010, 04:12:09 PM »
the menu looks great mic_  ~sm-42.gif~
i hope you get the games started.

Offline mic_

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 632
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #110 on: April 15, 2010, 02:28:18 AM »
Ok, here it is finally with ROM loading working:

Just the binary: http://jiggawatt.org/badc0de/myth_menu-0.20.zip
Source code: http://jiggawatt.org/badc0de/myth_menu-0.20-src.zip

And a short video showing off some of the features: http://www.youtube.com/watch?v=uWnpau8CLjE

The file neo2.asm in the source package is a bit messy right now because there's some unused code in there that I haven't cleaned out already. And I should probably turn the screen on a bit later than I'm doing now, because in the current version you'll see some garbage on BG0 for a couple of frames when you first power your SNES on.

Offline ronaldo_76

  • Full Member
  • ***
  • Posts: 196
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #111 on: April 15, 2010, 02:53:56 AM »
mic_ you are great.  :-*
thank you so much for this menü, i like it. and thanks for the hard work and time you invest in it.

THANK YOU

Offline ChillyWilly

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1751
  • Just a coding machine.
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #112 on: April 15, 2010, 02:57:26 AM »
I like the transition effect from the menu to the info. That's pretty cool.  8)

Offline Conle

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2203
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #113 on: April 15, 2010, 11:08:27 AM »
Great job again  >:D - and yeah that transition effect is really cool.I moved the video stream pointer back just to watch it for 2nd time  ~sm-80.gif~.gif

Offline stefan_iro

  • Full Member
  • ***
  • Posts: 218
  • It´s a me, Mario
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #114 on: April 16, 2010, 01:09:42 AM »
Hello mic_,

your menu looks really impressive!
Unfortunatelly I have no idea how to burn the v0.20 to the SNES Myth card?  ~sm-41.gif~
Do I need the Nero Dual Programmer to burn the NEOSNES.BIN to the FPGA?

Thanks for your help,
Stefan
-----------------------------------
8bit & 16bit
the golden age of videogames

Offline ronaldo_76

  • Full Member
  • ***
  • Posts: 196
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #115 on: April 16, 2010, 01:14:39 AM »
copy the "NEOSNES.BIN" to root dir of the NEO2 Ultra Menu and burn the card

Offline mic_

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 632
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #116 on: April 16, 2010, 01:15:03 AM »
If you're using the NEO2 Ultra Menu software on your PC all you need to do is open the program directory (e.g. C:\NEO2 Ultra Menu) and paste the new NEOSNES.BIN in there before running the program. After that, whenever you add new games to the cart it will put the new menu on the cart as well.

Offline stefan_iro

  • Full Member
  • ***
  • Posts: 218
  • It´s a me, Mario
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #117 on: April 16, 2010, 02:03:24 AM »
Thanks to ronaldo_76 & mic_ for this little guide!  ~sm-76.gif~.gif
-----------------------------------
8bit & 16bit
the golden age of videogames

Offline mic_

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 632
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #118 on: May 03, 2010, 03:08:30 AM »
Menu v0.22 is now available: http://jiggawatt.org/badc0de/myth_menu-0.22.zip

The biggest news in this version is that you can now use game genie codes (up to 4 of them).
Some of the controls have changed a bit from earlier versions of the menu, but I've included a readme in the zip that explains the controls for all the submenus.

Screenshot:


A video showing the game genie functionality: http://www.youtube.com/watch?v=c8ZfmludfKA


The source code is no longer available on my server. I've moved it to the same google code repository where the MD menu is hosted: http://code.google.com/p/neo-myth-menu/
« Last Edit: May 03, 2010, 03:40:26 AM by mic_ »

Offline King Of Chaos

  • Full Member
  • ***
  • Posts: 117
Re: the source code for SNES/SFC Myth Cart menu v0.05
« Reply #119 on: May 03, 2010, 05:03:42 AM »
Amazing, good work! One question, will it be possible to support Pro Action Replay codes eventually? Example of a PAR code is 7E09C51A - AFAIK the SNES Game Genie does ROM and PAR does RAM (and ROM too?).