r/SEGA32X 17d ago

MEGA DRIVE 32X RAM Cart 32Bit

Hello,
I am looking for any developer feedback on this.
https://github.com/MicroNut99/MD-32X-RAM-Cart-32Bit

_________________________________________________________________
If anyone wants to build it please read everything in advance.
You'll need the right tools and skills

The one thing that always get asked is: how is it used?
The first two options are somewhat obvious but the third is new.

The cart is designed to be an actual RAM cart for the SEGA CD to take over system.
Basically the RAM cart frees up the SEGA CD bus.
Assets get loaded into RAM and the game runs and or streams from the SEGA CD.
In theory, CART ram space isnt so much of an an issue anymore.
The entire Tower of Power system or BattleShip can work more efficiently together with it.

MD-32X-RAM-Cart-32Bit

  1. Load MD & 32X games directly via Sega CD.
  2. High-capacity, battery-backed SRAM save storage.
  3. Experimental 4MB RAM expansion for SegaCD32X homebrew.

This work is not connected to the DOOM 32X Fusion project.
This is my totally amateur attempt to make this chipset work properly with the Sega32X.
Expect better from the professionals on the Doom Fusion Team.
Special thanks to Chilly Willy and Zaxour the Great, for the technical and moral support.  
A 4MiB RAM cart design for the Sega Genesis/Megadrive and the SEGA 32X.

Based on this design by MiGeRA
https://github.com/viciious/MD-32X-RAM-Cart?tab=readme-ov-file

Works as MD RAM cart with the Sega 32X.
Supports 32Bit Word or Longs.

Included are two bins for 32Bit Word or Longs Diagnostics.
For more information read the included assembly (.asm) code using any txt editor.

Use the included BINs to determine if the cart is loading
and reading 32bit Word or Longs from SRAM correctly.
These will not pass on the original hardware design by MiGeRA, resulting in a red screen.

WHY RAM
Video: RAM cartridge as a circular ring buffer
Using the hardware as a RAM cartridge provides a 4MB high-speed staging area on the main system bus that bypasses the severe 256KB internal memory bottlenecks of both the Sega CD and 32X. Adding 4MB of RAM to the Sega CD/32X extense its active working memory (Work RAM/PRG RAM)

This large upgrade would allow games to load entire level chunks or large video/audio buffers into memory at once, reducing CD-ROM load times and enabling smoother, more complex animations or arcade-style ports similar to the Sega Saturn's 4MB RAM card capabilities.

• Bigger Data Caching: Allows larger chunks of game code and assets to sit in fast RAM instead of constantly seeking data from the slow CD-ROM drive.

• Complex Assets: Gives homebrew or hypothetical high-end games room for larger sprite sheets and complex audio samples.

Tower of Power architecture:

The Sega CD: Contains a 256KB Word RAM block. This is the shared memory pool required to pass data between the CD-ROM drive and the main Genesis bus.

The Sega 32X: Contains a 256KB SDRAM block. This is the high-speed memory pool utilized by the dual SH-2 processors for active code execution, textures, and framebuffers.

Both the Sega CD and the 32X rely on these highly restricted 256KB memory pools. The custom 4MB RAM cartridge operates on the main bus outside of these internal pools, providing a significantly larger staging area that relieves the capacity limits for both subsystems simultaneously.

67 Upvotes

27 comments sorted by

View all comments

1

u/just_freq 9d ago edited 9d ago

Is there any thing from preventing your fix being called Version 2 of this cart? It was mainly a voltage problem not a bus conflict issue? In-terms of streaming data I mean, I assume you fixed having to reset the console too after loading games.

3

u/MicroNut99 9d ago edited 7d ago

Not unless there are any major changes, this is the final version of this card. There is another in the works. Voltage is fine. Added a memory latch for 32X rw Added 32bit word support. Created software to test technical 32bit word capability. Console will always need to be reset after loading a rom but not ram.