aboutsummaryrefslogtreecommitdiffstats
path: root/src/hram.asm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/hram.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hram.asm b/src/hram.asm
index 9e65982..facccd0 100644
--- a/src/hram.asm
+++ b/src/hram.asm
@@ -17,6 +17,10 @@ SECTION "hram_vars", HRAM
hCurBankRAM: DS 1 ; shadow of active cart-RAM bank
hCurBankWRAM: DS 1 ; shadow of active SVBK bank
hSwitchTgt: DS 2 ; &incoming PCB (set before the pushes clobber DE)
+hSCY:: DS 1 ; VBlank-latched SCY: term_view_update writes this,
+ ; the VBlank ISR applies it - a mid-frame SCY write
+ ; would shear the picture (SCY is sampled per
+ ; scanline), so ring-scrolls land at frame boundaries
; -----------------------------------------------------------------------------
; Source image (lives in ROM0); CopyHramCode blits it to HRAM at boot.