Official Rhea Discussion
Sega Saturn Programming and DevelopmentEDIT: nvmd
I got some boards in yesterday, the pictures look like trash, sorry.
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/uo1TkbM.jpg?1)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/zGcWRKR.jpg?1)
This is exactly how my hardware menu will work:
The sd card connector on the left (which is too think, dumb me forgot the contacts were depressed on an sd card. So I have to get a new a board made or sand the backside down to thin it up) will plug into the rhea. The two pin connector on the topside will go to the sd card detect and write protect lines on the rhea board. You can see that the sd card is notched. So when this card is inserted into the rhea, the rhea doesn't think anything is inserted.
The main board on the right takes an 3.3v arduino pro micro. The board has 4 connectors, Power, LCD, Rotary Dial and SD Card. On the front side there is a spot for an sd card; that is what arduino and rhea will share. They both can't access the card at the same time so that's what the two surface mount chips are for. They are high bandwidth bus chips. (Hopefully they work, in theory they should be haven't actually tested this part yet
). The software is expecting the folder structure of the sd card to looks like this
Root
/00/ (Dir)
/Games/ (Dir)
Categories (File)
0-9 (File)
A (File)
etc
The Categories file is just a plain text file (no .txt extension but I more than likely add that in at some point) and loaded on startup, in contains just a list of sub files. I my case I did A,B,C. You could do whatever you like though, for example. Fighters, Japanese, Arcade, RPG, Racing etc.. Each of of these sub files contain a list of games. All games must be cdi. The actual cdi file should be in kept in /Games and this filename must match exactly what is in the sub file (minus the .cdi).
When you turn the saturn on, the rhea thinks there is no SD card inserted and the ardunio is always set to have access to the sd card first.
This is the run procedure:
Check folder 00 for game, if found:
------->Check for Config file to get last scroll locations
------->switch bus, at this point the rhea will instantly pickup the card and boot. The only reason a game would be found in 00 is if you just turn off the saturn while playing a game.
If not not found:
------->Get entries in Categories file
Once you select an entry, it reads the next sub file, just like the Categories file. Once you select it a game:
------>Overwrite Config file with new scroll locations
------>Move file from /Games/ to 00
------>Switch bus
While a game is running it displays:
Running:
Bomberman
If you press the button on the running display screen:
------>Switch bus back to arduino (rhea drops sd card)
------>Move file from /00/ to /Games/
------>Return back to previous scroll position
Filenames longer than 16 characters will scroll on the on the screen.
Filenames cannot be longer than 75 characters.
Each time you scroll the sd card is file is read and just two filenames are stored. This is for memory purposes. I'm only dealing with 2.5k sram on a pro micro. If you 40 items in a sub file the memory would be gone if I put this into an array etc. The scrolling is instant at only half spi speed, so its not a concern even with very very large sub files.
I wont be able to do anything more on this until the weekend. I also needed to get some different hookup wire. The connectors are I choose are on the small side (I was trying to keep the boards as small as possible) and are pain in the ass to crimp with the wire I currently have.
Awesome work, Citrus! Do you plan on selling these once you have it completed?
The surface mount stuff is pretty small, so it will take someone with soldering experience. Also to crimp the connectors requires an specialized crimp tool which costs around 70 bucks. I could however redesign the boards and just have solder pads, if people want it. I just think the connectors will make everything look very clean.
If someone wanted to pay me for materials and time it takes to assemble everything, I'll take their money.

Has anybody had trouble using the INI file on the root of their SD to change the region? I'm using .cdi files and I just can't get the images to work without an Action Replay. I've named the file Phoebe.ini, and "auto_region = 2" is the first and only line in the file. I'm lost.
So is there an inbuilt menu for it yet?
Recently got mine and its for my games nights, really don't want grubby fingers reaching towards the PCB,
Needs to be simple as I do get the odd numpty (YES ATARI CARTS GO IN BACKWARDS!! TURN THE SYSTEM OFF BEFORE REMOVING THE GAME!!)
Or has anyone modded the upper shell of the Saturn to have a longer button that presses it? (Or have it as the "Eject" button somehow)
I might mod the shell of my Saturn to add a SD card port extender and use a few smaller SD cards instead.
Recently got mine and its for my games nights, really don't want grubby fingers reaching towards the PCB,
Needs to be simple as I do get the odd numpty (YES ATARI CARTS GO IN BACKWARDS!! TURN THE SYSTEM OFF BEFORE REMOVING THE GAME!!)
Or has anyone modded the upper shell of the Saturn to have a longer button that presses it? (Or have it as the "Eject" button somehow)
I might mod the shell of my Saturn to add a SD card port extender and use a few smaller SD cards instead.
Noted.
I thought that the SD card could be removed while the SS was on
I will end up buying a few small numbered SD cards (1-4gb) and have a few games on each all of the same type and some custom cover art showing what games are on each (SD card wallet?)
Next question is, can I make the button on the shell light up so people can see where to press (this is a problem with my PC engine Everdrive, the bit of plastic I have over it is iffy)
I thought that the SD card could be removed while the SS was on
I will end up buying a few small numbered SD cards (1-4gb) and have a few games on each all of the same type and some custom cover art showing what games are on each (SD card wallet?)
Next question is, can I make the button on the shell light up so people can see where to press (this is a problem with my PC engine Everdrive, the bit of plastic I have over it is iffy)
A little post just to say that i follow your work carefully citrus3000psi 

Hi, I was wondering if anyone could help me identify a Victor Saturn for use with Rhea. Victor Saturns seem to be a bit trickier to tell what version it is. Anyone know if this Saturn is 20 pin?
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/Ypz9Jvp.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/nzLd6Sg.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/Ypz9Jvp.jpg)
![[IMG]](https://web.archive.org/web/2im_/http://i.imgur.com/nzLd6Sg.jpg)
Open it up, easiest way to tell is from the inside
Original thread: https://assemblergames.com/threads/official-rhea-discussion.57377/