summaryrefslogtreecommitdiff
path: root/wram.asm
diff options
context:
space:
mode:
authorJonas Höglund <firefly@firefly.nu>2014-07-26 11:36:08 +0200
committerJonas Höglund <firefly@firefly.nu>2014-07-26 11:36:08 +0200
commit1add32ab4d4544bb10bcb6c85d7427732c2821c4 (patch)
tree8430c555fc514b87240b33c9d5865a7220326727 /wram.asm
parent24fd45099664e2b6dab105cebfea118a1605efc3 (diff)
Home: do palette functions, vblank & timer interrupts
Diffstat (limited to 'wram.asm')
-rwxr-xr-xwram.asm34
1 files changed, 22 insertions, 12 deletions
diff --git a/wram.asm b/wram.asm
index 12f66a7..05f2c24 100755
--- a/wram.asm
+++ b/wram.asm
@@ -6,7 +6,8 @@ wInitialA: ; cab3
ds $1
wConsole: ; cab4
- ds $2
+ ds $1
+ ds $1
wTileMapFill: ; cab6
ds $1
@@ -15,7 +16,13 @@ wIE: ; cab7
ds $1
wVBlankCtr: ; cab8
- ds $3
+ ds $1
+ ds $1
+
+; bit0: is in vblank interrupt?
+; bit1: is in timer interrupt?
+wReentrancyFlag: ; caba
+ ds $1
wLCDC: ; cabb
ds $1
@@ -27,28 +34,31 @@ wOBP0: ; cabd
ds $1
wOBP1: ; cabe
- ds $6
-
-wCounterEnable: ; cac4
ds $1
-wCounter0: ; cac5
+wFlushPaletteFlags: ; cabf
ds $1
-wCounter1: ; cac6
+wVBlankOAMCopyToggle: ; cac0
ds $1
+ ds $2
-wCounter2: ; cac7
+wCounterCtr: ; cac3
ds $1
-wCounter3: ; cac8
+wCounterEnable: ; cac4
ds $1
-wCounter4: ; cac9
- ds $27
+wCounter: ; cac5
+ ds $5
+ ds $6
+
+wVBlankFunctionTrampoline: ; cad0
+ ds $20 ; unknown length
wBufPalette: ; caf0
- ds $84
+ ds $80
+ ds $4
wBufSerial: ; cb74
ds $1