summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2026-04-21String macros (#1871)Derek Hensley
* PRINTF * T * fault * yaz0 * __osMalloc * audio_thread_manager * graph * padmgr * sched * z_play * z_arrow_ice * z_arrow_light * z_elf_msg * z_elf_msg3 * z_elf_msg4 * z_elf_msg5 * z_mir_ray * stackcheck * Include versions in macros.h * Fix workaround for permuter
2026-03-26[n64-jp-1.1] CIC6105.c matched (#1843)Anghelo Carvajal
* match CIC6105.c * Renames and fixes * Fix bss * format * Review * Version check inequalities
2025-12-08Multiversion code support (n64-jp-1.1) (#1826)Derek Hensley
* setup n64-jp-1.1 disasm * Add versions * New microcode * Bootstrap z_sram * Bootstrap ovl_file_choose * Bootstrap kaleido scope * Bootstrap BgHeavyBlock * MessageContext shift * SaveContext shift * ItemId shift * Fix `PLAYER_CSACTION` shift * format * Add JP only to Heavy Block Description * Makefile multi version comment --------- Co-authored-by: Tom Overton <tom.overton@outlook.com>
2025-08-29Switch to spimdisasm (#1822)Derek Hensley
* Switch to spimdisasm * Remove disasm step from Jenkins * PR Review * Update spimdisasm and macro.inc * jlabel visibility
2025-08-20Build only in spec (#1823)Derek Hensley
2025-08-16Handwritten asm: bcmp, bcopy, bzero (#1817)Tharo
* Handwritten asm: bcmp, bcopy, bzero * consistent and * Consistent add
2025-07-31Handwritten asm build prep, add handwritten asm for the code segment (#1807)Tharo
* Convert entry.s to IDO, use objcopy instead of ipl3.s and audio/lib/stack.s, add handwritten asm for the code segment * Fix disasm, review comments * Other suggestions
2025-05-25Misc Fixes (#1809)Derek Hensley
* EnAn MsgScriptCallback * Version check * Write .extracted-assets.json to outputDir * Fix m2ctx * Fix boot_functions.csv
2025-05-24Seperate baserom segments dir from output dir (#1802)Derek Hensley
2025-04-11Split RSP files (#1806)Tharo
2025-02-23Macroify MML opcodes (#1798)Dragorn421
* Macroify MML opcodes * format * sync w/ oot: shorten macro names, -DMML_VERSION in Makefile
2025-02-21Remove asm-processor in favor of preprocess.sh (#1760)Derek Hensley
* Remove asm-processor in favor of preprocess.sh * Remove duplicate CMD_F * preprocess_pragmas gitignore * Mac fixes * Macos + clang as cc check fixes * Need quotes for paths with spaces * Fix bss
2025-02-02Move spec to spec folder (#1790)Derek Hensley
2025-02-02GCC Compiler Support (#1791)Tharo
* GCC Compiler Support * Update mkldscript
2025-01-29Fix /bin/bash -> /usr/bin/env bash (#1793)Sirius902
2025-01-27Extract Incbins (#1776)Derek Hensley
* extract incbins infastructure * rspboot incbin * rsptext incbin * rspdata incbin * aspMainStack incbin * ipl3 incbin
2025-01-20Add makefile rule to build sample blobs out of assets/ (#1787)Tharo
2024-12-22Check in makerom files (#1758)Tharo
* Check in makerom files * Fix disasm for asm files in src
2024-12-21Move gAudioTatumInit and gAudioHeapInitSizes to their own file, using ↵Tharo
data-with-rodata instead of const qualifiers (#1771) * Do not qualify gAudioHeapInitSizes with const under AVOID_UB * Move gAudioTatumInit and gAudioHeapInitSizes to their own file, move data to rodata * Space
2024-12-17Port over macOS fixAnghelo Carvajal
Co-authored-by: cadmic <cadmic24@gmail.com>
2024-12-13Ports over OoT's version config (#1750)Derek Hensley
* Port over version_config from OoT * extract_text * remove need for calling by python modules * Remove extract audio comment * Newline * pyyaml
2024-12-13[Audio 9/9] Loose ends (#1755)Tharo
* [Audio 9/9] Loose ends * Fix sampleconv memset bug * Doc updates from oot
2024-11-07libu64 (#1705)Dragorn421
* libu64 * libu64 -O2 * Add libu64.md
2024-10-15Extract assets to extracted (#1708)Derek Hensley
2024-10-12Port over OoT's new text pipeline (#1685)Derek Hensley
* Port OoT's new msgdis and msgenc * format * Remove item_ids try block * Update assets/text/charmap.txt Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> --------- Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
2024-09-30Divy out mkdir some more in the makefile (#1701)Derek Hensley
2024-09-27promote some cc_check warnings to errors (#1687)Dragorn421
2024-09-19Remove include_data_with_rodata spec hack by incremental link of z_game_over ↵Derek Hensley
(#1691)
2024-09-15[Audio 8/?] Check-in handwritten sequences, build sequences, automate ↵Tharo
various sfx arrays (#1679) * [Audio 8/?] Check-in handwritten sequences, build sequences, automate various sfx arrays * Fix whitespace in aseq.h * Suggested changes, adjust some MML syntax and add more instruction descriptions * Special case progress script (#9) * Hack progress script * Small adjustment to text fileSectionFixer * 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 * Remove old comment that was missed before * aseq.h tweaks * Review suggestions, aseq.h adjustments --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-09-10Remove assets from automatic includes (#1683)Derek Hensley
2024-09-06Small Misc Tooling (#1668)Derek Hensley
* Move .extracted_assets.json to extracted folder * .options.mk * Move extract assets to tools folder * .make_options.mk * gitignore as well * Remove duplicate import
2024-09-04Cleanup: Pass all paths to tools rather than tools constructing them (#1669)Dragorn421
* Pass all paths to tools rather than tools constructing them * review * fix
2024-08-27[Audio 6/?] Build Soundfonts and the Soundfont Table (#1675)Tharo
* [Audio 6/?] Build Soundfonts and the Soundfont Table * Fix bss * Maybe fix warnings * Improve lots of error messages * Suggested changes from OoT PR * Suggested changes * Make soundfont_table.h generation depend on the samplebank xmls since they are read, report from which soundfont the invalid pointer indirect warning originates from
2024-08-17[Audio 5/?] Build the Samplebank Table (#1674)Tharo
* [Audio 5/?] Build the Samplebank Table * OoT suggested changes * Fix format specifier * Moved linker_scripts files used in final linker to linker_scripts/final * Populate OTHER_DIRS with linker_scripts subdirs * Unhide the partial link command
2024-08-14[Audio 4/?] Build Samplebanks, match Audiotable (#1672)Tharo
* [Audio 4/?] Build Samplebanks, match Audiotable * Add missing scope in MARK chunk handling * Add comment to generate asm file when buffer bug data is emitted, remove duplicate CC4 definition * Adjust comment * SBCFLAGS * Remove unnecessary comments on notes_lut * Split build directories creation command into several to avoid it becoming too long * objcopy -j -> --only-section * Try fix mkdir from clean * Try fix 2
2024-08-11[Audio 3/?] Set up building samples (#1671)Tharo
* [Audio 3/?] Set up building samples * AIFF -> SAMPLE
2024-08-08[Audio 1/?] Extract Samplebanks and Soundfonts to XML (#1666)Tharo
* [Audio 1/?] Extract Samplebanks and Soundfonts to XML * Remove config.py in view of using config yamls for addresses in the future, implement suggested changes from OoT review * Remove some commented out dead code, adjust setup-audio in makefile * Move audio extraction from setup to assets in makefile
2024-07-13Another General Cleanup (#1651)Derek Hensley
* add z64player.h include to z_player.c * NULL check in func_80AEE374 * Couple formating things * parameter R_PICTO_PHOTO_STATE * Remove COLPOLY_NORMAL_FRAC * DynaPolyActor_Init transformFlags * Float in ObjDriftice_Init * aspMainStack * Add gbi defines to m2ctx * Add GBI_DEFINES to COMMON_DEFINES in makefile instead of duplicating it * Add version to build include for m2ctx * Invadepoh includes * Sort calc_bss includes like makefile
2024-06-23Format gbi.h, move ucode defines to makefile (#1650)Tharo
* Format gbi.h, move ucode defines to makefile, correct usage of gDPSetDither * UCODE_DEFS -> GBI_DEFINES, add GBI_DOWHILE toggle * Define GBI_DOWHILE for bss calculations * Makefile thing
2024-06-03More General Cleanup (#1638)Derek Hensley
* LINKER_FILES in makefile * COLPOLY_GET_NORMAL * math header * libc * M_PI for cosf and sinf files * MAXFLOAT * Revert "MAXFLOAT" This reverts commit 96b75ffaa89b1a4ca1c08278b28bc3c70224701a. * Remove SHT_MINV * SHRT_MAX * Add M_PI * Angle macros * f suffix * Format
2024-05-26Use `gcc -E` for `cpp` (#1639)Derek Hensley
* Fix cpp for macs? * Add comment * Move cppflags with cpp
2024-05-19various makefile adjustments (#1635)Derek Hensley
2024-05-17Change tooling for better elf correctness (#1632)Anghelo Carvajal
* Add addresses for makerom and boot segments * Mark entrypoint as the entry of the elf * Add extra labels to macro.inc * Use dlabel, jlabel and endlabel in disassembly * Make jlabel global * git subrepo pull tools/asm-processor subrepo: subdir: "tools/asm-processor" merged: "92b9ec72f" upstream: origin: "git@github.com:simonlindholm/asm-processor.git" branch: "main" commit: "92b9ec72f" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" * Use `dlabel`s for non-functions in .text * Add linker asserts * Move framebuffer_lo to before the makerom segment to avoid `dot moved backwards` warnings * fix * Improve assert message * fix * Third fix * Fix four * Move undefined_syms to linker_script folder * Make second linker script file to avoid abusing undefined_syms * Update Makefile Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Rename to extra.ld * Use entrypoint symbol on ROM header --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
2024-05-17New Romheader format (#1628)Derek Hensley
2024-04-06Build Sync (#1600)Derek Hensley
* Rename outputs * Makefile target renames * Add run target * yeet z64compress * venv * baserom_uncompressed -> baserom-decompressed * input rom name to baserom.z64 * Add BUILD_DIR makefile variable * Move built roms to build dir * Move baserom to baseroms folder * Add version to map file name * Makefile cleanup * Rename ldscript to include version * Multiversion build * n64-us version name * Remove venv as dependency of setup * Readme wording * extract_baserom.py suggestion * Readd checksums * Make .venv work with windows * missed an endif * Cleaner windows venv implementation * Remove duplciate process * Build process steps * Move make_options back * Fix schedule build directory * Fix schedule includes * Makefile NON_MATCHING check -> != 0 * OOT 1704 changes * Small cleanups * Missed 1 thing * UNSET -> SYMS * Update extract_baserom.py * dmadata.py * Small cleanup * dmadata_start * Format * dmadata files * Fix makefile comment * Jenkins report fix * extracted dir * Python dependencies order in readme
2024-03-31Add Shift-JIS support for some voice and message files (#1500)Derek Hensley
* z_message iconv * voicecheckword iconv * format * TODO * voice_external iconv * Missed a few in message * Use shiftjis_conv instead * space comment in message_nes * Use chars for cases * Add ending single quote check as well * table comments * No look up table * align makefile tools
2024-02-01A higher level language for schedule scripts (#1462)Anghelo Carvajal
* schedule script * start something * tokenize * make a tree * start to emit macros * start to handle args * handle branch targets * cleanup a bit * script to convert the current schedule scripts to the new language * Add schedule compilation to Makefile * Fix bug on compiler if the script doesn't have an extra empty line * Allow to have `else`s without braces * convert a lot of schedules * door * en_tk * fix some checks being the wrong way around * borkens * door borken schedules * kafei schedule * postman schedule * Implement `if_since_time_*` command * Allow `if`s to not have an `else` * Implement some debugging options * fix another one from door * D_808675D0 * door D_8086775C * don't print else if there isn't one * start supporting labels * rewrite comment handling * add branch support * emit debugging information * postman and one door * the remaining scripts * add tokens for the non _s/_l versions * meh * Add built schedules * Remove _s/_l suffixes from almost every command * TokenProperties * Move macros and length into TokenProperties * move short and long to TokenType * rename member * some cleanups * fatalError * Write various notes on the compiler * more errors and comments * debug flags * Move the built schedules to the build folder * manually cleanup control flow of many schedule scripts * cleanup postman schedule * start write up * write more stuff * write a little more * Start writing about the commands * 2 more commands * more * almost everything, except returns * hopefully finish documenting the commands * cleanup * formal grammar * Table of contents * typo * Rename schc.py * remove todo * Warn if a if_before_time/if_since_time is negated * Add colors to warnings and errors * delete rebuild schedules script * version * Apply suggestions from code review Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * suggestions on md file * compiler review * invented is invented * ScheduleScript typedef * fix * Convert Anju's schedule to the new format * simplify anju's schedule * forgot to remove `_s`/`_l` * bss * Rework schc to allow multiple scripts per file * Migrate all the schedules to the new format * update language specification * Update docs/schedule_scripting_language.md Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> * Update docs/schedule_scripting_language.md Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
2024-01-31Build tools rework (#1542)Anghelo Carvajal
* yeet libyaz0 * replace elf2rom * makeyar.py * some cleanup * Yeet unused tools * format scripts * Review * review * Rework checksummer.py to modify input file instead
2024-01-19Text Extraction + some Message Docs (#1530)Derek Hensley
* Some Decoder WIPs * Improvements * POC * Fix bss * another newline * Staff OK * Cleanup + fix progress script * script cleanup * Some docs * makefile * Extract text from extract_assets.py * More docs * Even more docs * Other message assets * Small cleanups * Clean up decoders/encoders * Message_SetupLoadItemIcon -> Message_DecodeHeader * Some more docs * Remove mkdmadata * Fade Skippable * More cmd docs * 1 left * Last notes * HS_TIMER -> HS_TIME * More general docs * Format * Note the charmap conversion for buttons in message_data_fmt_nes.h * Remove trailing whitespace * Small fixes * PR
2024-01-15General Cleanup (#1529)Derek Hensley
* Cleanup * vi define cleanup * kdebugserver * osmotor * Remove sqrtf.c * Move osFlash out of libultra * PadUtils_Destroy * BOOT_ADDRESS_ULTRA * Fault * Format * viconfig.h * More small cleanups * gfx cleanup * Format * Forgot to save * variables.h * dListTable -> dListSides * Fix header includes