It's time for someone to do Genesis Emulators for Sega CD !!

Talk about just about anything else that is non-gaming here, but keep it clean
claudio
128-bit
Posts: 563
Joined: Sat Jul 21, 2007 12:13 pm

Post by claudio »

lordofduct wrote:This is a thing that people have been screaming about for years.

Over at SX in the Sega Genesis/SCD dev and help sections one of their rules (which has been in effect for several years now) is to not even bother asking about playing Sega Genesis games via the CD-Rom of the SCD. There have been several lengthy discussions between hopeful gamers, programmers, and others on the topic (don't feel like digging for them).

The big problem is where to load the rom into for the processor to handle its information. You figure it this way, games on a genesis average 4-8 megabits, and climb to 32megabits (not to be confused with megabytes). The cartridge slot is directly accessed by the motorolla 68000 (the main cpu of the genny) for playing the game. With out the memory on the cartridge there is no space anywhere on the console to store that data for access by the genny. There isn't enough memory on the console to do so... even considering the extra memory the SCD adds.

Now in the case of that "Sega Classics Collection"... they are kinda a port... not really a port mainly because its the same freakin' hardware. But the games had to be modified to be playable on the SCD. I'm not sure exactly how, but by looking at the disc itself, from what I can tell is that the game was broken into several small parts that are then controlled by another program. These parts are loaded into the limited amount of memory when needed, and removed when not needed. (just like most disc games).

Other issues that come in are the fact that when the genesis boots up it checks the cartridge slot. If nothing is in the cartridge slot (designated by a certain pin) it automatically boots off the expansion port. If the SCD is connected to the expansion port it loads up the bios of the SCD as if it were a game cartridge, then putting it into SCD mode. To load and run a genny game you'd need some type of storage area for the game, and a way to drop back into genny mode.

And streaming the games like in the case of Sega Classics Collection... you'd have to create a build on a game by game basis. Basically porting it, in a sense, like I said it's not porting by definition. Its just you have to change the architecture of how the system looks at the game.


...
then again no one will trust what I said. But I tell you, have fun asking any of the genny programmers/hackers out there. I guarantee they probably won't appreciate the request.

i know, because I made the same fatal mistake myself several years ago.
Thanks for the great info.

Anyways, if they just made some type of bypass cart then thats a good possibility. you can have the cartridge load the roms off of the cd. but whatever sounds to complicated to me to get deep into.

I may look into the cartridge that plugs into the PC.

Soooo...Mabye the 32x has enough memory. They make Sega CD 32x games that run from the CD to the 32x's processors/memory. Mabye there is a way to make them, but it would require a 32x attached.
User avatar
lordofduct
Next-Gen
Posts: 2907
Joined: Sat Apr 01, 2006 12:57 pm
Location: West Palm Beach

Post by lordofduct »

The Sega32X CD are actually just SegaCD games that use the better video processor of the 32X... not actually the dual Risc CPU's. All the 32X really does is use its VPU to increase the colour palette and video resolution of FMVs.

The ram that the information is transferred over to, is actually the video memory being jacked onto the VPU's memory (which is seperate from the 32X's CPU memory) for processing.


Really in the long run, like I said, with extra hardware, maybe with the 32X combined as well to handle the extra processing required. A lot of hard work, and tricky programming to handle across all 4 processors and using the VPU off of the 32X you could slam something together, that will also need probably 50 dollars in extra hardware (for a rewriteable RAM deck placed in the cartridge slot, but is held empty so the SCD boots). Yeah, possibly, why?

You will notice that nearly all games made for any of the extended consoles avoid using all the processors together. The architecture becomes extremely unstable and annoying to handle. It isn't say like a Sega Saturn architecture that is very complex, but built from the get go to work that way. This is 4 cpu's running in parallel, and never really expected to when the genny was first conceived. Just getting emulation OF the sega saturn to work, let alone tap its capabilities on the homebrew scene is very difficult.

