summaryrefslogtreecommitdiff
path: root/hram.asm
diff options
context:
space:
mode:
authorEldred Habert <eldredhabert0@gmail.com>2018-06-10 17:08:55 +0200
committerGitHub <noreply@github.com>2018-06-10 17:08:55 +0200
commitb0e8bae78e0972b13370ff6e31c80f18b67348fc (patch)
tree7d83ac3340a0535aa85269e7247008164f9b8d7d /hram.asm
parent20f07292a54097dd3b704bc79bd50097c1d16502 (diff)
parentbfdaa1151902023fc69c97328cf12bdd88816185 (diff)
Merge pull request #18 from PikalaxALT/math_etc
More dism progress in ROM0
Diffstat (limited to 'hram.asm')
-rw-r--r--hram.asm30
1 files changed, 29 insertions, 1 deletions
diff --git a/hram.asm b/hram.asm
index 8e49ad5..0e26198 100644
--- a/hram.asm
+++ b/hram.asm
@@ -57,7 +57,9 @@ hJoyDebounceSrc:: db ; ffa5
hJoypadState2:: db ; ffa6
- ds 8 ; TODO
+ ds 6 ; TODO
+hGraphicStartTile:: db ; ffad
+hMoveMon:: db
UNION
@@ -96,11 +98,37 @@ hSpriteOffset:: ; ffb1
db ; TODO
+UNION
+
+; ffb3
+hProduct::
+hDividend::
+ ; ds 4
+ db
+
+; ffb4
+hMultiplicand::
+hQuotient::
+ ds 3
+
+; ffb7
+hMultiplier::
+hDivisor::
+hRemainder::
+ db
+
+; ffb8
+hMathBuffer::
+ ds 5
+
+NEXTU
+
hPrintNumLeadingDigit:: db ; ffb3 digit one place-value up
hPrintNumDividend:: ds 3 ; ffb4 big-endian
hPrintNumDivisor:: ds 3 ; ffb7 big-endian
hPrintNumTemp:: ds 3 ; ffba big-endian
+ENDU
ds 19 ; TODO