mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-22 18:14:38 -05:00
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.
15 lines
374 B
SQL
15 lines
374 B
SQL
.set WAIT_START_FUNC, 0x03
|
|
.set WAKEUP_FUNC, 0x20
|
|
.set LOOK_AROUND_FUNC, 0x21
|
|
.set JUMP_HAPPY_FUNC, 0x25
|
|
.set JUMP_ANGRY_FUNC, 0x27
|
|
.set NOTICE_FUNC, 0x28
|
|
.set QUESTION_FUNC, 0x29
|
|
.set SWEAT_FUNC, 0x2A
|
|
.set SHOCK_FUNC, 0x2B
|
|
.set SMILE_START_FUNC, 0x2E
|
|
.set SMILE_END_FUNC, 0x2F
|
|
.set INIT_SLEEP_FUNC, 0x35
|
|
.set LIVES_WARP_ARRIVE_FUNC, 0x51
|
|
.set LIVES_WARP_ARRIVE2_FUNC, 0x52
|