Neo TeAm Forum

NEO Team's Project for SEGA MK3/MD5/32X => NEO SUPER MK3/MD5/32X 3in1 Flash Cart => MD development section => Topic started by: ChillyWilly on September 22, 2012, 01:05:43 PM

Title: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 22, 2012, 01:05:43 PM
Time for an update! This version features Neo3-SD support... Dr.neo sent me one, and I spent the day making sure it worked like it should.
 :D

The main problem people had before was saving/restoring the sram. That turned out to be mostly bugs in the game save/restore code. I can't believe how buggy that code was! It was even affecting the Neo2-SD and Neo2-Pro, much less the Neo3-SD. So the new menu also features less buggy save/restore of game saves for everybody!
 ;D

While working on the Neo3-SD support, I beefed up the cart identification. The hardware info line at the bottom of the browser box now shows the exact cart in use, from the very first 256Kbit rev A cart to the brand new Neo3-SD. Another change in the interface has to do with what browsers you can use: people using flash-only carts can only toggle between the flash browser and the USB mode. People on the Neo2-SD and Pro can switch between the flash browser, USB mode, and SD browser. If no SD card is in the Neo2-SD/Pro, it starts in the flash browser, and if an SD card is present, it starts in the SD browser. People with the Neo3-SD cart only get the SD browser and nothing else. You can start the Neo3-SD without an SD card, but you get the SD browser with no entries in the browser list. You can then insert an SD card and hit "START" to show the contents. Hitting "START" on the Neo3-SD ALWAYS makes it show the root directory of the SD card. It's an easy way to go back several directory levels, or to show a new card if you change SD cards. You can boot the menu from the SD card on the Neo3-SD just like on the Neo2-SD/Pro. That makes it easy to run updates - just copy the MDEBIOS.BIN file to the /menu/md/ directory of the SD card. No need to update the menu in the Neo3-SD menu flash... unless you want to, of course.
 ~sm-74.gif~.gif

For folks just joining us here, these are just the binary files. The source, as always, is available in the google code page repository:
http://code.google.com/p/neo-myth-menu/

Most of the controls for the interface are shown at the bottom of the display. The difference between Run and Run2 is Run resets back to the menu, while Run2 resets back to the game. "MODE" will switch between the different forms of shortened names in the browser window: there is shorten on the right, shorten in the middle, and shorten on the left. "A" brings up the OPTIONS display where you can do things like set the save memory, enter cheats, etc.

As always, please report any issues you run across. We're always trying to improve the menu.

Oh, just a reminder - people can play VGM music off SD card. Even Neo3-SD folk. Just "run" the song and it will load and play. It loops forever, or until you press "C" as the message on the display shows. You can play VGMs up to 7 MBytes long. Compressed VGM files (like VGZ) are not supported - they MUST be decompressed!

EDIT: 2012/09/23 - Quick update to v2.9.1 for BRAM fixes
EDIT: 2012/09/23 - Another quick edit; this one adds a hardware info display. Press "Z" to toggle between the Help Messages and the Hardware Info Messages at the bottom of the display.
EDIT: 2012/09/24 - Fixed problem with using CD BRAM from flash.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on September 23, 2012, 10:24:36 PM
Great Chilly!!! Thank you.

But i guess you forgot the BRAM issue, the SCD Backup RAM is detected as a regular Savestate Game in the flash!
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 24, 2012, 01:26:31 AM
Great Chilly!!! Thank you.

But i guess you forgot the BRAM issue, the SCD Backup RAM is detected as a regular Savestate Game in the flash!

Actually, I didn't forget it at all - I made it a separate state. Before, it was a combination state of being the SMS save state + the largest size. The "largest" size was checked alone in a number of places making certain games save as the SMS state. So I added a BRAM state that is separate from the other states. There should be three states, now: MD32X, SMS, and BRAM. Maybe I goofed up the BRAM at the last moment... I'll test it again, but it should be like it was, only no longer causing certain MD32X states to be handled as SMS states.

EDIT: Updated to v2.9.1 with BRAM fixes... swear to God - I fixed these quite some time back, but somehow it got un-fixed! Very strange...
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 24, 2012, 07:16:01 AM
Yet another update - on Dr.neo's advice, I added some extra hardware info to the display. Press "Z" to toggle between showing the help messages or the hardware info at the bottom of the display. May come in handy when reporting bugs.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on September 24, 2012, 08:35:06 AM
Hi... Just tried 2.9.2 (with nice Z button feature), but couldn't initialize BRAM... Am I doing something wrong? I used the 1.30 Neo Programmer, my flash is Rev. A 256kb. Tried it on a CDX, result was a black screen.

