summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2024-12-28 03:27:25 -0800
committerGitHub <noreply@github.com>2024-12-28 08:27:25 -0300
commitda0935260622b6a09ce55369e338e4649f58b060 (patch)
tree584289d37332e62705bdd5e02d873cf82cd82672 /tools
parent602053c349e25775f9a0111f61f1feadb4255e63 (diff)
Move D_80097508 out of system_heap.c (#1779)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/disasm/disasm.py2
-rw-r--r--tools/disasm/files.txt2
-rw-r--r--tools/disasm/variables.txt5
3 files changed, 6 insertions, 3 deletions
diff --git a/tools/disasm/disasm.py b/tools/disasm/disasm.py
index 1d6955652..2a6e1ae63 100755
--- a/tools/disasm/disasm.py
+++ b/tools/disasm/disasm.py
@@ -458,7 +458,7 @@ def format_f32(f_wd):
return ".float 3.4028235e+38"
f = as_float(struct.pack(">I", f_wd))
- if math.isnan(f):
+ if math.isnan(f) or math.isinf(f):
return f".word 0x{f_wd:08X}"
return f".float {reduce_float(repr(f))}"
diff --git a/tools/disasm/files.txt b/tools/disasm/files.txt
index 185e12c11..c3a2403f5 100644
--- a/tools/disasm/files.txt
+++ b/tools/disasm/files.txt
@@ -257,7 +257,7 @@
0x80096C40 : "stackcheck",
0x80096C50 : "gfxprint",
0x80097500 : "system_heap",
- 0x80097520 : "fp",
+ 0x80097510 : "fp",
0x80097530 : "qrand",
0x80097540 : "vimodentschpf1",
0x80097590 : "vimodepallan1",
diff --git a/tools/disasm/variables.txt b/tools/disasm/variables.txt
index 3d0ea3c5e..f752e671c 100644
--- a/tools/disasm/variables.txt
+++ b/tools/disasm/variables.txt
@@ -36,7 +36,10 @@
0x80096CF8:("sGfxPrintFontData","u8","[0x800]",0x800),
0x80097500:("sInitFuncs","void*","",0x4),
0x80097504:("sNew","char","[4]",0x4),
- 0x80097508:("D_80097508","[24]","",0x18),
+ 0x80097510:("gPositiveInfinity","f32","",0x4),
+ 0x80097514:("gNegativeInfinity","f32","",0x4),
+ 0x80097518:("gPositiveZero","f32","",0x4),
+ 0x8009751C:("gNegativeZero","f32","",0x4),
0x80097520:("qNaN0x3FFFFF","f32","",0x4),
0x80097524:("qNaN0x10000","f32","",0x4),
0x80097528:("sNaN0x3FFFFF","f32","",0x4),