SEGA Mega Drive / Genesis (Project Lunar) Hack Update 2

SEGA Mega Drive / Genesis (Project Lunar) Hack Update 2

Back due to popular demand, this is project update part 2 on our initial findings on the SEGA Mega Drive/Genesis mini. We are going to share any information and show a couple of bits that have taken place since the last update. Before we start, I assume you noticed our new kick ass project logo above. We love it and hope you do too.

Underclocked SoC, what the hell?

This has been talked about online a lot since we posted about it, so just some clarifications and facts. The SoC is either a rebranded/clone Allwinner A33. The A33 is the same SoC as the Allwinner R16/A23, the same SoC used in the NESC/SNESC.

The max rating for the Allwinner A33/A23/R16 is 1.5ghz quad core with a maximum of voltage of 1.5v. As shown here (direct from the R16 Datasheet):

The current clock scaling governor is set to ‘performance’ but is clocked at 1008000khz (1ghz). The config actually states for the SoC scaling max to be 1344000khz (1.3ghz) (the same as the SNESC/NESC) however it doesn’t reach that limit. The boot clock is set to 1008000khz and it doesn’t reach the 1.3ghz limit. This is shown here with us running the internal stress testhttps://i.imgur.com/9wiabAo.jpg

The bottom line is that we don’t know exactly why they did this as 1.3ghz is well within the theoretical (safe zone) of the chip and the power draw on the SoC should be well within safe limits too. The config also states the max freq clock should be 1.3ghz but it never clocks up to that. We hope to fix this as best we can in the hack so it at least mimics the same performance as the (S)NESC.

There are a number of performance tweaks that we will make when the hack is made available (Will be made optional!), this should help with the current emulation issues due to performance bottle necking. However, we also intend to make it so you can launch a different SEGA Genesis emulator from the stock UI, which we know should perform a lot better then it does currently.

There is only 256mb of RAM is that a problem?

Yeah kind of. The way the emulator/ui works right now is that it effectively decrypts and decompresses the assets directly into volatile memory, this is also a potential bottle neck. However, there are some things we are working on to overcome this and tweak the RAM configuration. Also toying with the idea of dumping the assets to tmpfs on the NAND but that will reduce NAND life so we are still looking into the best plan of attack on this.

Will the hack run 32x and Mega CD games?

Yes. As stated before we will look in to the launching of a different SEGA emulator from the stock UI which will allow the running of 32x and Mega CD games. This will be powered by picodrive likely.

Can you run your own apps/RetroArch/other emulators on it?

Yes. We did this a couple days after release, testing our boot programs and other arbitrary apps. RetroArch easily runs on the console, as it can effectively use the same build as the (S)NESC and cores. However, we set up a specific SEGA MD mini build target which builds the cores and RA against the SEGA MD libraries which are pulled directly from the console for good measure. This brings us nicely to the next topic…

The SEGA Mega Drive mini appears to be capable of 1080p

Don’t get too excited though! It appears there is a downscaling service on the console that is responsible for downscaling down from 1080p to 720p. This is different from what we have seen before from other classics where they natively run at 720p out the box. Technically the SoC is capable of 1080p but we have NO idea how well emulation would run at 1080p instead of 720p. (The assumption is not very well!)

This was a bit of a surprise when we was loading our test SDL2 app on the console using a 720p image and SDL2 FULLSCREEN settings below:
https://cdn.discordapp.com/attachments/499532327869743125/626350319260925963/HpBHMJch.png

(Excuse the old logo! This is when we was running our own programs on the console only a couple days into dev)

Right now, it’s unknown at this time how well the system would perform running at such a high resolution or if it’s even something that is feasible but an interesting find nevertheless

Potential Cut Mega Drive Music player + Intended ROMS discovered

Cyanic was digging through and found what seems to be the index array for what seems to be a cut music player intended for the SEGA Mega Drive mini. It looks like it would take tracks from particular secton of the ROMS on the console and play them back. On this file it also lists a number of ROMS that didn’t end on the console. Maybe these are ROMS they intended for the console but couldn’t get licenses for it?

You can check it out for yourself here

Where are you with the hack? Whats the ETA?

SPOILER: There is no ETA. Progress has been slow as we still don’t all have a test unit to physically work on however due to a select few very generous people (you know who you are!) we were able to order a JPN MD Mini on express delivery that should be here in a few days so this should help development a lot. (Plus we can dump and analyse the JPN rootfs)

We now have all the components we require for the hack and have set up all our remote build environments and automated dev ops for the project. Meaning that we are now in the process of testing and putting together the injector and payload.

The OSS provided by SEGA wasn’t 100% complete or capable of compiling OOTB, so we have had to make some educated guesses/reverse engineering in some places to make it work. However we have now successfully reproduced the Kernel and U-Boot and are putting together a custom flash image and testing it.

What can you expect?