EDIT: Better Pic Added.
Title: Re: NeoMythMenuDX-v2.9
Post by: Dr.neo on September 24, 2012, 10:28:18 AM
great job CW,from now we can know what's the exactly HW are using,not need to guess again  ~sm-91.gif~.gif
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 24, 2012, 02:24:52 PM
Hi... Just tried 2.9.2 (with nice Z button feature), but couldn't initialize BRAM... Am I doing something wrong? I used the 1.30 Neo Programmer, my flash is Rev. A 256kb. Tried it on a CDX, result was a black screen.

Huh... never tried it on a flash-only cart. I've always just loaded it from SD. I'm not sure how the PC client writes the file to flash... notice that run mode (1)? That SHOULD be 9 for the BRAM. I'll try it on one of my rev A carts and see if I can't get that working. I'll have it going by tomorrow.
 8)
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 24, 2012, 03:21:43 PM
Fixed problem with using CD BRAM from flash. Some time back, there was a problem with games running from flash with sram having inconsistent run mode values. When I fixed that problem, I forgot about BRAM, so the run mode was being changed from 9 to 1. Another check in the code for BRAM and the problem is solved. Sorry about that - I just so rarely ever use the flash given how easy loading from SD is.
 ::sm-02::
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on September 25, 2012, 03:03:51 PM
Thanks for the efforts, BRAM mode is enabled! Yes, SD loading may be much easier, but I can't afford it right now.

Well, I don't know if this is a complicated issue, BRAM in flash seems to corrupt data. I started my CDX, formatted the RAM, and started Sonic CD. I played all the first level and recorded it in the RAM as (00) using the Sonic CD RAM Manager. After turning CDX off and on, the Sonic CD RAM manager presented corrupt data (QGNICCD _00). Viewing by the CDX Internal RAM manager, it showed 1010 blocks of free memory. When I went to delete items in the RAM, the Sonic CD file appearead to have 2083 blocks used! And I couldn't delete it until I formatted the RAM.

I know the flash doesn't work well as the SD, but I'm just reporting this issue. Anyway, I'm planning to buy a Neo SD Adapter in a few months... Well, I can live with this.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 25, 2012, 08:40:38 PM
There was a bug in the size of the bram... we started with FF04, which reports 128KB of bram like the official BRAM. The problem is the maximum amount of sram in the GBA cart is 64KB, so we switched to FF03, which is 64KB of BRAM. So you have to reformat to have a proper BRAM block table. Sorry about that, but it really was wrong... people were losing data since the SCD was trying to use bram that didn't exist. So you only have half as many blocks are the official bram, but you can change which bank is used for more storage if you need it. The BRAM defaults to bank 3, but if you go to the options, you can change that to 0 through 3 for a maximum of 256KB of total storage. Of course, if you use sram with other game, be sure not to overwrite the banks they use.

The following chart can be used to keep track of how the different banks of different sizes overlap. Print it out and write the name of the game in the block used for the size and you shouldn't have any trouble with games overwriting each other.
 :D

Code: [Select]
  64Kbit    128Kbit   256Kbit   512Kbit    1Mbit
   4KB        8KB      16KB      32KB      64KB
 _________________________________________________
| bank 0  | bank 0  | bank 0  | bank 0  | bank 0  |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 1  | bank 1  |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 2  | bank 2  | bank 1  |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 3  | bank 3  |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|         |
| bank 4  | bank 4  | bank 2  | bank 1  |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 5  | bank 5  |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 6  | bank 6  | bank 3  |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 7  | bank 7  |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|_________|
| bank 8  | bank 8  | bank 4  | bank 2  | bank 1  |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 9  | bank 9  |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 10 | bank 10 | bank 5  |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 11 | bank 11 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|         |
| bank 12 | bank 12 | bank 6  | bank 3  |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 13 | bank 13 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 14 | bank 14 | bank 7  |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 15 | bank 15 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|_________|
| bank 16 | bank 16 | bank 8  | bank 4  | bank 2  |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 17 | bank 17 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 18 | bank 18 | bank 9  |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 19 | bank 19 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|         |
| bank 20 | bank 20 | bank 10 | bank 5  |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 21 | bank 21 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 22 | bank 22 | bank 11 |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 23 | bank 23 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|_________|
| bank 24 | bank 24 | bank 12 | bank 6  | bank 3  |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 25 | bank 25 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 26 | bank 26 | bank 13 |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 27 | bank 27 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|         |
| bank 28 | bank 28 | bank 14 | bank 7  |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 29 | bank 29 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|         |         |
| bank 30 | bank 30 | bank 15 |         |         |
|---------|         |         |         |         |
|_________|_________|         |         |         |
| bank 31 | bank 31 |         |         |         |
|---------|         |         |         |         |
|_________|_________|_________|_________|_________|


Note - the 4KB sram blocks take 8KB of sram since 8KB is the smallest unit of size for the bank selection. So there really isn't a difference between 64Kbit and 128Kbit SRAM modes as far as sram usage goes.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on September 26, 2012, 01:45:19 AM
I actually have just SCD_SRAM.bin burnt in the flash, with no other SRAM game in it, which means I have full SRAM in the GB cartridge to use. When you say format it, are you refering to the SRAM or the game flash? I can successfully format the SCD RAM through the SCD Memory Menu. I used the clean SRAM feature inside the Deluxe Menu, I can always format this way.