Constructing such and difficult and expensive manner to just allow bootleg gaming of roms on the SCD is a bit futile.

Instead you can just snatch up a SegaMD Flash Cart, and just write the roms to it. They are available. And I think (been awhile since I've seen the scene) they've got carts that can fit multiple games.

OR, you can be like that one Computer Engineer who built a computer out of a genny with an external storage device. yeah...
www.lordofduct.com - check out my blog

Space Puppy Studios - games for gamers by gamers
claudio
128-bit
Posts: 563
Joined: Sat Jul 21, 2007 12:13 pm

Post by claudio »

Thank you very much for such great information, i appreciate your time.

I will have to look into the flash cart, better than nothing, actually i never knew it existed so i will definitely look into it.

Mabye we should rather keep asking for someone to put out unreleased 32x and sega cd games than push to make that gensis emulator.

thanks again!
User avatar
marurun
Moderator
Posts: 12407
Joined: Sat May 06, 2006 8:51 am
Location: Cleveland, OH
Contact:

Post by marurun »

I would bet the Sega CD has enough memory in it (for caching CD data) to probably load a full 6-8 megabits of game data at a time. Sega CD games were comparable (roughly) to TG-16 SuperCD games and the Super System Card had 8 mb of cache memory.
User avatar
lordofduct
Next-Gen
Posts: 2907
Joined: Sat Apr 01, 2006 12:57 pm
Location: West Palm Beach

Post by lordofduct »

marurun wrote:I would bet the Sega CD has enough memory in it (for caching CD data) to probably load a full 6-8 megabits of game data at a time. Sega CD games were comparable (roughly) to TG-16 SuperCD games and the Super System Card had 8 mb of cache memory.
128 kilobits of cache for the CD-ROM (cd rom cache is usually very small), and 6 megabits of processor accessible RAM.

Problem is the 6 megabits of processor accessible RAM is only accessible by the 12.5mhz motorola 68000 in the Sega CD when in Sega CD mode. The motorolla can then hand the memory in chunks over to the genesis's processor. Downside is you can't play genny games in SegaCD mode.

So first, you can only have enough memory to hold the older small games. And there is no way to share the memory with the genny when in genny mode.

This is basically what the "Sega Classics Collection" does though. It sets up a program that shares the data between the SegaCD and genny and fakes a genny mode. But this has to be built on a game by game basis. Meaning you'd have to port each individual game by manually chunking the data into small parcels that fit in the genny's limited RAM and can be stored on the Sega CD's RAM for fast swapping when needed.

Then if the game got above 6 megabits (notice the collection was of very small games), you'd have to set up a program that knew which parts of the large game needed to be waiting in RAM when needed. But because each ROM has a unique structure to it depending on the programmer of the game... again the game would take even MORE severe hacking apart on unique scenarios per game to get it working. And would require and even more powerful program to handle this sharing of memory between the segaCD and genny to fake the genny mode.

...
as opposed to the tg16 and CD. It uses a hu-card with RAM on it. the process just dumps the ROM (which is small enough to fit on the hu-card with RAM) and then basically resets the system into tg-16 mode and boots the game off the hu-card like it is a regular game.

Thats why I said you could with extra hardware... basically a Cartridge with writable RAM on it that you copied the game over and then dropped back into genny mode and it booted off the cartridge. The cart though would need a way to swap between empty mode (so the SegaCD would boot) and full mode (so when it reset back into genny mode it could boot the cart).

why? because the way the genny boots. It checks the cart port port first and checks to see if anything is on it. If there isn't then it boots the Sega CD. As opposed to the tg-16 that actually boots off the hu-card. They didn't develope the system to secondary boot off the expansion port, so they had to place the bios on a hu-card so that it knew to load off the CD-ROM add on.

as you can see, it isn't just memory constraints, but the architecture of the Sega CD in general. It is MUCH different from the tg-16. And it makes it harder to trick the console into backing into genny mode and still accessing the memory available there.

...
Good way to show an example. If the memory was just available and that easy to use, then why didn't Sega just place the rom's on the CD for "Sega Classics Collection" and then dump them into memory? No they went and spent more work on them.

As opposed to the Saturn game "Phantasy Star Collection" which stores PS1 - 3 as just rom files. But ported 4 because there wasn't enough RAM to store that massively HUGE game in RAM.
www.lordofduct.com - check out my blog

Space Puppy Studios - games for gamers by gamers
claudio
128-bit
Posts: 563
Joined: Sat Jul 21, 2007 12:13 pm

Post by claudio »

Nice work!!! Thanks for writing that.

Just wonder if utilizing a 32x (which is cheap and very available) would help the whole process. mabye it has more memory for bigger games.
User avatar
Pullmyfinger
Next-Gen
Posts: 1470
Joined: Sat Jan 28, 2006 12:49 pm
Location: Orange County
Contact:

Post by Pullmyfinger »

It has more memory but just not enough, really, it can't be done without doing a port of some sort FOR EVERY SINGLE GAME, you'd need some sort of RAM cart that would let you load the entire rom to it from the CD and then let you play in genesis mode. Even if you manage to build this cart, the SEGA CD is slow and writing to the cart will probably be too, so changing games will be a really painful process. You should try one of the flash carts already available that let you store several roms at once or just wait a few years and see if another solution comes up.
User avatar
lordofduct
Next-Gen
Posts: 2907
Joined: Sat Apr 01, 2006 12:57 pm
Location: West Palm Beach

Post by lordofduct »

SO... I did some research... and it turns out exactly what I've been talking about (extra empty cart with some memory and software to load files onto it and then drop back into genny mode) has already been made over at tototek (haven't been there in some time... I stopped by there today to check up on the MD flash carts and what was available for you).

