Where to go now?
Moderator: Moderators
Where to go now?
I'm making my own NES emulator, and all the CPU emulation is working. But now I need to start the PPU emulation. But the question is, how can I start it?
I've downloaded all the DOCs existing in this site, but i don't know where ti start reading. Can anyone help me to walk this path?
Please I need to know what I must learn from know. All I found in the boards are questions about specific topics in the PPU emulation.
Thank you guys...
I've downloaded all the DOCs existing in this site, but i don't know where ti start reading. Can anyone help me to walk this path?
Please I need to know what I must learn from know. All I found in the boards are questions about specific topics in the PPU emulation.
Thank you guys...
First of all how well programmed is your 6502 emulator? Try to make sure that it is 100% before starting to work on the PPU otherwise bugs make prevent your PPU from working and you might find it hard to track them down. Secondly, read through all of the PPU docs (espcially Brad Taylor's) and make sure that you understand how the PPU works.
http://nocash.emubase.de/everynes.htm
Is probably all you'll need.
http://nocash.emubase.de/everynes.htm
Is probably all you'll need.
You should be aware that the above document is NOT fully up to date with current findings, and it contains several errors (the most obvious ones I've caught deal with PAL emulation, non-existant 1024KB MMC1 carts [DW4], and the MMC2 not having auto-switching CHR banks at 0000-0FFF). It's best to not rely on a single source of information - the NESdev wiki (which should be linked from somewhere on this site) is a good place to double-check.
Quietust, QMT Productions
P.S. If you don't get this note, let me know and I'll write you another.
P.S. If you don't get this note, let me know and I'll write you another.
I couldn't agree with you more. Always try to get something confirmed from two independent resources. My apoligies.Quietust wrote:You should be aware that the above document is NOT fully up to date with current findings, and it contains several errors (the most obvious ones I've caught deal with PAL emulation, non-existant 1024KB MMC1 carts [DW4], and the MMC2 not having auto-switching CHR banks at 0000-0FFF). It's best to not rely on a single source of information - the NESdev wiki (which should be linked from somewhere on this site) is a good place to double-check.
Re: Where to go now?
i've written almost the 50% of the 6502 CPU core. now i'm trying to implement the PPU (wich is quite confusing and not-an-easy task...). all the opcodes i've currently coded for the CPU core program are the opcodes wich uses a simple demo (a VERY simple demo...). should i finish the CPU core program before start implementing the PPU? or is it good to start implementing the PPU trying to run that demo wich i currently have all the opcodes it uses covered?JuniorZ wrote:I'm making my own NES emulator, and all the CPU emulation is working. But now I need to start the PPU emulation. But the question is, how can I start it?
I've downloaded all the DOCs existing in this site, but i don't know where ti start reading. Can anyone help me to walk this path?
Please I need to know what I must learn from know. All I found in the boards are questions about specific topics in the PPU emulation.
Thank you guys...
Definitely read and understand Brad Taylor's doc (and open it in an editor that can properly display the table in there).
I've found qeed's doc (http://spark.ofloo.net/~qeed/nes_emu.txt) to be pretty good as well. There are some bugs in the ppu code, so don't just cut and paste, but I think it does a good job of explaining/demonstrating how to put together a cycle-based ppu emulator. The site doesn't seem to be up right now, so you can download it here.
I've found qeed's doc (http://spark.ofloo.net/~qeed/nes_emu.txt) to be pretty good as well. There are some bugs in the ppu code, so don't just cut and paste, but I think it does a good job of explaining/demonstrating how to put together a cycle-based ppu emulator. The site doesn't seem to be up right now, so you can download it here.