EDIT: As my 1st attachment shows, I am already using slot 0, and Myth Menu offers me slots 0, 1, 2 and 3 (for SCD_SRAM.bin). Tried all of them.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 26, 2012, 05:15:14 AM
I actually have just SCD_SRAM.bin burnt in the flash, with no other SRAM game in it, which means I have full SRAM in the GB cartridge to use. When you say format it, are you refering to the SRAM or the game flash? I can successfully format the SCD RAM through the SCD Memory Menu. I used the clean SRAM feature inside the Deluxe Menu, I can always format this way.

EDIT: As my 1st attachment shows, I am already using slot 0, and Myth Menu offers me slots 0, 1, 2 and 3 (for SCD_SRAM.bin). Tried all of them.

I meant format on the SCD side. Each bank would need to be formatted to be used. Set it to 0, start the CD, format the bram, reset to the menu, set the bank to 1, start the CD, format the bram, reset to the menu... etc.

If you format all four banks on the SCD side, you'll have a total of 256KB of BRAM accessible 64KB at a time.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on September 27, 2012, 01:55:18 AM
I'm sorry, but I can't get it to work properly. I formatted all the 4 sram slots and it keeps corrupting the save data, doesn't matter which slot I use for 11 blocks of the SonicCD save ram data. Though, there are two things I observed:
1 - Sometimes the Myth Menu detects my GBA flash as 512Kb Type C. I guess it has nothing to do with the issue, but just reporting it.
2 - When I first copy save data from SCD Internal memory to the Backup RAM, it does right, and I can transfer this file (Sonic CD's one) to another SCD without corruption. In other words, it DOES work when I copy data using the internal SCD RAM manager. When I access game screen, it corrupts just by starting the game.

Anyways, I don't want to be a pain talking 'bout an old product. I'd better buy in a few weeks a new NEO2SD, as it keeps going to be very tricky. Thanks CW for the patience and support!
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on September 27, 2012, 07:49:24 AM
I'm sorry, but I can't get it to work properly. I formatted all the 4 sram slots and it keeps corrupting the save data, doesn't matter which slot I use for 11 blocks of the SonicCD save ram data. Though, there are two things I observed:
1 - Sometimes the Myth Menu detects my GBA flash as 512Kb Type C. I guess it has nothing to do with the issue, but just reporting it.

I've seen that - the flash ID reported by the A type carts sometimes come back as the C type after running a game. If you reset again, it reports the right value. No idea why it does that, but it won't affect anything in the menu.

Quote
2 - When I first copy save data from SCD Internal memory to the Backup RAM, it does right, and I can transfer this file (Sonic CD's one) to another SCD without corruption. In other words, it DOES work when I copy data using the internal SCD RAM manager. When I access game screen, it corrupts just by starting the game.

Anyways, I don't want to be a pain talking 'bout an old product. I'd better buy in a few weeks a new NEO2SD, as it keeps going to be very tricky. Thanks CW for the patience and support!

I'll look at it a little more, but I'm not sure what the issue would be where it works with the SCD manager and not the game. Very strange.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on September 29, 2012, 03:54:32 PM
I'll look at it a little more, but I'm not sure what the issue would be where it works with the SCD manager and not the game. Very strange.
Sorry, tested it again and the data corrupts after powering off... I remember to have done a copy once from SCD to other SCD, but don't remember in which conditions.
Title: Re: NeoMythMenuDX-v2.9
Post by: Ichiban Rei on October 17, 2012, 11:19:52 PM
Hey Chilly, I've been out of the loop for a while and have a couple of questions.

I own the original MD cart that came packed with the 512Mb cart.  Reading about the Neo3 SD sounds exciting. 

1.  If I understand this correctly, now you can have as many roms on your SD, and when loading the game, it will load SRAM for that game as well?  Previously there was a limitation on SRAM slots allotted to games.  So you had to minimize the number of games that required SRAM on the cart, then you had to remember what slot your particular game's save memory was on.  Is this now not an issue?

2.  Where does one purchase a Neo3-SD?  I don't see it on the IC2005 Smart Shop.  Only Neo2 I think.

Thanks! 


OOPS!  I didn't realize this thread was in development.  Please move if needed.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on October 18, 2012, 01:18:01 AM
Hey Chilly, I've been out of the loop for a while and have a couple of questions.

I own the original MD cart that came packed with the 512Mb cart.  Reading about the Neo3 SD sounds exciting. 

1.  If I understand this correctly, now you can have as many roms on your SD, and when loading the game, it will load SRAM for that game as well?  Previously there was a limitation on SRAM slots allotted to games.  So you had to minimize the number of games that required SRAM on the cart, then you had to remember what slot your particular game's save memory was on.  Is this now not an issue?

It's not an issue when running from the SD card. You normally leave it set for the default bank (0) and in the Save RAM Manager, turn on the automatic save/restore option, which loads the bank before running the game, then saves the bank to SD the next time the menu is run (so don't forget to reboot into the menu after running the game! ). While in the browser with the game selected, press A for options, move down to the Save Manager option and press C. The automatic setting should be first in the list - press C again to toggle it from off to on. Then press A to exit the screen and then B to run. Once you've set the Save Manager to automatic, it remembers the setting, so you only have to do that the first time you run the game.


Quote
2.  Where does one purchase a Neo3-SD?  I don't see it on the IC2005 Smart Shop.  Only Neo2 I think.

Thanks! 


OOPS!  I didn't realize this thread was in development.  Please move if needed.

Not a problem. Questions like above are fine in the development thread.

And the Neo3-SD should be available through IC2005... it's on the NDS/NDS Lite page - here's the link:
http://www.ic2005.com/shop/product.php?productid=44&cat=5&page=1
Title: Re: NeoMythMenuDX-v2.9
Post by: Ichiban Rei on October 18, 2012, 10:32:21 PM
Thanks so much for the detailed answer.  I was on the fence about upgrading to SD but the benefits of save management and rom storage are huge.  I'll be ordering the card now.  Thanks!  I can load up my old 512 with my favorite SMS games since I read the Neo3 does not support SMS.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on October 19, 2012, 07:38:20 AM
Thanks so much for the detailed answer.  I was on the fence about upgrading to SD but the benefits of save management and rom storage are huge.  I'll be ordering the card now.  Thanks!  I can load up my old 512 with my favorite SMS games since I read the Neo3 does not support SMS.

Yes, that's what I do with those flash carts. While I can load SMS games from SD on ONE Myth cart (the V5 hardware cart), none of the others can, so I need SMS games on flash cart for the others (only have one V5 cart).

It's too bad the SMS mode didn't also use the PSRAM in the Myth - that would have dealt with any of the problems running SMS from SD.
Title: Re: NeoMythMenuDX-v2.9
Post by: kumaneco on November 04, 2012, 08:56:44 AM
NeoMythMenuDX-v2.9 does supports neo3-tf ?
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on November 04, 2012, 10:20:07 PM
NeoMythMenuDX-v2.9 does supports neo3-tf ?

Don't have one, so I can't say for sure. However, the TF versions of the Neo2/Neo3 carts seem to just be MicroSD versions of the larger carts, so they SHOULD work fine.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on January 13, 2013, 12:42:36 AM
Hi,

Finally got my hands on the nice NEO3 SD card. Very good product, works very well at allmost everything.

I was very confident that it would solve the SCD BRAM size issue (posted in this thread by me), but I still have the same problem presented in the NEO2 flash card, the BRAM corrupts its data showing a garbled save name in SCD BIOS Memory manager using 2083 blocks of memory. When I go to format RAM, it lists 1 Saved Item(s)/1010 Free Memory. I'm using MDEBIOS.BIN dated 23/09/2012, 2.9.3 I guess. It was copied to \menu\md. It works on the first time, after I turn off and restart my CDX, the data is corrupted. Any different steps to try?
Title: Re: NeoMythMenuDX-v2.9
Post by: Dr.neo on January 13, 2013, 11:45:06 AM
NeoMythMenuDX-v2.9 does supports neo3-tf ?
neo3-tf can load the rom from tf card and run, but some version neo3-tf cart don't come with battery so can't keep the save on md myth and snes myth.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on January 15, 2013, 03:26:11 AM
My NEO3-SD has generated this file SCD_SRAM.brm (attached) with corrupt Sonic CD data. Also, issue is very alike to what this guy shows in the very ending of this video. I don't need to access Sonic CD to reproduce the error, just entering the SCD Memory Manager is enough.
http://www.youtube.com/watch?v=_QT3zr_wYUY
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on January 15, 2013, 03:45:53 AM
I'll look into it again... perhaps one of you having the trouble can give a list of steps that creates the trouble? That would make it easier for me to find any bugs. Just saying trouble exists doesn't help in recreating it to spot bugs. That's the "fun" part of bug hunting... some folks are great at that. I love it when someone can give a nice clear set of steps that always causes the issue.
 ~sm-44.gif~
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on January 15, 2013, 10:18:35 PM
I can't figure out what am I doing wrong, because I really think I'm doing all the process like anybody would. Anyway, I took a little time to make a video with the whole issue, and made a step by step list to get the bug. The video is at the last line of this post.

Preceding the video I did the following steps:
1)Formatted SD Card (2GB Kingston)
2)Copied SCD_SRAM.BIN into root
3)Plugged into the NEO3/Slimloader IV

