Live data from Hacker News

Linux for the Sega MegaDrive

github.com

21–30 of 73 posts

Re: Linux for the Sega MegaDrive

#21
post #20

Still got my Mega Drive, purchased circa 1994. Recently brought it back to life with a Level Hike (I know, apparently RAD2x is better, anyway works well enough for me) HDMI adapter (otherwise sadly it doesn't work with new digital-only TVs), the main unit and all my old games (Sonic 1 and 2, Columns, Alex Kidd in the Enchanted Castle, Wonder Boy in Monster World, Shining Force (needed new battery in cartridge for sav…

people go through so much trouble buying expensive converters, scalers, etc. to make their old games look good on their new tv when there's plenty of old CRTs at thrift stores for maybe like 50 bucks for an excellent one with all the fancy hookups like component and everything, I don't get it. I understand CRTs aren't gonna be around forever so we should in fact be working towards future proofing but, they are around now. You can even find small ones if transportation or space is an issue.

Re: Linux for the Sega MegaDrive

#22

Genesis does what Nintendon't. > The lowly 68000 in the Sega doesn’t have a memory management unit required for the full Linux experience, so what’s really running here is a kernel compiled with the -nommu option. Huh... I thought Linux actually required MMUs. I was under the impression it'd never run on these old consoles because of that. Learned something new today. > A QEMU fork that emulates enough of the MegaDri…

There was no MMU in the Macintosh Classic/SE lineup which used the 68k as a CPU, but they still support the microcontroller targeted distros like uClinux. Unfortunately the tight integration with the ToolBox ROM makes it a fairly Herculean task. Microsoft bizarrely enough released Xenix for the Apple LISA as well, but that's more of a historic oddity.

Similarly, Basilisk II is a very worthy emulator for Mac 68k emulation so there's a lot to draw on for QEMU and the like.

Re: Linux for the Sega MegaDrive

#23
post #20

Still got my Mega Drive, purchased circa 1994. Recently brought it back to life with a Level Hike (I know, apparently RAD2x is better, anyway works well enough for me) HDMI adapter (otherwise sadly it doesn't work with new digital-only TVs), the main unit and all my old games (Sonic 1 and 2, Columns, Alex Kidd in the Enchanted Castle, Wonder Boy in Monster World, Shining Force (needed new battery in cartridge for sav…

Streets of Rage 2

Ghouls and Ghosts

Radical Rex

Jurassic Park

These megadrive games had great art and music and are still really enjoyable today

Re: Linux for the Sega MegaDrive

#24
post #20

Still got my Mega Drive, purchased circa 1994. Recently brought it back to life with a Level Hike (I know, apparently RAD2x is better, anyway works well enough for me) HDMI adapter (otherwise sadly it doesn't work with new digital-only TVs), the main unit and all my old games (Sonic 1 and 2, Columns, Alex Kidd in the Enchanted Castle, Wonder Boy in Monster World, Shining Force (needed new battery in cartridge for sav…

people go through so much trouble buying expensive converters, scalers, etc. to make their old games look good on their new tv when there's plenty of old CRTs at thrift stores for maybe like 50 bucks for an excellent one with all the fancy hookups like component and everything, I don't get it. I understand CRTs aren't gonna be around forever so we should in fact be working towards future proofing but, they are around…

I still have two, a Trinitron and an RCE. For a while, you couldn't give these away.

I sadly had to part with a 52" projector TV that had s-video inputs. Classics games on that was a thing to behold.

Re: Linux for the Sega MegaDrive

#25
post #20

Still got my Mega Drive, purchased circa 1994. Recently brought it back to life with a Level Hike (I know, apparently RAD2x is better, anyway works well enough for me) HDMI adapter (otherwise sadly it doesn't work with new digital-only TVs), the main unit and all my old games (Sonic 1 and 2, Columns, Alex Kidd in the Enchanted Castle, Wonder Boy in Monster World, Shining Force (needed new battery in cartridge for sav…

people go through so much trouble buying expensive converters, scalers, etc. to make their old games look good on their new tv when there's plenty of old CRTs at thrift stores for maybe like 50 bucks for an excellent one with all the fancy hookups like component and everything, I don't get it. I understand CRTs aren't gonna be around forever so we should in fact be working towards future proofing but, they are around…

Honestly, I think old games look best on modern TVs with an HDMI cable and no attempt to interlace / emulate the CRT.

Re: Linux for the Sega MegaDrive

#26

Very cool to see, so pointless it just had to be done. I was wondering how it was squeezed into 64KB of RAM but it uses the 4MB on the Everdrive cart. With that it makes sense, considering Linux can run on an N64 with 4MB of RAM.

RAM is hardly the only difference between the N64 and megadrive. The N64 has an MMU for one thing

Re: Linux for the Sega MegaDrive

#27
post #4

Earlier quoted context omitted.

(Disclaimer: I'm partial to "Mega Drive" myself.) Wikipedia has this https://en.wikipedia.org/wiki/File:Mega_Drive_vs_Genesis.gif blue = Mega Drive, red = Genesis Linked here: https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Vid... (didn't find the sales numbers, for those wondering. Sorry!)

Love that chart! It could also apply almost exactly to the "Buster Bros." artocle (everybody else other than North America knows it as "Pang"). This sort of rewriting of history is rife on Wikipedia.

We Japanese importers also knew it as Pang.

Re: Linux for the Sega MegaDrive

#28

Genesis does what Nintendon't. > The lowly 68000 in the Sega doesn’t have a memory management unit required for the full Linux experience, so what’s really running here is a kernel compiled with the -nommu option. Huh... I thought Linux actually required MMUs. I was under the impression it'd never run on these old consoles because of that. Learned something new today. > A QEMU fork that emulates enough of the MegaDri…

There was no MMU in the Macintosh Classic/SE lineup which used the 68k as a CPU, but they still support the microcontroller targeted distros like uClinux. Unfortunately the tight integration with the ToolBox ROM makes it a fairly Herculean task. Microsoft bizarrely enough released Xenix for the Apple LISA as well, but that's more of a historic oddity. Similarly, Basilisk II is a very worthy emulator for Mac 68k emula…

I plan to get this working on nommu mac at some point but I don't have one yet. I have a pile of 030/040 macs. Its not mentioned but this mc68000 kernel actually uses devicetree (like arm..) so its fairly portable.

In my QEMU fork there is support for a 68000 virt machine so you can have a multi-ghz emulated 68000 with 128MB RAM (maybe more, haven't tested) if you really want that.

Re: Linux for the Sega MegaDrive

#29
post #20

Still got my Mega Drive, purchased circa 1994. Recently brought it back to life with a Level Hike (I know, apparently RAD2x is better, anyway works well enough for me) HDMI adapter (otherwise sadly it doesn't work with new digital-only TVs), the main unit and all my old games (Sonic 1 and 2, Columns, Alex Kidd in the Enchanted Castle, Wonder Boy in Monster World, Shining Force (needed new battery in cartridge for sav…

Honestly, it's worth trying the Sega app on Switch / Switch 2. The games look and play great, you can save at any time, and you can "rewind" if a game gets a little too hard. The wireless controllers are also great too. (Granted, it only has Sonic 2.)

I've been slowly working through games I never got around to playing when I was a kid.

Re: Linux for the Sega MegaDrive

#30
post #15

Genesis does what Nintendon't. > The lowly 68000 in the Sega doesn’t have a memory management unit required for the full Linux experience, so what’s really running here is a kernel compiled with the -nommu option. Huh... I thought Linux actually required MMUs. I was under the impression it'd never run on these old consoles because of that. Learned something new today. > A QEMU fork that emulates enough of the MegaDri…

>Huh... I thought Linux actually required MMUs. I was under the impression it'd never run on these old consoles because of that. Learned something new today. There have been variants of the kernel around for some time that can run on microcontrollers without an MMU (mainly uCLinux).

m68knommu was merged into the mainline kernel in version 2.5.46: https://www.kernel.org/pub/linux/kernel/v2.5/ChangeLog-2.5.4...

Of course the 2.5 line was the unstable pre-release for the 2.6 kernel. That means that stable mainline linux has had nommu since 2.6.0, which was released 17 December 2003.

So yes, some time indeed.

Post reply on HN