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

Tue, 20 Oct 2009, 02:27
Afr0
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!
Tue, 20 Oct 2009, 02:48
JL235
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.
Tue, 20 Oct 2009, 03:49
Jayenkai
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!''
Tue, 20 Oct 2009, 08:26
Scherererer
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
Tue, 20 Oct 2009, 10:11
steve_ancell
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|
Wed, 21 Oct 2009, 12:31
Afr0
Wow, awesome!
Thanks!