From 70a801a43c16fd7a5f61e8d876e5d5c2db48ebe8 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 16 Sep 2026 22:34:56 +0200 Subject: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- include/oam.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/oam.s (limited to 'include/oam.s') diff --git a/include/oam.s b/include/oam.s new file mode 100644 index 0000000..a73494d --- /dev/null +++ b/include/oam.s @@ -0,0 +1,12 @@ +.scope OAM + ;; Region in internal RAM where sprites are being allocated for later use in + ;; the DMA process. The entire page is reserved, as there are 64 sprites x 4 + ;; bytes each = 256 bytes in total. + m_sprites = $200 ; asan:reserve $100 + + ;;; + ;; Actual addresses from OAM space. + + m_address = $2003 + m_dma = $4014 +.endscope -- cgit v1.2.3