NESDev and Strangulation Records messageboards
Forum Index | FAQ | New User | Login | Search

Previous ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectRe: Loading screen #3 all at once  
Posted bypulper
Posted on10/16/04 5:47 PM
From IP132.241.65.155  



Hmmm.. I tried this but it is still garbled. Assume that the first two are loaded OK and the screen is displaying $2800 nametable correctly (screen 2). Here is my code:

jsr pollstrt ;poll start button

lda ppuReg1
and #%11110111 ;Turn off background
jsr waitv2 ;Copies ppureg1 into $2001 only during vblank, so wait

jsr load1st ;load the third nametable all at once at $2000

jsr swapnam0 ;swap nametables so we see newly loaded nametable

lda ppuReg1
ora #%00001000 ;Turn on background

At this point the third screen should have appeared.. but its garbage again. Am I turning the screen off correctly?

-Pulper

-
Entire Thread
Subject  Posted byPosted On
*Loading screen #3 all at once  pulper10/16/04 02:25 AM
.*Re: Loading screen #3 all at once  Memblers10/16/04 02:46 AM
...Re: Loading screen #3 all at once  pulper10/16/04 5:47 PM
...*Re: Loading screen #3 all at once  Disch10/16/04 6:05 PM
....*Re: Loading screen #3 FIXED  pulper10/16/04 7:08 PM
..*Re: Loading screen #3 all at once  Memblers10/16/04 02:47 AM
...*Re: Loading screen #3 all at once  Drag10/16/04 02:50 AM
....*Re: Loading screen #3 all at once  tepples10/16/04 4:20 PM
....*Re: Loading screen #3 all at once  pulper10/16/04 03:49 AM
Jump to

Memblers' homepage             Contact Me

Forums powered by WWWThreads Demo