Well yeah,

http://products.genny4ever.net/megacart_v1x.html

this here comes with all the files you need. From what I've read, you put everything on a CD (game ROMs included), boot it up on your SegaCD with the cart in the MD slot. And copy the game over.

Downside, the only loaded it with 32megs of RAM. 8 of which is allocated to system files for the cart to function properly. So the max size game you can fit is 24 megs.

But hey, 24 megs is a damn sweet deal considering. I wouldn't be surprised if a newer version comes out with more RAM (at a higher cost of course)

OR, you can just solder a larger flashRAM into the bitch and use their software (you probably will have to go in and alter the code a little so it understands there is more memory available) and make it large enough to fit any game.

Worth a try definitely.


[edit]
it also functions as a save cart and region switch as well... for both Genny and SegaCD games (seeing as regionfree carts are getting harder to come by, the SegaCD one is great seeing as your only other options are region patches and tearing the BIOS's eprom out and replacing it with a multibios. The former of which doesn't always work, and the latter is very harmful to your SegaCD).



Here is a link to a article on Sega-16 (god, another forum I haven't visited in ages... really cool guy from puerto rico that runs it. They are a very retro Sega oriented site... so picture Racketboy, but for Sega only. As opposed to SX which is more a, how could I say, bootlegging and homebrew community).

http://www.sega-16.com/Sega%20Gear-%20T ... 20Cart.php

good information and tutorials over there.
www.lordofduct.com - check out my blog

Space Puppy Studios - games for gamers by gamers
User avatar
marurun
Moderator
Posts: 12407
Joined: Sat May 06, 2006 8:51 am
Location: Cleveland, OH
Contact:

Post by marurun »

So.... The Sega CD is technically nice and powerful, but the operating architecture actually sucks balls. Go Sega! Sounds like Hudson/NEC's solution for CD-ROM games was much more accessible, affordable, and effective. You need only look at the PC Engine CD's success in Japan for evidence.
claudio
128-bit
Posts: 563
Joined: Sat Jul 21, 2007 12:13 pm

Post by claudio »

Yeah its really tiny, with memory being much cheaper these days we should see a better one coming out soon.

Very nice that at least we have this at least.

thanks for the info.
Post Reply