diff options
author | YamaArashi <shadow962@live.com> | 2012-02-04 17:19:24 -0800 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2012-02-04 17:19:24 -0800 |
commit | 1440cf9321f07c750c0aba6fccb5dcec057d82f4 (patch) | |
tree | ae16316387ce7e0c50ab55b98d88d9185921caf2 /constants.asm | |
parent | 8573d9f7bd0ad311cd2b90c767f11cefd43da371 (diff) |
disasm of number printing functions and other minor changes
hg-commit-id: ca84e561db2c
Diffstat (limited to 'constants.asm')
-rw-r--r-- | constants.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm index 43861e80..0a271987 100644 --- a/constants.asm +++ b/constants.asm @@ -780,6 +780,12 @@ H_DIVISOR EQU $FF99 ; 1 byte H_QUOTIENT EQU $FF95 ; 4 bytes, big endian order H_REMAINDER EQU $FF99 ; 1 byte +; used to convert numbers to decimal +H_PASTLEADINGZEROES EQU $FF95 ; flag to indicate that a nonzero digit has been printed +H_NUMTOPRINT EQU $FF96 ; 3 bytes, big endian order +H_POWEROFTEN EQU $FF99 ; 3 bytes, big endian order +H_SAVEDNUMTOPRINT EQU $FF9C ; 3 bytes, big endian order (to back out of a subtraction) + ; is automatic background transfer during V-blank enabled? ; if nonzero, yes ; if zero, no |