asar
asar copied to clipboard
(Now) official repository of the SNES assembler Asar, originally created by Alcaro
Add a new version of the freespace command which takes an arbitrary identifier and doesn't need an autoclean or prot to prevent freespace leaks. Example: ``` org $00xxxx jsl NewCode...
\ !rb as3 A = 0 namespace B A = A+1 \ Errors occurred while assembling. \:4: error: (Elabel_moving): Internal error: A label is moving around. Please create an issue...
I've tracked the error and it's because the variable `romdata_r` at interface_lib.cpp gets freed twice: First on `asar_patch_begin->resetdllstuff->reseteverything` and then on `asar_patch_end` because it triggers the condition where that variable...
\ !rb as2 if 1 endwhile \ (no output) \ !rb as3 if 1 endwhile \ (no output) ಠ_ಠ
clang-format all source files All files were formatted with the command at repository root: `find ./ -iname *.h -o -iname *.cpp | xargs clang-format -i` .clang-format contents: ``` --- Language:...
Rationale: It's currently impossible to refer to labels in freespace from other patches without writing the label's address to the ROM at known location and then using the known location...
I thought about it as it would be useful for incsrc'ing multiple unrelated patches.
Proposition for a feature where when referring to included source code's labels, defines, macros, functions, you have to use an appropriate prefix to reduce or prevent name collisions