The video describes the following:
4)Fired up CDX
5)Watched Myth Menu folder creation
6)Pressed Z to view Hardware Info
7)Selected SCD_SRAM.bin and pressed A
8)Enabled SRAM Manager Service
9)Cleared ALL SRAM
10)Used SRAM slot 3 (default)
11)Ran SCD_SRAM.bin
12)Formatted RAM Cart in SCD Manager
13)Copied file SONICCD____ with 11 blocks from SCD Internal Memory to RAM cart.
14)Verified file size in Menu Erase RAM Item. Size is OK (11 blocks).
15)Turned off CDX
16)Turned on CDX
17)In Myth Menu, used the same slot 3 for SRAM
18)Ran SCD_SRAM.bin
19)Entered SCD Memory Manager
20)Entered Menu Erase RAM Item.
21)File SONICCD____ with 11 blocks is now QGNICCD____ with 2083 blocks!
22)Tried to delete this item from RAM. Says it is deleted, but it is not! It doesn't delete!
23)If I format, it works again, but only until I turn off/on.
24)In format RAM menu, free memory for RAM cart is 1010 blocks, 1 used block.

Any file I copy from Internal SCD Memory to RAM Cart glitches size and garbles name. Sonic CD file is just one example. I get exactly the same behaviour with my NEO2 Flash 256kb. Tried it with other Sega CD/Mega Drive combos too. Any file I copy from the SCD Internal Memory gets corrupted. Also, tried disabling Myth SRAM Manager Service, and all the other save slots, 0,1 and 2. Same behaviour.

