Commit Graph

7 Commits

Author SHA1 Message Date
mid-kid 99a038284b Translate all .include to #include
This decision was made to reduce the complexity of using .include whilst
juggling with tools/scaninc and tools/preproc:
- tools/scaninc doesn't apply the proper search rules for .include (it
  assumes #include behavior). In particular, it doesn't consider paths
  starting from $PWD, and doesn't scan the included files as a result.
- .include had to be processed before #include by preproc in many cases,
  as code was being included that had to be preprocessed by CPP (think
  of #define). This contradicts standard GCC behavior.

To make include paths consistent across the asm/ data/ and src/
directories, the following files were moved:
- constants/ → include/asm/constants/
- asm/macros/ → include/asm/macros/
- asm/macros.inc → include/asm/macros.inc
- include/macros/m4a.inc → include/asm/macros/m4a.inc

As part of the necessary changes for this to work, the scaninc method in
the makefile was improved to generate .d files that don't choke when
files are missing.
2021-12-20 16:29:12 +01:00
Seth Barberee eaa141c612 Keep on keepin on (#38)
* end of may dump of work

* move save text to src

* decomp a little more
2021-05-23 16:19:35 -05:00
Seth Barberee e1f9c17e35 further splitting and decomping 2020-10-21 17:48:40 -05:00
nullableVoidPtr f4ef62bb41 Renamed primary heap variables and partial cleanup m4a.s 2018-11-20 15:04:00 +08:00
nullableVoidPtr 961ab7ccaf Fix makefile and decompile some functions.
Partial memory.c, save.c and bg_palette_buffer.c decompilation, along with some asm/ cleanup.
2018-11-18 18:29:52 +08:00
sceptillion 64ec7eaca9 label functions 2017-12-11 13:50:00 -08:00
sceptillion ab34718048 split memory.s 2017-12-11 03:20:15 -08:00