850 Commits

Author SHA1 Message Date
Bryan Bishop
0eb28d0e67 update address syntax again 2012-12-26 20:18:12 -06:00
Bryan Bishop
9ed07bd3a9 Merge remote branch 'remotes/yenatch/master'
Oops, missed a few commits last time.
2012-12-26 19:15:05 -06:00
Bryan Bishop
3b20ea2916 Merge remote branch 'remotes/yenatch/master'
fixes #49
2012-12-23 02:57:21 -06:00
padz
a2b7d31878 add SpecialRoamMons and reformat TypeEffects 2012-12-23 03:42:23 -05:00
padz
eb4db4618f clean up bank 0; time-sensitive fns; add Predef fn
comment redone joypad functions + automated input
comment some uncommented functions
comment known hram addresses
try to clean up CalcMagikarpLength
label known addresses
add time-sensitive functions (rtc, palettes)
add Predef and PredefPointers
2012-12-23 03:21:19 -05:00
Bryan Bishop
5e92861659 Merge pull request #47 from iimarckus/specialphonecall
specialphonecall takes a 16‐bit ID.
2012-12-17 20:07:04 -08:00
IIMarckus
19ce6e7a74 specialphonecall takes a 16‐bit ID. 2012-12-17 21:00:41 -07:00
Bryan Bishop
531ccfb5f6 update gbz80disasm to not use $ff00+$ff syntax 2012-12-16 09:16:04 -06:00
Bryan Bishop
4f1d108480 switch ld syntax from ff00+xx to ffxx
s/\([fF][fF]\)00+\$\([A-Za-z0-9]\)\([A-Za-z0-9]\)/\1\2\3/g

s/\([fF][fF]\)00+\$\([A-Za-z0-9]\)/\10\2/g
2012-12-16 08:45:19 -06:00
padz
8092f62cf4 expand on battle ram 2012-12-14 03:00:10 -05:00
padz
3bae3a5313 make gbz80disasm easier to use externally 2012-12-14 02:47:13 -05:00
Bryan Bishop
9d68470e0f even better preprocessor formatting 2012-11-30 10:26:49 -06:00
Bryan Bishop
671e2b1289 md5 -> hashlib 2012-11-30 10:17:23 -06:00
Bryan Bishop
3d8e7a1776 make preprocessor includable as a module
The preprocessor only runs against stdin when __main__ is activated,
instead of always running on stdin. This allows the file to be included
in an interactive python session or in other scenarios.
2012-11-30 10:12:27 -06:00
Bryan Bishop
935384f931 update spacing for read_line in preprocessor 2012-11-30 10:04:56 -06:00
Bryan Bishop
44c3eb1ccf make the include macro check better
The include macro is now checked against only the beginning of the line,
and comments in the asm file can say "INCLUDE \"" if they need to. In
addition, the preprocessor now supports INCLUDE lines that are preceded
by a tab character. However, if this included file has multiple lines,
the output will not be automatically aligned with the initial tab. This
might cause problems with rgbasm.
2012-11-30 10:01:33 -06:00
Bryan Bishop
1e6f295573 more preprocessor comments 2012-11-30 09:58:57 -06:00
Bryan Bishop
9b4718d0c7 clean up formatting in preprocessor 2012-11-30 09:56:15 -06:00
Bryan Bishop
a1a9fa5560 move allowed_lengths for music macros out
This moves the allowed_lengths setting out of the preprocessor. Special
cases should not be hardcoded in the preprocessor.
2012-11-30 09:54:02 -06:00
Bryan Bishop
bdad293da3 Merge pull request #46 from yenatch/master
parse and dump music data
2012-11-30 07:49:19 -08:00
padz
5a8318788c get rid of defunct rgbasm macros 2012-11-30 06:03:04 -05:00
padz
041de2adf3 update music ptrs + labels and include music files 2012-11-30 05:59:13 -05:00
padz
3626ddebd1 implement music macros; INCLUDE injection in pre 2012-11-30 05:58:00 -05:00
padz
bfbb9b77e8 remove deprecated music files 2012-11-30 05:55:29 -05:00
padz
0dba59e490 parse and dump music data 2012-11-30 05:52:23 -05:00