-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|501|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Question of the Day -> How to make an emu?

Posted : Tuesday, 20 October 2009, 02:27
Like DiablosDevil, I have started thinking about life after my current project (being Afr0 Messenger).
Sega Mastersystem II was my first gameconsole - ever! As such, I am very weak for this system, and have been thinking about making an emu in C++.
The problem is - I don't know what to do, or even what's needed! :/
I know you need to know alot about binary file operations to open roms. I know quite alot about binary file operations.
Are there any tutorials for where to start when writing an emu?
So far I haven't been able to find anything.

Afr0 Games

Project Dollhouse on Github - Please fork!
Posted : Tuesday, 20 October 2009, 02:48
I believe an emulator is just a bytecode interpreter. A rom contains machine instructions which you read in turn, interpret, and then perform the effect that they are meant to perform. But obviously building one for the Mega Drive will be much more complex then that.

There are still plenty of people around building homebrew games for the Mega Drive and the SNES, so I'd go ask on one of those forums. They will probably know more then anyone here.

PlayMyCode.com - build and play in your browser, Blog, Twitter.
Posted : Tuesday, 20 October 2009, 03:49
8bit MasterSystem != 16bit MegaDrive

I've always been interested in this kinda thing, but more the graphical abilities, more than the actual processor stuff. (which I know I've mentioned a fair few times in the mudchat!)

Trying to understand what the original processor wanted to do, what the machine code expects it to do, and even more complicated, what obscure tweaks it might have had, all adds up to a rather complex task.

Head over to PDRoms, and grab a couple of quick PD hacked roms. They won't show off "AWESOMENESS!" but they will let you mess about with the basic emu abilities, before you jump into trying to emulate a Sonic game!

''Load, Next List!''
Posted : Tuesday, 20 October 2009, 08:26
You see, when a male emu and a female emu are very much in love, they come together and then they create a fertilized egg together, and then, after a finished gestation period, you have a brand new emu!

YouTube Twitter
Computer Science Series: Logic (pt1) (part 2) (part 3) 2's Complement Mathematics: Basic Differential Calculus
Posted : Tuesday, 20 October 2009, 10:11
F***ing-Hell, that's enough to even scare-off GrotBags !

Ere...Hang on... It's got a mouth and teeth... I thought Emu's had beaks !

|Jay| You know... He won't get that!! .. Back on topic, folks |Jay|
Posted : Wednesday, 21 October 2009, 12:31
Wow, awesome!