Use inttypes for stdint types

This should help make RGBDS portable to systems with 16-bit integers,
like DOS.

For kicks, use the macros for 16-bit and 8-bit integers.

Fix other miscellaneous things, like #include ordering and other
printf-format related things.

Reduce repitition in math.c while I'm there.
This commit is contained in:
James Larrowe
2020-05-06 16:46:14 -04:00
parent b299f6fb3b
commit 5c24de3dc4
22 changed files with 180 additions and 150 deletions

View File

@@ -1,5 +1,5 @@
ERROR: pc-bank.asm(2):
Source address $2a00 not in $FF00 to $FFFF
Source address $2a00 not between $FF00 to $FFFF
ERROR: pc-bank.asm(11):
Expected constant expression: Current section's bank is not known
error: Assembly aborted (2 errors)!

View File

@@ -1,2 +1,2 @@
error: Unable to place "test" (WRAMX section) in bank $02 with align mask ffffffc0
error: Unable to place "test" (WRAMX section) in bank $02 with align mask ffc0
---