Fix OAM DMA
authorAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 30 Jun 2016 19:43:12 +0000 (12:43 -0700)
committerAlyssa Rosenzweig <alyssa@backtick.town>
Thu, 30 Jun 2016 19:43:12 +0000 (12:43 -0700)
src/PPU/PPU.tosh

index d558987..52ccd82 100644 (file)
@@ -154,10 +154,9 @@ else
 end
 
 define OAM DMA (pagebase)
-ask "OAM DMA?" and wait
-set temp to 1
+set temp to 0
 repeat 256
-       mapper read (pagebase + temp)
+       mapper read ( (256*pagebase) + PPU OAMADDR + temp)
        replace item temp of OAM with M
        change temp by 1
 end
This page took 0.023664 seconds and 4 git commands to generate.