Anthony J. Bentley
d86cb41972
Rename png.h to makepng.h, to avoid conflicts with libpng's png.h.
2016-10-22 14:03:14 -06:00
Anthony J. Bentley
c02b04f7d2
Merge branch 'export-all-2' of https://github.com/Sanqui/rgbds
2016-09-05 02:43:23 -06:00
Anthony J. Bentley
6e0aca47d4
Declare string uppercase/lowercase functions unconditionally.
...
Avoid naming them str*(), because such names are reserved by ISO C.
2016-09-05 01:41:39 -06:00
Anthony J. Bentley
c3c31138dd
Add rgbgfx.
2016-09-05 01:29:45 -06:00
Sanqui
2e9c68f8c3
Add overlay file option to rgblink (-O)
...
This option takes a file and places fixed sections on top of it.
Should prove useful for patches and partial disassemblies.
2016-03-28 01:02:05 +02:00
Sanqui
deb44eaeef
Merge branch 'master' into HEAD
2015-10-13 22:37:25 +02:00
Sanqui
338c176b37
Add -E option to rgbds, allows exporting all labels by default
2015-10-13 22:35:02 +02:00
yenatch
1a15ee5363
Increase the length of charmaps.
2015-10-13 08:46:29 -07:00
Anthony J. Bentley
2ea2e47231
Avoid a pointless strcpy().
2015-10-05 23:58:00 -06:00
Anthony J. Bentley
6c10ca62ad
Don't silently truncate banks greater than 255 to 8 bits.
2015-07-26 02:08:39 -06:00
stag019
ebc9a4b786
Merge include/link/types.h and include/asm/types.h into include/types.h
2015-03-07 16:04:07 -05:00
stag019
e195076793
Only block comments in headers
2015-03-07 15:50:09 -05:00
stag019
b14beeff10
Consistency in #includes
2015-03-07 15:49:17 -05:00
stag019
db54c2ebd6
Replace all ASMOTOR references with RGBDS.
2015-03-07 15:42:06 -05:00
Anthony J. Bentley
261503c7c8
Fix the reallocarray header by providing a prototype.
2015-02-25 02:13:23 -07:00
Anthony J. Bentley
c8d9ae21e6
A header file this simple doesn’t satisfy modicum of creativity.
2015-02-24 16:02:21 -07:00
Anthony J. Bentley
5281704f62
These internal headers don’t need C++ boilerplate.
2015-02-24 16:01:53 -07:00
Anthony J. Bentley
1c47ffcce8
Import reallocarray() for later use.
2015-02-14 00:14:39 -07:00
yenatch
91241b44da
rgbasm: bump MAXMACROARGS up to 256 from 9
2015-01-19 23:28:09 -08:00
Anthony J. Bentley
1d174f37da
rgbasm: Convert oDontExpandStrings to bool.
2015-01-07 23:52:22 -07:00
stag019
2b839fec37
Use the options parameter provided for command line options. Specifically, for haltnop.
2014-12-31 13:29:24 -05:00
Anthony J. Bentley
513d451710
Tweak path for stdnoreturn.h header.
2014-12-31 03:21:46 -07:00
Anthony J. Bentley
9399ba36f9
Check for standards‐compliant platforms first in stdnoreturn.h.
2014-12-31 03:20:14 -07:00
stag019
f0e5c5ccc8
Cross-compiler noreturn support.
2014-12-31 04:11:06 -05:00
stag019
9b4959cb75
Implement round, ceil, and floor math functions.
2014-12-17 01:30:19 -05:00
stag019
871c5ed360
We aren't kidding ourselves anymore. This is a Gameboy assembler, not any sort of generic assembler.
2014-11-07 16:36:03 -05:00
Anthony J. Bentley
9e24c26468
Specify _Noreturn in the err family prototypes.
2014-11-06 21:36:27 -07:00
stag019
80e2129f22
Merge https://github.com/bentley/rgbds
...
Conflicts:
include/lib/types.h
src/asm/symbol.c
2014-11-02 01:00:20 -05:00
Anthony J. Bentley
0d07caba60
Remove inconsistent version numbering.
2014-09-25 20:56:15 -06:00
Anthony J. Bentley
215d6f0c5b
Revert 97d431d1f4ad404e282e3781bd195be3f053734d; it breaks things.
2014-09-24 03:40:50 -06:00
Anthony J. Bentley
d7319ecd00
Remove rgblib.
...
I have never used it and it's probably been broken for years.
2014-09-24 03:03:42 -06:00
Anthony J. Bentley
d661b3a532
Now that we replace missing libc functions, switch back to err().
2014-09-24 02:50:39 -06:00
Anthony J. Bentley
97d431d1f4
rgbasm: Avoid unnecessary filename copying.
2014-09-24 00:52:00 -06:00
Anthony J. Bentley
45b6872e2a
rgbasm: Fix TOCTOU and reduce buffering.
2014-09-24 00:23:40 -06:00
YamaArashi
2bf31870a7
Cleaned up lexer
...
- separated the lexer into multiple functions so it is more readable
- fixed issue with long label names in macro arguments
- added error checking code to prevent buffer overflows
2014-08-22 21:44:18 -07:00
YamaArashi
b1269ab53a
Improve rgbasm performance
2014-08-21 02:57:43 -07:00
stag019
55974bc743
Only define _MAX_PATH is it isn't already defined.
2013-12-23 14:52:37 -05:00
stag019
36edec6231
Add out_BinaryFileSlice() definition to output.h.
2013-12-23 14:47:37 -05:00
stag019
1218da79a9
Character maps.
2013-12-22 20:55:14 -05:00
yenatch
bc99ee2210
rgbasm: -v option (verbose)
2013-12-03 00:25:12 -05:00
Anthony J. Bentley
7770827cce
Redefine consistent names for section types, and document the changes.
2013-07-31 22:14:31 -06:00
Anthony J. Bentley
7ab9742299
Implement SRAM sections.
2013-07-31 20:15:40 -06:00
Anthony J. Bentley
da19380cc4
Add a new WRAMX section type, for banked (CGB) WRAM sections.
2013-06-19 21:19:51 -06:00
Anthony J. Bentley
35448887af
Implement VRAM banks.
2013-05-23 13:44:12 -06:00
Anthony J. Bentley
34d40a67c9
Remove unused variable.
2013-05-19 17:08:44 -06:00
Anthony J. Bentley
c21c0f458f
Improve error messages.
2013-05-19 17:07:34 -06:00
Anthony J. Bentley
51c01e3aad
Remove some dead code.
2013-05-19 16:14:31 -06:00
Anthony J. Bentley
6579743410
Add support for 8 MiB ROMs, the largest size possible with MBC5.
2012-12-26 21:41:47 -07:00
Anthony J. Bentley
b9f92536a9
Remove “localversion” script.
2010-12-22 14:26:43 -07:00
bentley
860c9883bb
rgbasm: fix usage information
2010-01-15 19:50:58 -07:00