From e45a36ecaa0dd46594f49f52206707ed60eb2a3e Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 6 Jun 2018 16:18:13 -0400 Subject: Disassemble three more functions that seem to be unfiled --- home/init.asm | 4 +--- home/misc_32c8.asm | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 home/misc_32c8.asm (limited to 'home') diff --git a/home/init.asm b/home/init.asm index 515ce84..98fa129 100644 --- a/home/init.asm +++ b/home/init.asm @@ -104,9 +104,7 @@ Init: ; 052f call DisableAudio call _2007 - ; predef ??? - ld a, $4B ; TODO: add predefs so the line above can be uncommented - call Predef + predef CheckSGB ld a, $1F ld [rIE], a ld a, HIGH($9C00) diff --git a/home/misc_32c8.asm b/home/misc_32c8.asm new file mode 100644 index 0000000..f371d39 --- /dev/null +++ b/home/misc_32c8.asm @@ -0,0 +1,28 @@ +include "constants.asm" + +if DEBUG +SECTION "Unknown 32c8", ROM0[$32c8] +else +SECTION "Unknown 32c8", ROM0[$328c] +endc + +Function32c8:: + predef Functionce10 + ld a, b + and a + ret + +Function32d0:: + ld hl, .Data + ret + +.Data: ; 00:32d4 + db "@" + +SubtractSigned:: + sub b + ret nc + cpl + add $1 + scf + ret -- cgit v1.2.3