projects
/
ScratchNES.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14587d5
)
Fix OAM DMA
author
Alyssa Rosenzweig
<alyssa@backtick.town>
Thu, 30 Jun 2016 19:43:12 +0000 (12:43 -0700)
committer
Alyssa Rosenzweig
<alyssa@backtick.town>
Thu, 30 Jun 2016 19:43:12 +0000 (12:43 -0700)
src/PPU/PPU.tosh
patch
|
blob
|
history
diff --git
a/src/PPU/PPU.tosh
b/src/PPU/PPU.tosh
index
d558987
..
52ccd82
100644
(file)
--- a/
src/PPU/PPU.tosh
+++ b/
src/PPU/PPU.tosh
@@
-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.