Commit Graph

7 Commits

Author SHA1 Message Date
luckytyphlosion
e1659ecd41 Introduce linkerscript.
Addresses of sections will now be added to the linkerscript via `org`, and the section name will be the path/to/file. If there is more than one section in the file, then add a @SectionName after the path/to/file to describe the section.
2018-07-03 17:07:05 -04:00
ISSOtm
20f07292a5 Replace a few predefs 2018-06-10 11:51:17 +02:00
Rangi
c8e9901947 Code conventions:
- Lowercase hex literals
- Lowercase rgbasm keywords (rept, endr)
- Use decimal literals by default, binary when bits are meaningful; hex indicates that it needs further review, e.g. to define a constant
- Tabs, not spaces
- Newline at end of file (rgbds sometimes complains otherwise)
- Doc comments underneath function names
2018-06-01 13:24:42 -04:00
pfero
cd9191b074 Clean up Makefile
This makefile can now figure graphics dependencies on its own, creates
dependency files for each compilation unit and compiles everything
separately.

This is a proposal. Please try it out, read the Makefile to see if you
get what I'm trying to do, and propose any improvements you want.
2018-05-30 22:53:59 +02:00
Rangi
2f65c68550 Small temporary SECTION headers go in main.asm, so the individual files won't all need fixing later 2018-05-29 19:06:23 -04:00
ISSOtm
e6c75f2d84 Fix disassembling mistakes 2018-05-29 16:43:04 +02:00
ISSOtm
39a6615bcb Disassemble a lil' bit 2018-05-28 14:02:22 +02:00