Link for video:
http://www.youtube.com/watch?v=dUe188e1WCY

If more evidence is needed, I sure will bring'em!

Thanks!
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on January 17, 2013, 02:56:07 PM
Have you tried reseting back to the menu before turning off the CDX? The save memory for BRAM is handled just like games - the memory isn't saved to sd card until the next time you run the menu. If you are having issues with the sram on the GBA card (low battery for example), turning the system off and on to run the menu may lose data. Get in the habit of reseting back to the menu before you turn off your system for safety.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on January 18, 2013, 10:12:24 PM
Yes, I tried doing it that way too, the only difference I noted is that the garbled SonicCD save file took 35 blocks this time. Generally it states 2083, but not this time. The NEO3 has a save battery? In my NEO2 256kb I can save all SRAM games normally, so I guess battery is fine. I think I can't copy or save anything to my flash cart without having issues. I wonder if you have succeeded anytime when playing with SCD BRAM with the NEO MYTH MD, because I simply can't find a way to make it work.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on January 19, 2013, 04:07:45 AM
Yes, I tried doing it that way too, the only difference I noted is that the garbled SonicCD save file took 35 blocks this time. Generally it states 2083, but not this time. The NEO3 has a save battery? In my NEO2 256kb I can save all SRAM games normally, so I guess battery is fine. I think I can't copy or save anything to my flash cart without having issues. I wonder if you have succeeded anytime when playing with SCD BRAM with the NEO MYTH MD, because I simply can't find a way to make it work.

All Neo flash cards with save ram have a battery as far as I know.

Using BRAM works fine for me... but every now and then I might add something to the menu that breaks BRAM and I don't notice until someone mentions it since I don't play games that need extra BRAM very often.
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 02, 2013, 12:05:11 AM
I'm having a different problem with the Sega CD:  I can't get it to start at all!

I followed the video exactly like joyeux described.  After I click on SCD_SRAM.bin, it generates the file, but I just get a black screen...it never boots into Sega CD.  Then, I hit reset and try again:  Same thing, just a black screen.  When I clicked on it the second time, it said: "Restoring SRAM", so I believe I did everything right.

Here's my setup:
- Genesis 1
- Sega CD 1 (1.10 BIOS)
- Latest menu (2.9.3)
- SCD_SRAM.bin file downloaded from this thread
- NEO Myth MD 3in1 flash cart
- NEO2-SD Flash Cart
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on August 02, 2013, 02:18:50 AM
Does it show this for the rom info?

Type = MD, Size = 16Mb, Run = 0x9, SRAM Bank  = 3, Size = 1024Kb

I can't really test model 1 cd as I never have been able to get replacement BIOS + BRAM mode working (need more info on that mode from Dr.neo). I do my testing on a CDX and Model 2 SCD.
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 02, 2013, 02:41:56 AM
I just verified...that's exactly what mine says.  Is there any other way to launch into the Sega CD menu with the NeoMD plugged in?
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 03, 2013, 07:07:19 PM
Is there any way to access the Sega CD menu from the MD Myth?  I tried loading a bunch of different BIOSes (both from flash and the SD card), including the exact one that's on my Sega CD and it always does the same thing:  It gets to the main Sega CD screen and freezes.

If I could get SCD to load, I could at least test the saving that way. 
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on August 04, 2013, 02:05:07 AM
The only way to get to the CD menu is to load a BIOS or to use the BRAM file. Which BIOS you use depends on the model - Model 1 CDs need to use v1.x CD BIOSes, and Model 2 and CDX should use v2.x BIOSes.

