Repository navigation
v1.0 — EmuTOS on the Sega Mega CD
An Atari ST desktop on a Sega Mega CD, booting from CD-R or from a cartridge.
EmuTOS runs on the Mega CD's sub 68000, where address 0 is PRG-RAM, so the Atari ST low-memory ABI is byte-authentic rather than emulated. The Genesis main 68000 runs iofw, a servant that converts EmuTOS's planar framebuffer to the VDP and injects pad input as IKBD packets. GEMDOS, the AES and the VDI are all really there.
Downloads
emutosmd-U.iso + emutosmd-U.cue |
the disc, NTSC-U. Download both into the same folder — the .cue names the .iso |
m1emu.bin |
512 KB Mode 1 cartridge |
SHA256SUMS.txt |
checksums for the three files above |
Disc: burn the .cue/.iso pair. Slow burns read more reliably on real hardware. The disc is region-locked; tools/build-iso.sh J|E builds the other two regions.
Cartridge: flash m1emu.bin, Mega CD attached. Region-free, and it works on a console whose drive no longer does — the cartridge carries EmuTOS, the ramdisk and the servant in ROM, and the laser never spins.
Controls
| D-pad | pointer |
| A / B | left / right click |
| Start | on-screen keyboard |
On the on-screen keyboard the D-pad selects and A presses. One of its keys enables a real keyboard on the EXT port at 4800 8N1. A Sega Mouse in port B also works.
Connections
Controller Pad in Port A, Mouse on Port B, UART on Port C (EXT).
Plan to support whatever configurations are connected at boot IE UART on Port A, controller pad out the back EXT port--whatever you desire, as they're all electrically the same, so anything can go anywhere EVENTUALLY.
UART Keyboard -- Model 1 with EXT port ONLY. Model 1 without EXT port and Model 2 do not have hardware UART.
EXT pin signal connect to
9 RxD — into the Genesis your adapter's TX
6 TxD — out of the Genesis your adapter's RX (only needed for Printer)
8 GND adapter GND
BEWARE Genesis outputs 5v, so you're UART adapter needs to handle 5v or you may cause damage to your adapter.
Drives
C: |
ramdisk, system drive; rebuilt every boot |
D: |
the disc (disc boot only) |
I: |
internal backup RAM, 8 KB |
S: |
cartridge save RAM, or a CD Backup RAM Cart |
Options → Save Desktop writes to I:, and both boots read it. Format I: once with FORMATI.PRG first — that erases any game saves, so copy them off with SRAMTOOL.PRG (which writes I: to S:\BRAM.BIN) if you need them. FORMATS.PRG formats S:. I: and S: use Sega's own backup RAM format, so game saves and EmuTOS files share the cart.
Seat a backup RAM cart before powering on. Hot-inserting one erases it.
README.TXT on C: describes each program on the disc — a picture viewer, a text editor, the formatters and the backup tool. PRN: is a printer on the EXT port.
Known not to work
The J region disc does not boot, and this is not a new fault — it has been true for as long as there have been J builds. Under Genesis Plus GX with a Japanese BIOS the disc parks on the BIOS screen: the frame hash is identical at 4500 and 6000 frames, and the servant's region of Genesis work RAM is still entirely zero, so ip.bin never ran. U and E both reach the desktop. docs/build.md says where to start looking.
Sonic is not here
He cannot be: the art and the movement constants are Sega's, and this project distributes neither. What the repository carries is the pipeline that reads them out of dumps you already own, and the port of GEOS-Genesis's engine onto this machine. docs/build.md covers building him; docs/sonic.md covers what that port had to solve.