summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
21 hours[rsp] Introduce microcode build process, disassemble and build both rspboot ↵HEADmainTharo
versions (#2764) * [rsp] Introduce microcode build process, disassemble and build both rspboot versions * Suggested changes * Check-in tool for generating armips.cpp from upstream sources, regen armips.cpp against a newer commit * License armips_gen.py, add notice that armips.cpp is automatically generated * Qualify comment with X105 * Clarify the assumed purpose of rspboot releasing SP_SEMAPHORE
2026-06-08Fix iQue building with DEBUG_FEATURES=1 (#2766)Tharo
2026-05-10Split data/rsp asm files into individual files for each microcode (#2756)Tharo
2026-05-06Partial linking of spec segments (#2661)Tharo
* Partial linking of overlay segments, relax linker script alignment * Partial linking of all spec segments * Fix update, remove _RomPos from linker script * iQue version working pending COM-plugin update * Add plf map file resolution to sym_info.py, local symbol merging is broken * git subrepo pull tools/com-plugin subrepo: subdir: "tools/com-plugin" merged: "c4f3ba845" upstream: origin: "git@github.com:Thar0/com-plugin.git" branch: "main" commit: "c4f3ba845" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * Make tools compatible with partial linking Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * Remove unused files * Fix some makefile bits * mkspecrules cleanup * Comment on the makerom linker layout in mkldscript * Revert linker padding strategy back to pad_text spec directives * Comment on objcopy elf -> rom step * Adjust tool descriptions * Fix compressed builds * rm reloc_prereq, no longer used * Makefile merge fix Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2026-04-15Split `spec` more (#2710)Dragorn421
2026-04-10Commit objects 2: `object_spot15_obj`, `object_spot16_obj`, ↵Dragorn421
`object_spot17_obj`, `object_syokudai`, `object_ta`, `object_timeblock` (#2645) * commit object_timeblock * commit object_ta * commit object_syokudai * commit object_spot17_obj * format * commit object_spot16_obj * fixup * commit object_spot15_obj
2026-02-24Use `OOT_NTSC` instead of `OOT_REGION` to check for ntsc in gkeep (#2703)Dragorn421
* Use `OOT_NTSC` instead of `OOT_REGION` to check for ntsc in gkeep * bss
2026-02-16Commit and split gameplay_keep (#2612)Tharo
* Commit and split gameplay_keep * Remove debugging bits * format * bss * merge gameplay_keep_0x400 into link_textures * Name some unused NTSC stuff * Rename files for some of the newly named unused NTSC stuff * name more gkeep files * format * spin_attack * name fish anims files * name some eff_ files * name a bunch more files * Add underscore in not-final names * cleanup limb enum names (remove g prefix) * split gameplay_keep_0x34020.c into gBugCrawlAnim.c + bug_skel.c * door.h -> door_skel.h * gArrowNAnim -> gArrowN_Anim * split arrow_anims into gArrow1_Anim + gArrow2_Anim * fix merge * bss * bss * Fix bss --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2025-06-25Commit objects 1: `tp`, `triforce_spot`, `umajump`, `vase`, `yukabyun`, `zg` ↵Dragorn421
(#2634) * commit object_zg * commit object_yukabyun * commit object_vase * commit object_umajump * commit object_triforce_spot * commit object_tp * fixup1 * format
2025-06-10`object_zo`: finalize, split and commit (#2624)Dragorn421
2025-06-09Commit `object_ganon_anime3` (#2611)Dragorn421
* Commit object_ganon_anime3 * rm from write_source.txt * bss
2025-05-02Audio internal lib: Merge dcache.c and aisetnextbuf.c into os.c (#2522)fig02
2025-05-01Restructure audio source files (#2520)fig02
* restructure audio files * fix
2025-04-02system_heap -> runtime (#2500)fig02
* very light documentation for runtime * more renaming * one more rename * RunTime -> Runtime
2025-03-28Rename absf to fabsf (#2499)Tharo
2025-03-01Unbreak gcc builds (#2493)Tharo
2025-02-04Finish matching ique-cn (#2451)Tharo
* git subrepo clone git@github.com:Thar0/com-plugin.git tools/com-plugin subrepo: subdir: "tools/com-plugin" merged: "e8543312d" upstream: origin: "git@github.com:Thar0/com-plugin.git" branch: "main" commit: "e8543312d" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * ique-cn OK * Review suggestions * Most suggestions * git subrepo pull tools/com-plugin subrepo: subdir: "tools/com-plugin" merged: "81595ed1c" upstream: origin: "git@github.com:Thar0/com-plugin.git" branch: "main" commit: "81595ed1c" git-subrepo: version: "0.4.6" origin: "https://github.com/ingydotnet/git-subrepo" commit: "110b9eb" * Fix other versions
2025-01-28spec_includes/ -> spec/, spec -> spec/spec (#2422)Dragorn421
2025-01-27[iQue] Fix audio library pad_text (#2446)cadmic
2025-01-11[iQue] Use CPP includes in spec and update for iQue (#2399)cadmic
* Update spec for iQue * Use CPP includes for spec overlays, scenes, and libultra * Fix iQue + DEBUG_FEATURES * Define BBPLAYER, merge function definitions * Add Makefile dependency on spec_includes * Fix libc order for iQue * Match src/libultra/bb/sa/common.c to fix linker errors * Use C versions of getcount/setcompare for iQue * Format * Small fixes to line up boot segment * Remove zlib.c
2025-01-10[iQue] Match libgcc (#2412)cadmic
* [iQue] Match libgcc * Delete old stubs * Squash warning * Put GPL modification notice in libgcc2.inc.c too * Comment wording * Run clang-tidy on libgcc2.inc.c
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-09[iQue] Match remaining libultra/io files (#2411)Tharo
* [iQue] Match remaining libultra/io files * Match osSpTaskYielded * Fix bss, remove double space in controller.h * Fix BSS
2025-01-09[iQue] Set address of makerom instead of address of boot in spec (#2409)cadmic
2024-12-21Set up build system for ique-cn (#2382)cadmic
* Set up build system for ique-cn * Fix size of fbdemo_circle assets * Treat iQue as NTSC and Use "NES" for Chinese text * Revert z_kanfont
2024-12-20Move const-qualified data from session_config.c to session_init.c, no longer ↵Tharo
qualify them as const and incrementally link instead (#2381)
2024-12-08Split code_800D31A0.c into sys_freeze.c and sys_debug_controller.c (#2315)cadmic
2024-12-08Rename code_80069420.c -> z_memory_utils.c (#2314)cadmic
* Rename code_80069420.c -> z_memory.c * z_memory -> z_memory_utils
2024-12-08Rename code_800BB0A0.c -> z_cutscene_spline.c (#2313)cadmic
* Rename code_800BB0A0.c -> z_camera_spline.c * z_camera_spline -> z_cutscene_spline
2024-12-08Use MM names for some unnamed code files (#2312)cadmic
2024-11-17Decouple Debug Features From gc-eu-mq-dbg (#2296)fig02
* rename OOT_DEBUG to DEBUG_FEATURES * makefile changes * add DEBUG_ASSETS * fix DEBUG_FEATURES usages * format * fix errors * review * fix problem and review2 * review * add DEBUG_FEATURES to DEBUG_ASSETS check * review * whoops * format
2024-11-11[ntsc-1.0/1.1] Match audio and loose ends (#2293)cadmic
* Match ntsc-1.0/1.1 loose ends * Revert audioseq_padding * Fix spelling
2024-11-01libu64 (#2267)Dragorn421
* libu64 * logutils.o -> debug.o in spec * stackcheck.c is part of libu64 * review * add paragraph about Overlay_Load calling an external function * audio code*
2024-09-27[ntsc-1.0/1.1] Match PAL 1.0 viconfig changes (#2231)cadmic
* [ntsc-1.0/1.1] Match viconfig changes * SREG(48) -> R_VI_MODE_EDIT_STATE
2024-09-17Consistently use "OOT_VERSION <" and "OOT_VERSION >=" (#2199)cadmic
2024-09-16[PAL N64] Match VI mode setup (#2198)cadmic
2024-09-15[Audio 8/?] Check-in handwritten sequences, build sequences, automate ↵Tharo
various sfx arrays (#2137) * [Audio 8/?] Check-in handwritten sequences, build sequences, automate various sfx arrays * Fix whitespace in aseq.h * Fix sequence 0 sfx id generator * Suggested changes, adjust some MML syntax and add more instruction descriptions * Correct some formatting in aseq.h * Add the dir of the input .seq file to the list of includes to sequence assembling so that assembler-level includes like .include or .incbin work intuitively * aseq.h tweaks * MM review suggestions, aseq.h adjustments
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-08Reorder spec segments for N64 versions (#2163)cadmic
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-07Fix some boot and code data (#2155)cadmic
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-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] Update spec for boot and code (#2114)cadmic
* Update spec for boot and code * Fix merge
2024-09-03[ntsc-1.2] LoadFragment2 OK (#2118)Derek Hensley
* [ntsc-1.2] LoadFragment2 OK * Add insight about bssSize
2024-09-03[ntsc-1.2] Import libleo from Decompollaborate/n64dd (#2104)cadmic
* Create stack.h for STACK/STACK_TOP * Import libleo from Decompollaborate/n64dd Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com> * Use (unsigned) int when in mdebug * Apply suggestions from code review Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Use && in leocmdex.c * Use proper names for character tables, revert sNonKanjiIndices * Fix incorrect OSMesg casts * Use LEO_ERROR_GOOD even where docs say 0 Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Remove "Presumably" comment * Whitespace * Remove redundant (debug-only) returns --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-08-29Move driverominit and sprintf to src/boot/ (#2105)cadmic
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-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>