Can you start a game before it freezes, or does it freeze before that?

Oh, another thing you could try is that Sonic rom with the mode 1 hack that was released last year. Or if you have a 32X, try my Wolf3D/SpearOfDestiny ports which also do mode 1 CDDA music in the game.

It's possible that the cart has a problem switching into CD mode, or it's possible the /CART line on your MD is bad so that no cart can switch into CD mode.
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 04, 2013, 02:25:36 AM
Thanks for your reply. To test, I used my Everdrive MD to load one of the same BIOS files i was using with the Neo and it boots into the Sega CD just fine. I've actually been using my SCD that way for a long time with no issues.

It freezes before I start a game:   It freezes immediately as the very first Sega CD-related image pops up on screen.

I actually don't know anything about the Sonic & Wolf 3D roms you mentioned. Could you post a link to them?  They sounds really interesting.
Title: Re: NeoMythMenuDX-v2.9
Post by: Dr.neo on August 04, 2013, 05:10:17 AM
can you run the standard MD games well?
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 04, 2013, 04:51:18 PM
can you run the standard MD games well?

Standard MD games, SMS games and 32x games all seem to work perfect.  The issue is only Sega CD.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on August 07, 2013, 06:28:44 AM
I actually don't know anything about the Sonic & Wolf 3D roms you mentioned. Could you post a link to them?  They sounds really interesting.

Wolf3D is over at Sega-16, but here's the last binaries: http://www.mediafire.com/download.php?5aw0n79pzngummw

The first post (which also contains the source and tables for how to order the CDDA tracks) can be found at Sega-16 here: http://www.sega-16.com/forum/showthread.php?6690-Wolf32X-finally-in-beta!&p=455745&viewfull=1#post455745

The hacked Sonic can be found somewhere at SonicRetro... no idea where.  ~sm-68.gif~.gif
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 07, 2013, 03:55:35 PM
I was able to get the ROMs, but not the audio CD's.  For Sonic, the main page points to a forum for the audio, but in that thread, the CD link is dead:

http://info.sonicretro.org/Sonic_1_with_Redbook_Audio (http://info.sonicretro.org/Sonic_1_with_Redbook_Audio)

http://forums.sonicretro.org/index.php?showtopic=27135 (http://forums.sonicretro.org/index.php?showtopic=27135)


Also, in your Wolf3D post, you link to a page with audio files, but they're all in .wlf format, not OGG.  Are there any links to the CD .iso's?


Sorry to be a pain, but this would be a good test of my Sega CD issue.  I really don't want the cart, unless Sega CD support works.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on August 11, 2013, 07:47:22 AM
I was able to get the ROMs, but not the audio CD's.  For Sonic, the main page points to a forum for the audio, but in that thread, the CD link is dead:

Also, in your Wolf3D post, you link to a page with audio files, but they're all in .wlf format, not OGG.  Are there any links to the CD .iso's?

Well, since the page with the example Sonic 1 CD is down, you'll need to mke your own using the tracklist on the info page. As to the Wolf3D music, the ogg files are in the listen buttons - when you click listen for the track, it loads the ogg file and start playing it, but also gives a download link.
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 11, 2013, 07:35:25 PM
Well, since the page with the example Sonic 1 CD is down, you'll need to mke your own using the tracklist on the info page. As to the Wolf3D music, the ogg files are in the listen buttons - when you click listen for the track, it loads the ogg file and start playing it, but also gives a download link.

Okay, I got it working...and the music plays fine from the CD. 

So, is there anything else I can try to launch Sega CD from the ROM cart?
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on August 11, 2013, 10:38:07 PM
Okay, I got it working...and the music plays fine from the CD. 

So, is there anything else I can try to launch Sega CD from the ROM cart?

If CD Mode 1 works, then the CD is working at the same time as the flash as long as it is in CART mode. That it fails in CD BIOS/BRAM mode seems to indicate the CART mode line can't be changed by the flash cart. That would probably be a flaw in the cart. I'd get it checked/replaced.
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 12, 2013, 06:43:03 PM
Thank you for your help!
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 26, 2013, 07:18:16 PM
That would probably be a flaw in the cart. I'd get it checked/replaced.

I'm sorry to bother you again Chilly, but sales@ic2005.com is refusing to return the MD Myth.  They keep saying "wait for Chilly Willy's reply", but you already DID reply and tell me to get it checked.  Is there any way you can respond to this again and maybe they'll finally allow me to return it?

Once again, I'm really sorry to bother you.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on August 27, 2013, 06:06:23 AM
Dr.neo messaged me about it, so I'll tell him it would be best to replace it. There's not really any more testing we can do over the internet.
 ???
Title: Re: NeoMythMenuDX-v2.9
Post by: robneal81 on August 27, 2013, 02:53:51 PM
Thanks again!
Title: Re: NeoMythMenuDX-v2.9
Post by: treepop on February 07, 2014, 02:35:26 AM
Time for an update! This version features Neo3-SD support... Dr.neo sent me one, and I spent the day making sure it worked like it should.
 :D

