Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectNES Emulator: Where does the instruction pointer start in a ROM? Reply to this message
Posted byklipseracer
Posted on01/26/08 01:44 PM



I have a NES emu project in its beginning stages, I can read the 16byte headeer correctly and find out how many pages of prg and chr rom it has, and I can setup the 2 prg rom banks and all that. But where do I start reading opcodes from? I know its in the PRG-ROM somewhere. I was told FFFEh? But that is outside of the allocated PRG-ROM memory range. I'm just trying to fetch the first opcode, which i'm having trouble doing. If someone could tell me the default Program counter/instruction counter address, it would be greatly appreciated!



-
Entire Thread
Subject  Posted byPosted On
.NES Emulator: Where does the instruction pointer start in a ROM?  klipseracer01/26/08 01:44 PM
.*Re: NES Emulator: Where does the instruction pointer start in a ROM?  Bart T.01/26/08 05:09 PM
..*Re: NES Emulator: Where does the instruction pointer start in a ROM?  klipseracer02/01/08 00:24 AM
...*Re: NES Emulator: Where does the instruction pointer start in a ROM?  Bart T.02/01/08 02:57 AM