From: John Tsiombikas Date: Sat, 4 Jul 2020 10:17:02 +0000 (+0300) Subject: foo X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;ds=inline;h=4eaf4fddef0d94718453382fa2ccd799c8944f18;p=snes_test1 foo --- diff --git a/test.asm b/test.asm index 9919308..e3a31e8 100644 --- a/test.asm +++ b/test.asm @@ -6,7 +6,13 @@ .segment "code" - vmem_tiles_offs = 4096 + ; VMEM map + ; 0000: tilemap for BG1 (32x32 4bpp: 512b) + ; 2048: BG3-base (h/v offsets) + ; 8192: tile data (16k) + + vmem_tiles_offs = 4096 ; 4k words + hoffs_offs = 1024 ; 2k words sei clc @@ -21,7 +27,7 @@ jsr snes_init setreg REG_BGMODE, $02 ; mode 2, 8x8 tiles - setreg REG_BG12NBA, $1 ; tiles at offs 4kb + setreg REG_BG12NBA, $1 ; tiles at offs 8kb setreg REG_TM, $1 ; main screen: BG1 ldx #0