Search found 59 matches

by Dartht33bagger
Mon Aug 12, 2013 2:21 am
Forum: NESemdev
Topic: Need some help with the PPU
Replies: 73
Views: 30758

Re: Need some help with the PPU

I'm really close to understanding how this all works now. Two final questions (hopefully). 1. When the attribute shift registers are filled, the attribute byte fetched is fed through a 4 to 1 mux that selects two bits in the attribute byte based on bit 1 of coarse X and coarse Y. The two bits that a...
by Dartht33bagger
Sun Aug 11, 2013 3:29 pm
Forum: NESemdev
Topic: Need some help with the PPU
Replies: 73
Views: 30758

Re: Need some help with the PPU

My 6502 emulator is working correctly :) A few more questions for you guys. I'm having a hard time figuring out how a 8x8 tile is rendered in a scanline. From my understand of how the PPU renders a background pixel from this diagram, it goes something like this: 1. Fetch name table byte 2. Fetch att...
by Dartht33bagger
Thu Aug 08, 2013 11:09 pm
Forum: NESemdev
Topic: Need some help with the PPU
Replies: 73
Views: 30758

Re: Need some help with the PPU

1. How does the PPU know if $2007 wants a read or a write? Does the CPU write a nonzero value for a write and a zero value for a read? What? Where did you get this zero/non-zero idea from? Like 3gengames said, one of the CPU pins indicates whether it's trying to read or write data, and the PPU uses...
by Dartht33bagger
Thu Aug 08, 2013 1:01 am
Forum: NESemdev
Topic: Need some help with the PPU
Replies: 73
Views: 30758

Re: Need some help with the PPU

Thank you!

One final question for now: How do I emulate the CPU pin for reads and writes on $2007? Do certain opcodes tell the CPU to read to write from that register?
by Dartht33bagger
Wed Aug 07, 2013 1:43 pm
Forum: NESemdev
Topic: Need some help with the PPU
Replies: 73
Views: 30758

Re: Need some help with the PPU

Thank you! Things are starting to make a lot more sense now. Two more quick questions. 1. How does the PPU know if $2007 wants a read or a write? Does the CPU write a nonzero value for a write and a zero value for a read? 2. When a $2007 read occurs, where does the data read go to? Does the PPU just...
by Dartht33bagger
Wed Aug 07, 2013 2:33 am
Forum: NESemdev
Topic: Need some help with the PPU
Replies: 73
Views: 30758

Need some help with the PPU

Alright guys, bear with me please. I've read through all of the documents on the wiki and read through a ton of threads on here and there are still some things I just do not understand with the PPU. Maybe you guys can clear these things up for me. 1. How often are the PPU registers ($2000-$2007) loo...
by Dartht33bagger
Tue Aug 06, 2013 1:44 pm
Forum: NESemdev
Topic: CPU cycle counting?
Replies: 8
Views: 5700

Re: CPU cycle counting?

I'm writing a NES emulator. I finished the core and passed all of the nestest up until the illegal opcodes came in (I didn't implement those because I assumed they don't matter for commercial games?).
by Dartht33bagger
Mon Aug 05, 2013 9:14 pm
Forum: NESemdev
Topic: Where are graphics located on NES roms?
Replies: 9
Views: 7034

Re: Where are graphics located on NES roms?

After reading this post I still have a few questions: 1. So I only need to load the pattern tables from CHR-ROM and the rest of the tables will be filled up by the program code (I assume by writing values to $2006?)? I'm still a bit fuzzy on how the attribute and nametables are filled. 2. Where exac...
by Dartht33bagger
Thu Jul 11, 2013 12:49 am
Forum: NESemdev
Topic: CPU cycle counting?
Replies: 8
Views: 5700

Re: CPU cycle counting?

So should I made a public variable in my cpu class that holds the number of cycles and have it reset once a scanline is done? Or should I be storing the cycles somewhere else? On a side note, does anyone know how to compare my output with the nestest.log output when the two aren't the exact same? My...
by Dartht33bagger
Wed Jul 10, 2013 2:44 am
Forum: NESemdev
Topic: CPU cycle counting?
Replies: 8
Views: 5700

CPU cycle counting?

I've been working on the CPU emulation for the past few weeks and finally got all of the instructions excuting right. Now I need to go back and add the cycles into the core. Just a few questions: 1. What does cycle counting do exactly? Is supposed to be keeping track of time or are they just arbitar...
by Dartht33bagger
Tue Jan 06, 2009 10:18 pm
Forum: SNESdev
Topic: Help! Game Doctor SF7 CD-ROM Replacement
Replies: 14
Views: 7244

Is this it:Ebay
by Dartht33bagger
Sun Jan 04, 2009 9:56 pm
Forum: Newbie Help Center
Topic: Looking to make some NES games
Replies: 15
Views: 6748

I've been using nesasm to compile a few test codes out and it seems to be working ok. I'm just wondering what programs should I use for compiling, making music, mappers etc.
by Dartht33bagger
Sat Jan 03, 2009 4:44 pm
Forum: Newbie Help Center
Topic: Looking to make some NES games
Replies: 15
Views: 6748

Thanks for the info, I will start looking into that tongiht.
by Dartht33bagger
Sat Jan 03, 2009 3:34 pm
Forum: Newbie Help Center
Topic: Looking to make some NES games
Replies: 15
Views: 6748

Looking to make some NES games

I've wanted to make nes games for about a year and a half now, about as long as I've known about emulators. I have very limited experience with C coding and Visual Basics.

Where is a good starting point for making games in 6502?