The main problem people had before was saving/restoring the sram. That turned out to be mostly bugs in the game save/restore code. I can't believe how buggy that code was! It was even affecting the Neo2-SD and Neo2-Pro, much less the Neo3-SD. So the new menu also features less buggy save/restore of game saves for everybody!
 ;D

While working on the Neo3-SD support, I beefed up the cart identification. The hardware info line at the bottom of the browser box now shows the exact cart in use, from the very first 256Kbit rev A cart to the brand new Neo3-SD. Another change in the interface has to do with what browsers you can use: people using flash-only carts can only toggle between the flash browser and the USB mode. People on the Neo2-SD and Pro can switch between the flash browser, USB mode, and SD browser. If no SD card is in the Neo2-SD/Pro, it starts in the flash browser, and if an SD card is present, it starts in the SD browser. People with the Neo3-SD cart only get the SD browser and nothing else. You can start the Neo3-SD without an SD card, but you get the SD browser with no entries in the browser list. You can then insert an SD card and hit "START" to show the contents. Hitting "START" on the Neo3-SD ALWAYS makes it show the root directory of the SD card. It's an easy way to go back several directory levels, or to show a new card if you change SD cards. You can boot the menu from the SD card on the Neo3-SD just like on the Neo2-SD/Pro. That makes it easy to run updates - just copy the MDEBIOS.BIN file to the /menu/md/ directory of the SD card. No need to update the menu in the Neo3-SD menu flash... unless you want to, of course.
 ~sm-74.gif~.gif

For folks just joining us here, these are just the binary files. The source, as always, is available in the google code page repository:
http://code.google.com/p/neo-myth-menu/

Most of the controls for the interface are shown at the bottom of the display. The difference between Run and Run2 is Run resets back to the menu, while Run2 resets back to the game. "MODE" will switch between the different forms of shortened names in the browser window: there is shorten on the right, shorten in the middle, and shorten on the left. "A" brings up the OPTIONS display where you can do things like set the save memory, enter cheats, etc.

As always, please report any issues you run across. We're always trying to improve the menu.

Oh, just a reminder - people can play VGM music off SD card. Even Neo3-SD folk. Just "run" the song and it will load and play. It loops forever, or until you press "C" as the message on the display shows. You can play VGMs up to 7 MBytes long. Compressed VGM files (like VGZ) are not supported - they MUST be decompressed!

EDIT: 2012/09/23 - Quick update to v2.9.1 for BRAM fixes
EDIT: 2012/09/23 - Another quick edit; this one adds a hardware info display. Press "Z" to toggle between the Help Messages and the Hardware Info Messages at the bottom of the display.
EDIT: 2012/09/24 - Fixed problem with using CD BRAM from flash.

Is there a video on how to step by step upgrade my firmware? I tried doing it and the cart stopped working. Luckily I backed up the original firmware, so it was fine.
Title: Re: NeoMythMenuDX-v2.9
Post by: ChillyWilly on February 18, 2014, 09:53:05 AM
It's not a video, but it does show how to burn the Neo3-SD menu:
http://www.neoflash.com/forum/index.php/topic,7489.0.html

If you have the Neo2-SD or Neo2-Pro, you just use the regular format function in the PC client app, which is found here:
http://www.neoflash.com/forum/index.php/topic,7645.0.html

If you DO have the Neo3-SD, use the Neo3-SD menu posted above rather than whatever comes with the PC client.
Title: Re: NeoMythMenuDX-v2.9
Post by: treepop on August 20, 2014, 07:09:32 AM
Thank you! I will check it out!
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on October 21, 2020, 05:19:45 AM
Even when I can rest assured with my V1 Mega Everdrive, from times to times I mess with my NEO Myth MD V4. I keep it because of the FM sound in SMS games (I have the 256Kb flash exclusively for SMS FM games), and because I like to see this old stuff working. NEO3-SD is really a mess, you have a SD card stuck in a GBA cartridge, stuck in a MD cartridge, stuck in the MD. That's why it's prone to a lot of failures. Recently I changed the SRAM battery in hopes of solving the sram issue caused by the connection/menu issues.

First I tried to check the old BRAM bug, it still corrupts BRAM even with device always on. I guess my device is flawed because I saw only a guy posting here the same problem, 9 years ago:
https://www.neoflash.com/forum/index.php?topic=6328.0 (https://www.neoflash.com/forum/index.php?topic=6328.0)

ITOH, I tested a lot of SRAM games, and all of them worked fine, as long as I didin't use the SRAM Manager to write and restore the srm files. I had a new battery and all I needed was try to not mess with the save slots from each game.

