From 1440cf9321f07c750c0aba6fccb5dcec057d82f4 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 4 Feb 2012 17:19:24 -0800 Subject: disasm of number printing functions and other minor changes hg-commit-id: ca84e561db2c --- constants.asm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'constants.asm') 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 -- cgit v1.3.1-sl0p