Commit graph

21 commits

Author SHA1 Message Date
U-Fish-PC\Daniel b83acb03e5 Clean up white space 2014-06-09 16:58:02 -04:00
yenatch ea05c44163 Add macro TX_BCD for printing BCD numbers.
This fixes some more static wram addresses.
2014-05-27 11:16:05 -07:00
yenatch 40c17c906b Remove most static wram addresses. Use labels instead.
For unknown addresses, use "w<address>".

Label overleads are still an issue.
2014-05-26 22:04:39 -07:00
yenatch 52ba96f5f4 Don't hardcode wram sections (except for alignment).
Sprite buffers must be aligned to the nearest $100, so these sections are explicitly defined.
2014-05-26 10:12:39 -07:00
yenatch 031e33957d Rename joypad registers. 2014-05-25 10:53:09 -07:00
yenatch 8f8281fe6e Comment some more bank 0 functions. 2014-05-23 15:34:35 -07:00
yenatch 0dea0cc3fb Comment some bank 0 functions, and add wram labels for Predef. 2014-05-23 15:11:09 -07:00
yenatch 3b9740cb82 Comments and labels for saving the last blackout map. 2014-04-27 02:44:29 -04:00
U-Fish-PC\Daniel 391bbad29e A little more map name consistency 2014-04-06 09:33:02 -04:00
yenatch c49dd99a98 Split wram.asm from poke{red,blue}.o into wram.o
wram.asm still defines some constants. They're moved into constants/wram_constants.asm.
2014-01-27 17:09:09 -05:00
yenatch 1b9ee46af9 Get rid of globals.asm. Use ::s to export labels between objects.
globals.asm was a hack that:
- gave rgbasm an extra 100k lines to read
- increased reliance on the python preprocessor
- made the makefile a mess
- gave object creation an extra step
- wasn't even necessary

This speeds up build time by at least a third.
2014-01-27 16:24:13 -05:00
Marcus Huderle e54be71308 Some OT and name WRAM labels. 2014-01-05 18:24:01 -06:00
Marcus Huderle 1e50b494a0 W_TRAINER_NAME wram constant added, and labeled more hardcoded pointers. 2013-12-22 19:05:44 -06:00
U-Fish-PC\Daniel 323a1a638f incbin killing part 2 2013-12-15 13:50:05 -05:00
yenatch dee4943043 finish off wram labels and fix up mistaken label overloads 2013-12-08 14:58:05 -05:00
yenatch f671ebc143 wram labels and clarify safari zone step counter 2013-12-08 14:48:17 -05:00
yenatch 197efee458 even more wram labels 2013-12-08 14:25:19 -05:00
yenatch 4f527b7eef more wram labels 2013-12-08 04:58:44 -05:00
yenatch a548c1d097 split wram/hram out of constants.asm and start using wram sections
also inadvertently labeling some hard addresses
2013-12-05 01:18:14 -05:00
yenatch 69e169706a update section names to comply with rgbds redefinitions
recently bentley/rgbds updated the section naming scheme to allow ram banking

HOME -> ROM0
DATA, CODE -> ROMX
BSS -> WRAM0, WRAMX
2013-08-12 14:38:03 -04:00
IIMarckus b433cbd4b0 Better comments for the Game Freak room. 2013-05-23 17:12:47 -06:00