Hi there, I have decided to make my own emulator and have been reading the documentation on this site. It all seems pretty straightforward but I just have a few questions (that is, if anyone is actually here to answer them!)
1. After bytes 0-9, the ines header, PRG-ROM starts right away from 10 and continues for at least 16kb. True or False
Also, I should be copying this data to $8000 in my emulator correct?
2.Is the code executed straight off the ROM ($8000 +)or does the NES have something built into the bios that loads the PRG-ROM code into ram somewhere for faster execution
3. Emulating the instructions sounds like a piece of cake. The tricky part seems to be getting the timing right. My solution as of right now, is to allow a maximum of 1.79 million cycles for every second of execution on the host processor. This way seems like it would allow us to use the emulator on any processor regardless of how fast it is. Is there a better way to do this though?
thanks in advance!
1. After bytes 0-9, the ines header, PRG-ROM starts right away from 10 and continues for at least 16kb. True or False
Also, I should be copying this data to $8000 in my emulator correct?
2.Is the code executed straight off the ROM ($8000 +)or does the NES have something built into the bios that loads the PRG-ROM code into ram somewhere for faster execution
3. Emulating the instructions sounds like a piece of cake. The tricky part seems to be getting the timing right. My solution as of right now, is to allow a maximum of 1.79 million cycles for every second of execution on the host processor. This way seems like it would allow us to use the emulator on any processor regardless of how fast it is. Is there a better way to do this though?
thanks in advance!