Commit Graph

1382 Commits

Author SHA1 Message Date
yenatch
6765083c1c wram.py: allow space definitions using constants 2013-07-10 19:12:48 -04:00
yenatch
341e11cccb labels: hex is case-insensitive 2013-07-10 19:12:48 -04:00
yenatch
ba5cd8bbb8 use wram from outside extras 2013-07-10 19:12:48 -04:00
Bryan Bishop
9b71315d7b Merge pull request #156 from yenatch/cygwin-install
More cygwin installation instructions.
2013-07-10 15:35:46 -07:00
yenatch
3d3208425e apt-cyg is not a cygwin default; rgbds was outdated; simplify rgbds install 2013-07-10 18:31:28 -04:00
yenatch
daf3930984 crystal: wram label finding 2013-06-28 21:49:50 -04:00
yenatch
17b5e86311 crystal: 2pt script commands are for wram 2013-06-28 21:35:44 -04:00
yenatch
622d6b86f7 crystal: PointerLabelToScriptPointer bank is not reversed 2013-06-28 21:17:35 -04:00
yenatch
fee0f0d6a4 gbz80disasm: don't read data where there is none 2013-06-28 16:06:39 -04:00
yenatch
3a1f843e78 gbz80disasm: only track rom addresses for data 2013-06-28 00:10:38 -04:00
yenatch
fe4b13e304 gbz80disasm: use existing labels as addresses 2013-06-27 22:28:53 -04:00
Bryan Bishop
34c8cb8077 Merge pull request #154 from yenatch/movement
Movement.
2013-06-26 21:45:44 -07:00
yenatch
b9dfd607bb DoPlayerMovement and recomment ow surfing checks 2013-06-27 00:34:49 -04:00
Bryan Bishop
ff11134023 Merge branch 'github/master' into master.
Conflicts:
	extras/gbz80disasm.py

Comments.
2013-06-25 23:54:39 -05:00
Bryan Bishop
bd6a985317 Merge branch 'gfx-fixes-again' into master.
Various whitespace and formatting changes.
2013-06-25 23:48:44 -05:00
Bryan Bishop
7da503ac33 use rm -f in Makefile 2013-06-25 23:48:28 -05:00
Bryan Bishop
aee96a5cf7 Merge branch 'cogitokat/master' into master.
fixes #152
2013-06-25 23:47:59 -05:00
Bryan Bishop
78ee534e25 add jython stuff into .gitignore 2013-06-25 23:25:49 -05:00
Bryan Bishop
28268df40e remove extra whitespace in extras/vba.py 2013-06-25 23:23:46 -05:00
Bryan Bishop
aade38c733 remove extra whitespace in extras/gfx.py 2013-06-25 23:01:52 -05:00
Bryan Bishop
cc1add094f fix function formatting in extras/gfx.py 2013-06-25 23:01:00 -05:00
Bryan Bishop
fbf561cfa5 Merge pull request #153 from yenatch/gbz80disasm-data
data detection in gbz80disasm
2013-06-25 20:32:52 -07:00
Bryan Bishop
b710b8721e don't mix tabs/whitespace 2013-06-25 22:25:50 -05:00
Bryan Bishop
ad6e271dec Merge pull request #148 from yenatch/master
Re-organizing some engine-related asm and constants.
2013-06-25 20:17:18 -07:00
Bryan Bishop
4b2d4337b4 Merge pull request #149 from yenatch/new-install
reformat install + fix source preprocessing
2013-06-25 20:10:38 -07:00
yenatch
859c70ff42 install: less abrasive outro 2013-06-25 22:10:15 -04:00
yenatch
44571dc236 give prequeue a reason to exist 2013-06-25 21:51:57 -04:00
yenatch
8d2df72cb8 pre: restore separate_comment's behavior 2013-06-25 21:24:09 -04:00
yenatch
fdf1070dff install: elaborate on make targets 2013-06-25 21:19:09 -04:00
yenatch
03b407a0c4 install: get pip and be less vague about the base rom 2013-06-25 20:32:29 -04:00
yenatch
3d0314b562 replace broken mibbit links with kiwiirc 2013-06-25 19:08:14 -04:00
yenatch
2896cb93d4 gbz80disasm: just use lowercase labels 2013-06-25 04:04:19 -04:00
yenatch
91f7c123f4 gbz80disasm: fix data handling
get the scalpel out of there
2013-06-25 03:57:49 -04:00
yenatch
6630406043 gbz80disasm: local/global address conversion + fix find_label 2013-06-25 03:55:38 -04:00
yenatch
7804dedce4 gbz80disasm: detect data tables referenced in asm 2013-06-25 03:43:58 -04:00
yenatch
e199aaa8fd gbz80disasm: data detection
the is_data flag never did anything. now it does

encountering the end of a branch with outstanding labels will read anything between said labels as data
2013-06-25 03:24:38 -04:00
Kat Harrison
72fbe86c7a fixed another indent in gfx.py 2013-06-23 16:06:46 -04:00
cogitokat
95369248f4 fixed indents 2013-06-23 16:48:51 -03:00
cogitokat
0b5885e1a9 convert indents to 4 spaces in gfx.py
indents were previously 8 spaces
2013-06-23 16:47:35 -03:00
cogitokat
a60bf16901 more docstring/indent fixes in gfx.py 2013-06-23 15:07:39 -03:00
cogitokat
3ee5295ee3 more gfx.py docstring changes 2013-06-23 13:15:23 -04:00
cogitokat
60b52a8cf0 Change bad indents in extras/gfx.py 2013-06-23 14:12:03 -03:00
Kat Harrison
1120eaaaf5 Edit some docstrings in /extras. 2013-06-23 12:43:16 -04:00
Kat Harrison
897d8b744c Made edits to docstrings in extras/vba.py
Added to vba intructions and reformatted docstrings to include a summary
line. (Docstring summaries should be max 72 characters.)
2013-06-23 00:45:45 -04:00
Kat Harrison
d67d63df31 update instructions in extras/vba.py
fixes #151 fixes #150
2013-06-23 00:41:38 -04:00
yenatch
01954388ea make: don't recompile if it's not necessary
the preprocessor queue was preventing files from being recognized as out-of-date

this highlights similar errors with graphics targets, which need to be fixed anyway
2013-06-21 23:23:22 -04:00
yenatch
e733c4234c preprocess asm files individually
this fixes a lot of previous hacks

first off, rgbds requires that labels from includes be marked as globals.
instead, 3626ddeb stuffed includes into the parent file in the preprocessor.
this meant one huge file got preprocessed every time, adding an additional
ten seconds to compile time.

running the preprocessor once for each file would create too much overhead,
so a list is fed into prequeue.py, which then makes calls to preprocessor.py.

this paves the way for compiling source files separately some day.

next, compiling previously required `make clean` to be executed first.
f3340de6 touched main.asm to force a fresh compile instead. this behavior
has been reverted. now, `make all` will only attempt to recompile if a
source file has changed.

preprocessor.py has some marginal changes. prequeue.py is created to keep
the original functionality of preprocessor.py intact. so many files are
preprocessed on first compile (1951 as of this commit) that the prequeue
call has been hidden.

compile time is reduced to 15-30 seconds on first compile, and 5-10 seconds
subsequently. the majority of this time is spent in rgbasm.
2013-06-21 16:12:40 -04:00
yenatch
f3340de6dc make clean is no longer required to compile 2013-06-18 22:39:13 -04:00
yenatch
4577af01de updated install instructions 2013-06-18 22:39:12 -04:00
yenatch
fb931fe616 move miscellaneous asm into engine/ 2013-06-17 21:30:36 -04:00