We are still posting stuff on the developments channels so make sure to jump on the discord to make sure you are kept up to date with stuff, you can also ask us any questions about development there.  (https://discord.me/modmyclassic)

p.s. Please don’t ask us for dumps of the console or ROM dumps as these are copyrighted materials and it’s against the law for us to distribute them. We only provide free to to use software and don’t distribute copyrighted content!

Lastly, we do not intend to rush this project and it will be made publicly available when it’s ready. This might mean that constant updates might become fewer but development on this as well as our other projects is 100% in motion.

Lastly we want to thank you all for your patience and continued support.

ModMyClassic.

Oh we are setting up an internal group youtube here: https://www.youtube.com/channel/UC5lypn3oCL1LxBNBfo5OLMA

Please give it a follow as we will post videos of stuff on here moving forward and it helps us out.

Mod My Classic

25 Comments

Espiox Posted on1:18 pm - 25th September 2019

The games listed in the music player info are the games that M2 released on PS3/360 (as Sega Vintage Collection), so I would assume that’s just leftover code?

    admin Posted on1:29 pm - 3rd October 2019

    Interesting. It is very possible being that they reuse this codeset quite a lot it seems within M2

vree Posted on1:32 pm - 25th September 2019

This sounds great. I hope indeed that you guys take your time to make it up to quality. It was kind of annoying how the (s)nes mini had constant new updates to flash. I rather wait half a year for something final than to update every week to something more stable/better.

Mini player Posted on2:04 pm - 25th September 2019

Just want to leave a thank you note from those of us that are happy with whatever you publish. You rock.

Tony Posted on10:25 pm - 25th September 2019

Will be a retroarch port for the genesis mini like on NES/SNES mini?

    admin Posted on1:28 pm - 3rd October 2019

    yes

Electrohead Dante Posted on4:13 pm - 26th September 2019

Beautiful. Progress and patience go hand in hand. While I’m not looking to do anything fancy with the Genesis Mini, I’ll be happy just to add a few titles I haven’t played in ages on it as well as ones I currently own physically on the actual system. Good times ahead. 👍

Côté Posted on11:50 pm - 26th September 2019

Thank you guy for all the time and work your doing

S.P. Posted on1:15 am - 27th September 2019

Soinding great so far. Thanks for your continued work on this devs.Looking forward to the mod.

Eric P. Posted on8:17 am - 27th September 2019

This looks like it would be an “Excellent”! ui alternative for the sega mini instead of it’s boring stock build. https://youtu.be/UeYjHdWNHxI?t=5 maybe you have already seen this. I hope this is helpful.

Eric P.

YES Posted on6:30 am - 29th September 2019

YES

Anthony Ferraro Posted on1:56 am - 1st October 2019

An old saying says “Better to be done well then ruined quickly”. I program myself and know first-hand the trouble a quick build can be, do your magic and take your time!

Alex Posted on4:16 am - 2nd October 2019

will the Picodrive emu on the Genesis mini render the rom visuals with the same crispness that the native emu does? in other words will the Genesis roms that we add look as crisp as the ones that come with the stock UI?

M2 did an outstanding job with the visuals downsampling from 1080p to 720p. Will Picodrive use a similar technique to ensure the graphics will remain sharp?

    admin Posted on1:26 pm - 3rd October 2019

    Yeah it does a pretty good job. Genesis Plus GX will also be available which is also a lot more accurate

    Ian Posted on2:05 pm - 4th October 2019

    It will be, Picodrive will be run through Retroarch, you’ll be able to change the resolution to whatever you please!

cecs Posted on2:30 pm - 2nd October 2019

How to add or change games (and cover) on actual UI?

    admin Posted on1:25 pm - 3rd October 2019

    We will be doing this as part of our hack

free.gen Posted on1:52 am - 3rd October 2019

Hi! For a long time there were no updates, it is very interesting to know how the hack is progressing. Can i read about it somewhere else?
I also noticed in this video: https://www.youtube.com/watch?v=mPrrwPO_2Nc
as the author added a sega mini style to snes mini – can this be downloaded somewhere?
Thanks for your work. I look forward to hacking.

    admin Posted on1:25 pm - 3rd October 2019

    Check out the discord for the live feed if updates and no as that is using copyrighted materials from the SEGA MD and running it on the SNESC

Paul Fisher Posted on10:24 pm - 9th October 2019

Hi everybuddy,

I can’t wait to load more games on to this Genesis Mini. Is this the best place for updates on the hack?

    admin Posted on5:31 pm - 13th October 2019

    Yep!

Maciek Posted on10:13 am - 11th October 2019

How much memory is left on Sega Mega Drive mini? Onve your fantastic job is done, will we be able to add a lot of games to its internal memory like SNES/NES or will rather usb stick be needed like for PSC?

Christian Posted on2:03 pm - 16th October 2019

Will it be possible to “rip” the rom of Darius and Tetris? Thx a lot for you work!

Chaos Husky Posted on4:57 pm - 18th October 2019

I feel quite bad.. I’ve had an MD Mini sat here since launch, now a second one and also a Raspberry Pi4 with 4GB RAM.. Whilst i’ve been waiting i’ve installed RetroArch/RetroPie etc, got the clocks to 2GHz on the CPU and the GPU is at 600 and goes to 750 for v3d.. Also got hold of a NES and SNES classic, no wonder they were hacked, they’re kinda crappy! Not going to bother with a Mini PSX though.. I’ll just get another Pi 4! Haha… For the same cost they certainly run much better than any of these Minis, just need to rebuild on a 64bit OS now so i can run PSX and N64 emulation!

If i can be of help let me know, one of the two MD Minis i have is going to be hacked as soon as it’s available! I also have 3 and 6 button pads if you still want anything testing with that.. Though sadly i don’t use Discord any more, it’s crap.

Kind regards and thanks for the hard work! Sega still awesome as always.. I was amazed by the speed of hacking the other classics.. Which are just ARM CPUs and emulators but they’re cute! I just wish i could already boost the clock for one of the Mini MDs.. I’d be happy with just that as a mod! Hah.

-Husky

Segafan Posted on3:14 am - 23rd November 2019

Just a big thank you for your hard work and glad to hear you’re taking your time and not listening to these annoying redditors who keep nagging for ETAs

Leave a Reply