Bryan Bishop
3fb03e9981
two more unused imports from preprocessor
2013-08-28 20:31:17 -05:00
Bryan Bishop
52c3daca54
Merge pull request #170 from kanzure/fix-up-preprocessor
...
Remove some globals from preprocessor.
2013-08-28 17:54:02 -07:00
Bryan Bishop
e4d3ea7256
don't use globals in the preprocessor
...
Macros are now passed around as lists and dicts.
2013-08-28 17:53:26 -05:00
Bryan Bishop
16bfc01124
use generic skippable macros in preprocessor
...
This removes TextEndingCommand from the preprocessor. Instead, there is
a generic concept of a skippable type of macro like "db".
This adds SkippableMacro to the preprocessor.
2013-08-28 17:18:29 -05:00
Bryan Bishop
b602cc9bd6
don't directly reference two macro classes
...
Ideally the macro classes will be removed from the preprocessor core
soon, there's no reason they should be infecting these functions.
2013-08-28 16:48:29 -05:00
Bryan Bishop
d46d1901c2
Merge branch 'remove-another-moneybyteparam-special-case' into master
2013-08-28 16:34:06 -05:00
Bryan Bishop
6d612c8828
remove MoneyByteParam from preprocessor
...
It didn't belong in there. All of the references were removed.
2013-08-28 16:33:27 -05:00
Bryan Bishop
a4782d9b5a
Merge branch 'master' into remove-another-moneybyteparam-special-case
2013-08-28 16:32:15 -05:00
Bryan Bishop
0236b59360
remove another MoneyByteParam special case
...
This updates the preprocessor to just look for a from_asm method on the
class for the parameter it's processing. If there's a from_asm method,
then it uses it to spit out the right asm.
2013-08-28 16:30:47 -05:00
Bryan Bishop
53d208ce4c
fail fast when the baserom.gbc file doesn't exist
...
One day this will not be required. But until then, waiting one or more
seconds for the build to fail just to learn that you forgot baserom.gbc
is really silly.
This makes failure almost instantaneous compared to before, which would
take between one and ten seconds depending on system performance.
fixes #167
2013-08-28 16:22:50 -05:00
Bryan Bishop
16f6619ac8
Merge pull request #168 from kanzure/remove-preprocessor-special-case
...
Remove a special case for MoneyByteParam.
2013-08-28 14:15:58 -07:00
Bryan Bishop
00b36922d2
remove a special case for MoneyByteParam
...
The preprocessor should ideally have no special cases for macros at all
in the first place. But it does. This one doesn't seem to be necessary.
2013-08-28 16:14:23 -05:00
yenatch
7fe1fa58e3
hram constants in serial interrupt
2013-08-28 04:29:20 -04:00
yenatch
03abb89474
serial hram constants
2013-08-28 04:28:45 -04:00
yenatch
faae0e1029
serial interrupt
2013-08-28 01:24:52 -04:00
yenatch
8898f63fc7
timer interrupt
2013-08-27 23:38:05 -04:00
yenatch
e48899c1f4
gbhw: flag constants for interrupts and timer registers
2013-08-27 23:37:24 -04:00
yenatch
651e0a4245
LYOverrides in main.asm
2013-08-27 20:56:28 -04:00
yenatch
64bb7d2253
add LYOverrides in wram bank 5
2013-08-27 20:56:24 -04:00
yenatch
25dcc71c4c
rename some LCD functions
2013-08-27 20:46:15 -04:00
yenatch
12ab33b37e
rename FarCall family labels
...
FarJump labels renamed to FarCall
register aliases JpHl and JpDe renamed to _hl_ and _de_
2013-08-27 18:16:42 -04:00
yenatch
be9c504b24
rename PushScriptPointer -> CallScript
2013-08-27 18:00:41 -04:00
yenatch
886ab68884
add some field move asm and scripts
2013-08-27 17:11:24 -04:00
yenatch
94fc90a243
badge engine flags in main.asm
2013-08-27 16:23:53 -04:00
yenatch
7cba224d4a
engine flag constants
2013-08-27 14:12:05 -04:00