Ramblings of an NSF enthusiast (guide to writing an NSF player)

Pages: 1234
closed account (N36fSL3A)
There are emulators. Please don't derail this with a topic already being discussed on the forums.

http://www.emulator-zone.com/doc.php/xbox/
Last edited on
closed account (NUj6URfi)
Sorry. Didn't mean to derail the topic. I meant true emulators not converters and the other topic is for ones for PS Vita.
closed account (NUj6URfi)
So how do you read the assembly code from the rom? I looked at the link at page 3 and I didn't see how to read the code.
closed account (NUj6URfi)
Like from a cartridge and not .nes file unless that is what is on a cartridge.
closed account (N36fSL3A)
What? A .nes file is a image of a cartridge.

You don't get assembler code, you get binary code. You read the opcodes and emulate how the 3 processors would work.
closed account (NUj6URfi)
Okay, how do you read the binary code or opcode?
closed account (N36fSL3A)
Seriously?

With fstream you load in the nes file. You then read the contents and a certain part of the cartridge and then you read an individual byte. In a massive switch statement you check what the code is and use the correct function for the opcode.

Look up .nes headers and how to use the standard ifstream & ofstream library.
Last edited on
closed account (NUj6URfi)
Thank you. I did not understand you could just use fstream.
closed account (N36fSL3A)
You can use fstream on all files...
closed account (NUj6URfi)
I thought it was for text only. Thank you very much.
Topic archived. No new replies allowed.
Pages: 1234