SNES Emulation

For everything that's not in any way related to PureBasic. General chat etc...
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

SNES Emulation

Post by Killswitch »

I've been thinking abotu starting to write a SNES emulator in PB. I think I could manage it and, if I can't, it couldn't hurt to try :). I'm just having a bit of trouble actually finding some resources to help me along.

I've been trawling google and wikipedia for a while and I haven't managed to turn up much (there was one page with a lot of resources for the NES, however).

Downloading an disecting the source for an existing emulator doesn't really appeal to me, it's fairly hard to learn from if it's complex enough.

Anyway, I wondered if anyone here could help me out?
~I see one problem with your reasoning: the fact is thats not a chicken~
White Eagle
Enthusiast
Enthusiast
Posts: 215
Joined: Sun Jan 04, 2004 3:38 am
Location: Maryland

Post by White Eagle »

Very Cool!

BalrogSoft (sp?) wrote an emulator years back in PB, but I think it was a gameboy one.

I know you don't want to dig in the code of an existing one, but how about a compromise? At Planet Source Code, in the VB section there are a couple of different emulators in various stages of development. Again, I think these are mostly GameBoy oriented, but there might be a NES or SNES one in there. Either way, you could probably learn something about emulation from them and VB code is easier to sift through than C++ code.

Just a thought...
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

Thanks Trond but it's not exactly what I was looking for. A more in depth look into emulation of the SNES would be handy. (Not being ungrateful :) )
~I see one problem with your reasoning: the fact is thats not a chicken~
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

I know what you're looking for, but I don't think it exists. So I thought, if you know the thing works (i.e. the link gives you a list of registers) you would be able to emulate it.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Nice.
But i would very lazy doing heavy duties just to reinvent the wheel.
Killswitch, i suppose you know this:
http://zsnes.ipherswipsite.com/
It is more than perfect and it is written in ASM.
I feel nice just knowing there are people in the world who are able to program these things and so perfectly.

BTW, have you tried this for PSX:
http://psxemulator.gazaxian.com/
:?:
It is the best one until now for PSX.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
KarLKoX
Enthusiast
Enthusiast
Posts: 681
Joined: Mon Oct 06, 2003 7:13 pm
Location: France
Contact:

Post by KarLKoX »

Charles McDonald's website is the best ressource for who want to code an emulator, you also have Caesar for cpu related opcode table, timing etc ..., here you will find info for rom id header company and the last but not least, this forum where you can find almost all emulator coders.
Note that coding a snes emu is possible, there is no PB limitation in this domain but if i were you, i might begin with a simpler hardware like Chip8 (allready done by Balrog) or a NES/SMS/Spectrum.
I allready have a place in my head coding an emulator ... a pc engine emu in PB, who know, if i find enough spare time :)
"Qui baise trop bouffe un poil." P. Desproges

http://karlkox.blogspot.com/
Post Reply