I recently got the "Hey why don't I expand my horizons and create an emulator" ideas and so far so good. I'm using my SDL/OpenGL/OpenAL engine as a basis for the emulator (like window management, keyboard management, sound, graphics etc). One problem I've had is getting the actual PRG code to import into something readable. I got the iNES header to import correctly however. I don't usually work with binary files (my engine uses a library called SDL_IMAGE so I didn't have to worry about reading in binary the textures for my engine) so this is kind of new to me.
Also another question (also completely different from what I'm used to), what am I going to be left with after the code is imported into an array?
Is it going to be in hex? In which I'll have a switch statement and then it'll process whatever based on the imput.
With all my C++, PHP, ASM and MySQL work I've done this is entirely new, which is really kind of sad, it's like re-learning how to drive.