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
Bryan Bishop
947bb5eeb2
Merge pull request #44 from yenatch/master
...
CheckSurfOW
2012-11-24 06:21:38 -08:00
padz
544f3f5c2f
add surf checks and related functions
2012-11-24 02:01:05 -05:00
padz
c82557c934
more wram.asm typos
2012-11-24 02:00:26 -05:00
padz
147eb967e5
fix a typo in wram.asm
2012-11-23 23:03:01 -05:00
padz
66f40bf3c1
update constants used in scripts and battle engine
2012-11-23 22:11:55 -05:00
padz
e4cfbdc886
flesh out wram, fix unallocated labels
2012-11-23 21:19:02 -05:00
Bryan Bishop
8a5d12b730
Merge pull request #43 from iimarckus/master
...
trades
2012-11-19 08:16:02 -08:00
IIMarckus
0536f9f352
Add trade data.
2012-11-19 02:57:37 -07:00