aboutsummaryrefslogtreecommitdiff
path: root/include/ppu.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2025-12-10 14:41:35 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2025-12-15 15:31:06 +0100
commit74b1003ab8abad2f8220de4f2f18a3b118f23f01 (patch)
treeb7f2d491d708fa900d4dd9649eb5bd7fab3e8686 /include/ppu.s
parente6d9bd9f7acfd0e40025b2d579a7faff0d04ef0a (diff)
downloadjetpac.nes-74b1003ab8abad2f8220de4f2f18a3b118f23f01.tar.gz
jetpac.nes-74b1003ab8abad2f8220de4f2f18a3b118f23f01.zip
Adapt the code to play well with nasm's asan
The address sanitizer from nasm provides quite a few goodies, so let's adapt the code more to it to benefit from those. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'include/ppu.s')
-rw-r--r--include/ppu.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/ppu.s b/include/ppu.s
index a9c0ed2..7882809 100644
--- a/include/ppu.s
+++ b/include/ppu.s
@@ -1,10 +1,10 @@
.scope PPU
- CONTROL = $2000
- MASK = $2001
- STATUS = $2002
- SCROLL = $2005
- ADDRESS = $2006
- DATA = $2007
+ m_control = $2000
+ m_mask = $2001
+ m_status = $2002
+ m_scroll = $2005
+ m_address = $2006
+ m_data = $2007
;; Shadow for the PPU::CONTROL value. Touch this value instead of accessing
;; the PPU register directly.