* 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
* 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
* Do not qualify gAudioHeapInitSizes with const under AVOID_UB
* Move gAudioTatumInit and gAudioHeapInitSizes to their own file, move data to rodata
* Space
* [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>
* [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
* [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
* [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
* [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
* 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
* 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>
* 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
* 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>
* 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
* Matching dmatable
* Generate NON_MATCHING dmadata
* Clean up dmamgr
* Format
* Ignore tools/buildtools/mkdmadata
* Warnings
* Use SYMS flag instead of segment name
* PR + more notes
* PR cleanups
* Move qrand to libc64
* use an union to avoid type punning
* __osMalloc
* math64.c
* fixed_point.h
* sleep
* aprintf.h
* sprintf
* malloc
* use original names on aprintf.c and malloc.c
* qrand cleanup pass
* use original names of sleep.c
* og names for sprintf
* more cleanup
* format
* fixes
* whoops
* use ARRAY_COUNT again
* comment
* Use `fu`
* forgot this one
* review
* fix
* sneak a tiny cleanup
* update makeyar.c
* xmls
* commit c files
* remove paddings and update the spec
* Tell ZAPD to not generate C files for the 2 problematic XMLs
* Rename symbols to follow style
* cleanup the generated files a bit
* comment on makeyar
* fix distclean deleting the `assets/c/` files
* actually fix distclean