Anyway, I found a new bug in the Menu 2.9.3. Duke Nukem 3D uses 256Kb of SRAM. Deluxe Menu 2.9 SRAM Manager backs up the .srm file size as a 32KB file (256Kb), but the .srm file comes filled with 00's at the even bytes. It means the save data is cut by half, since the file should be 64KB. AFAIK, the save data is stored only in the odd bytes. I set the SRAM Manager off because it always loads this file in the sram before the game runs, and it will always corrupt the game save.

I attached two files, in case somebody, someday, would ever read this and test. The first is the .srm file DX Menu created (SRAM manager is disabled so I set to write the .srm manually). The other one is a full 2Mb SRAM dump extracted by the official NEO Programmer. If you compare the first 32KB from 2Mb dumping (where the DN3D is stored - slots 0 to 3) to the 32KB .srm you will understand that the SRAM Manager is writing 00's on even addresses and making it incomplete. So the file size should be twice, 64KB to completely store the save data.
Title: Re: NeoMythMenuDX-v2.9
Post by: joyeux on October 23, 2020, 09:20:50 AM
I've been experimenting with BRAM now (free time, finally!). I confess, I like to play with the Myth, and I really would like to see this last feature working. Where are all the Myth MD users? Maybe they are happily enjoying their Everdrives and though I already have one, I suppose I'm one of the few who still plays the Myth occasionally. Contrary to what I've said before, I don't believe my device is defective, I believe very few users tried these features and didn't report issues.

If I turn off my console QUICKLY after copying a file from the internal RAM at the SCD Memory Manager, it will keep a non-corrupted BRAM content in the Myth SRAM. It is a matter of time, really. If I wait some seconds, exit SCD Memory Manager and enter again, that will be the time it takes to corrupt the data, presenting garbled names and absurd block sizes, preventing further writings (not enough space), except formatting.

So I decided to compare the BRAM dump files before and after glitching out. And I found out the altered data are just some bytes at the end of the file (maybe it's a "header" for game save index, name and size). Chilly Willy, if you're still lurking and is willing to take a look at this (because maybe you are the only one who could), I am posting a comparison of the two files, the good and the bad ones. Please don't feel pressured.

Anyway, I'll post some info.

The scenario is the same as before:

1) Created Sonic CD file in the internal memory by starting a Sonic CD game without the Myth in the MD.
2) Now using the NEO3-SD and the Myth menu, selected SCD_RAM.bin (made of "FF 03"'s) with "A", set it to SRAM slot 3 (the last 512Kb/64KB of 2Mb/32MB).
3) Disabled SRAM Manager to prevent any bad SD Card writes and restoring (possibly caused by connection/power issues). Battery is new and working.
4) Cleaned slot 3 in SRAM Manager.
5) Booted Sega CD with SCD_RAM.bin using "A" and "C" in the Menu DX.
6) In Sega CD Memory Manager, the External RAM was formatted, resulting in 1021 blocks free.
7) Sonic CD data (11 blocks) is copied to External RAM (Myth). Entering in "erase data" in SCD RAM Manager, it shows 1010 free blocks. Shut down the Mega Drive and I extracted the first Myth SRAM dump (the GOOD one, tested in Kega).
8) Then I proceeded returning to the Sega CD Memory Manager, and accessing the erase data screen, this time showing the corrupted data.
9) Extracted a second SRAM dump, this time with the BAD one so I could compare the files.

HexComp displayed the following changes:

File 1: C:\EMU\Fusion364\BRM\SCD_RAM_GOOD.CRM (65536 bytes, Start offset 0x0)
File 2: C:\EMU\Fusion364\BRM\SCD_RAM_BAD.CRM (65536 bytes, Start offset 0x0, Shift 0x0)

0000FF80: 00 20
0000FF81: D4 54
0000FF83: 00 20
0000FF84: 00 20
0000FF88: 03 20
0000FF89: 03 20
0000FF8A: 03 20
0000FF8B: 00 20
0000FF8C: 03 20
0000FF90: 00 20
0000FF91: 03 20
0000FF92: 00 20
0000FF93: 00 20
0000FF94: 00 20
0000FF99: D2 52
0000FF9A: F5 75
0000FFA1: 14 20
0000FFA2: F5 75
0000FFA8: 00 20
0000FFA9: 03 20
0000FFAA: 12 20
0000FFAB: 00 20
0000FFAC: 0A 20
0000FFB0: F5 75
0000FFB2: ED 6D
0000FFB9: A5 25
0000FFBA: 88 20
0000FFBB: 14 20
0000FFCB: 00 20
0000FFCC: 00 20

30 bytes changed, 11 locations

The game data itself is in the beginning of the files and is identical, so I conclude game data is intact, while the bad data is something related to the last bytes of the file before "SEGA_CD_ROM" and "RAM_CARTRIDGE". I looked for info about BRAM file structure but there's very few information on these ending bytes.

The good news (?) is that it glitches the same bytes and values every time I try these steps. Well, there is something going on here...

Well, now I'm going to get a life! Thanks for reading!