summaryrefslogtreecommitdiff
path: root/tools/disasm
AgeCommit message (Collapse)Author
2025-02-04Delete disassembly data for ique-cn (#2453)cadmic
2025-01-29[iQue] Match z_file_copy_erase (#2447)cadmic
* [iQue] Match z_file_copy_erase * Reword comment
2025-01-28Fix /bin/bash -> /usr/bin/env bash (#2448)Sirius902
* Fix /bin/bash -> /usr/bin/env bash * Add curl to docker container
2025-01-19[iQue] Match z_kanfont (#2428)cadmic
2025-01-17[iQue] Match z_sram (#2426)cadmic
* [iQue] z_sram: Use iQue-specific read/write macros * [iQue] z_sram: Make checksum a struct * [iQue] z_sram: Finish matching * Call the trigraph usage a bug * Fix bss * Sram_iQueReadWrite -> Sram_ReadWriteIQue * Use SRAM_HEADER_MAGIC for loop bound * Rename sZeldaMagic -> sSramDefaultHeader and use less char literals
2025-01-14[iQue] Match ovl_kaleido_scope (#2421)cadmic
* [iQue] Match ovl_kaleido_scope * Add bug comment for OOB reads Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Preemptively fix merge conflicts --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-01-10[iQue] Match remaining src/boot files (#2417)cadmic
* [iQue] Match remaining src/boot files * Fix debug ROM * Use -funsigned-char * Sort ique before gc in LNx macros
2025-01-10[iQue] Match gzip/zlib decompression (#2416)cadmic
* [iQue] Match gzip/zlib decompression Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * Update missed renames in disassembly * Fix some formatting --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2025-01-10[iQue] Match handwritten asm files in libultra/os, match C replacements of ↵Tharo
osGetCount and __osSetCompare (#2413) * [iQue] Match handwritten asm files in libultra/os, match C replacements of osGetCount and __osSetCompare * Format * Adjust some label names in dcache functions
2025-01-06Match remaining IDO files for iQue (#2394)cadmic
2024-12-28Add missing vimode splits in iQue disassembly (#2393)cadmic
2024-12-26Set up iQue disassembly (#2384)cadmic
* Set up iQue disassembly * Label libultra vimodes * Format * skapi.c -> skapi.s * Fix AudioDebug functions * Group D_80134488 with fp.s in disassembly * Label boot bss * Add bss split for siacs
2024-09-26Fix typos found by codespell (#2229)cadmic
2024-09-12Delete disassembly data for ntsc-1.2 (#2178)cadmic
2024-09-12[ntsc-1.2] Match ntsc-1.2 BSS and add to CI (#2187)cadmic
* Match ntsc-1.2 * Add ntsc-1.2 to CI * Apply fixes from Jenkins * Promote ntsc-1.2 to "supported" in Makefile * Declare D_80858AD8 as a u64 array * Tweak wording * Hopefully make ntsc-1.2 bss more stable * Restore segmented_address.h include
2024-09-11Cleanup gSPMatrix, rename `Matrix_New` -> `Matrix_Finalize`, add ↵Dragorn421
`MATRIX_FINALIZE_AND_LOAD` (#1983) * clean up gSPMatrix usage * add weird hybrid macro gSPMATRIX_SET_NEW * Matrix_NewMtx, MATRIX_NEW -> Matrix_Finalize, MATRIX_FINALIZE * gSPMATRIX_SET_NEW -> MATRIX_FINALIZE_AND_LOAD * format
2024-09-08[headers 9] Add src/libc64/ and new "z64" rand.h (#2164)Dragorn421
* rand.h -> libc64/qrand.h * Add rand.h with z64 rand wrappers * yeet comment * code/rand.c -> libc64/qrand.c * fixup * move libc64 source to src/libc64/ * fix * bss * update file splits disasm metadata
2024-09-08Document `ACTOR_FLAG_SFX_` flags and functions (#2162)Dragorn421
* Document `ACTOR_FLAG_SFX_` flags and functions * format
2024-09-08Player Docs - Parallel (#2167)fig02
* name func and flag * rest of the docs * format and comment change * comment
2024-09-07Pause doc: Cursor drawing (#2159)Dragorn421
* Pause doc: Cursor drawing * bss
2024-09-07rename gBuildTeam to gBuildCreator (#2160)fig02
2024-09-08[ntsc-1.2] Import n64dd code from Decompollaborate/n64dd (#2136)cadmic
* Import n64dd code from Decompollaborate/n64dd Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com> * Don't stub out missing textures * Remove @brief * Add low-effort file comments * Match OoT if style * Fix n64dd matching due to int vs long * Fix English n64dd error textures * Compress n64dd segment * Align n64dd to 0x40 --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
2024-09-07Target -> Attention (System Rename) (#2149)fig02
* TargetContext -> Attention * targetCtx -> attention * Target_ -> Attention_ * FindTargetableActor -> FindActor * targetableActorP -> attentionActorP * data vars (and 1 function I missed) * targetMode -> attentionRangeType * attention range enum comments * ATTENTION_RANGE_ * attention range data * TargetColor -> AttentionColor * missed one * fixup color variables * targetArrowOffset -> lockOnArrowOffset * focus pos comment * targetPriority -> attentionPriority * assets * loose-ends * Attention System Description * format * skj range type * enemy bgm
2024-09-07[ntsc-1.2] Match z_file_choose.c and z_boss_tw.c (#2146)cadmic
* Match z_file_choose.c * Match z_boss_tw.c * Format * end: -> close_disps:
2024-09-05Document `Target_ShouldReleaseLockOn` [Target Docs 8/8] (#2135)fig02
* target range and leash docs * format
2024-09-05Naming a function (#2124)Ozero4
* Naming a function * Naming function * Update functions.txt * Update function name * Update function name * Update function name * Update function name
2024-09-05Update Room Documentation (#2015)mzxrules
* Update Room Documentation * Write more complete documentation, implement suggestions. * Function name changes; minor comment tweaks * nit * Resolve Dragorn fixes * Resolve Fig suggestions, fix comment wording * fix bss, fig suggestion * bss
2024-09-04istargeted -> islockedon (#2132)fig02
2024-09-05[ntsc-1.2] Organize n64dd declarations and convert to 1.0 addresses (#2127)cadmic
* Reorganize n64dd declarations * Fix bss * Really fix bss
2024-09-05Cleanup: Pass all paths to tools rather than tools constructing them (#2017)Dragorn421
* Pass all paths to tools rather than tools constructing them * fix: make --baserom-segments required * sync with mm reviews * --version everywhere
2024-09-04[ntsc-1.2] Match __osMalloc.c and code_800FC620.c (new/delete) (#2106)cadmic
* Match __osMalloc * Match src/code/code_800FC620.c (new/delete) * Wrap versions-specific files in ifdefs to fix compilation * Fix bss * Remove {FAULT,RAND,OSMALLOC}_VERSION in favor of PLATFORM_N64 * Fix __osMalloc data splits, add unused strings * __osMalloc.h -> osMalloc.h * Fix merge
2024-09-04[ntsc-1.2] Match game.c, z_play.c, z_room.c (#2117)cadmic
* Match z_room.c * Match game.c and z_play.c * Add undefined syms * Rewrite condition based on other file matches
2024-09-04Match fp_math.c (#2116)cadmic
2024-09-04[ntsc-1.2] Update spec for boot and code (#2114)cadmic
* Update spec for boot and code * Fix merge
2024-09-03Document Target_Update [Target Docs 4/?] (#2123)fig02
* document Target_Update * add comments * try CLAMP (dbg is ok but ci will check retail)
2024-09-03[ntsc-1.2] Match audio (#2122)cadmic
* general.c mostly ok * match remaining audio funcs * comments * Finish matching audio --------- Co-authored-by: engineer124 <engineer124engineer124@gmail.com>
2024-09-03[ntsc-1.2] LoadFragment2 OK (#2118)Derek Hensley
* [ntsc-1.2] LoadFragment2 OK * Add insight about bssSize
2024-09-03Target System Docs: Actor Searching [3/?] (#2120)fig02
* document target actor searching * missed something * review * mzx review
2024-09-01Document Target_Draw [Target Docs 2/?] (#2115)fig02
* document Target_Draw Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * fix missed renames * retail fix * another fix --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2024-08-31Target Docs [1/?] (#2110)fig02
* Target Docs Part 1 Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * review --------- Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2024-08-29Move driverominit and sprintf to src/boot/ (#2105)cadmic
2024-08-29[ntsc-1.2] Fix some data / disassembly / undefined_syms (#2103)cadmic
* Fix some data splits * Use real fault functions in cic6105.c * Fix fault_n64.c data sizes * Format
2024-08-28[ntsc-1.2] Match N64 libultra (#2081)cadmic
* Match N64 libultra * INITIALIZE_FUNC -> OSINITIALIZE_FUNC * Document osGetIntMask * Refer readers of osGetIntMask to osSetIntMask comment * Whitelist new static functions in disasm unksyms check
2024-08-28Check disasm metadata for missed renames (#2069)Dragorn421
* Check disasm metadata (look for symbols in metadata that no longer exist, indicating renames but the metadata was not updated) * -us.z64 * Update disasm metadata with renamed functions in #2057 * sort IGNORE_NTSC_1_2_SYMS_MISSING
2024-08-28[ntsc-1.2] Decompile fault.c (#2046)Dragorn421
* wip decomp ntsc-1.2 fault.c * more ntsc-1.2 fault.c * decompiled fault_v1.c * name fault_v1 functions, wip * try to clean up build system (two versions of the fault system coexisting) * cleanup * cleanup2 * fix build gc-eu-mq-dbg * match 2 more, ty anon * matched * review * more review * fixup spec * `(uintptr_t)ptr op int` instead of `ptr op (type*)int` * move fault.h out of global headers, properly include fault.h and versions.h * compile all fault_*.c files regardless of version by overriding FAULT_VERSION * n64 FaultMgr.framebuffer s32 -> u16* * FaultMgr.framebuffer -> FaultMgr.fb * make gc FaultMgr.fb u16* (yes, thats everything) * bss * fix Fault_Printf return type * noop FaultDrawer_SetFontColor, FaultDrawer_SetCharPad in fault_n64 * fault_color_ stuff is only for fault_gc * rm empty line in makefile * I guess `D_80105A90_unknown` is `[sg]TotalAllocFailures` * bss * `Fault_WaitInput` -> `Fault_WaitForInput` * use named fault funcs in pointers array * FAULT_OOT{N64,GC} -> FAULT_{N64,GC} * Apply suggestions from code review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * review, sync fault_{gc,n64} * Apply `FPCSR_CE` suggestions from code review Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com>
2024-08-25[ntsc-1.2] Decompile cic6105.c, main.c (#2068)Dragorn421
* decompile-OK Main, cic6105.c * names cleanup / minimal doc * match versions * fix bad disasm metadata format * bss * bss * review 1 * review 2 * review 3 * review 4 * cleanup * bss * add some sizes to disasm metadata symbols
2024-08-24[ntsc-1.2] Match kaleido_collect.c, kaleido_scope.c (#2070)Dragorn421
* Match kaleido_{collect,scope} * review
2024-08-22Pause docs: page backgrounds vertices and quads (#2065)Dragorn421
* Pause docs: page backgrounds vertices and quads * update disasm metadata
2024-08-20Fix memmove file splits (#2063)cadmic
2024-08-20Match n64dd text in code (#2058)Dragorn421
* match n64dd text * format * fixups * add n64dd segment using baserom * cleanup syms 1 * cleanup symbols 2 * cleanup D_800FF4B0 * fix declaration usage and linking for D_800FF4B0