Originally posted by: WhatULive4Originally posted by: BrandonE
Nice tutorials! I just thought I should point out two issues that I have come across so far:
1. Week 1 contains the following sentences: "Base 2 binary works the same way, except each digit can be 0-1 and the place values are powers of 2 instead of 10. Insert a 0 to the right of a number and it becomes 2 times bigger. Remove a 0 and it becomes 10 times smaller." Shouldn't the last sentence say "2 times smaller"?
10 is binary for what? Playing off an old joke, "There are 10 types of people, those who understand binary, and those who don't.
I agree with thefox that this joke couldn't have been intentional. If it were, it'd use 10 instead of 2 in both sentences. I'm sure this would be quite confusing to newbies.
Originally posted by: WhatULive4Originally posted by: BrandonE
2. For week 4, my sprite seemed to use an improper coloring scheme even though I was doing everything the tutorial asked me to. thefox from #nesdev noticed that I "set the PPU address to $3F10, not $3F00 when loading the palette." Changing this fixed the colors, but the tutorial says to "write the low byte of $3F10 address." Is this a mistake?
$3F10 is $3F00 + 16 bytes. The first 16 bytes are for the background, and the second 16 are for sprites. I'm guessing you had all 32 palette entries and not just the 16 for the sprites in your table. If you just want to update the sprite palettes, then you SHOULD point to $3F10. In your case, it was assigning your background colours to your sprites.
The zip file had it writing $00, which worked, whereas $10 did not. Either the tutorial is wrong or the attached file is.
Also, I think there's an issue with the attribute table in Week 6. The tutorial says it is:
%00000000, %00010000, %0010000, %00010000, %00000000, %00000000, %00000000, %00110000
The code says it is:
%00000000, %00010000, %01010000, %00010000, %00000000, %00000000, %00000000, %00110000
The one in the code looks right, whereas the one in the tutorial makes one of the blocks greenish.