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
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
bentley
bd84313462
remove GAMEBOY/PCENGINE conditionals (this is a Game Boy assembler)
2010-01-15 17:18:58 -07:00
bentley
795542103d
fix "static declaration follows non-static" warning
2010-01-15 17:16:06 -07:00
bentley
b63924ebf4
remove endianness code (this is solely a Game Boy assembler now)
2010-01-15 16:46:26 -07:00
bentley
24c1613f06
remove mswin-type define -- this is UNIX
2010-01-15 16:35:10 -07:00
bentley
367abd8396
remove psion2 compatibility; i doubt anyone uses it
2010-01-15 12:35:11 -07:00
bentley
157fda2bc8
xlink: fix usage printing to match new options (and rgbfix format)
2010-01-15 00:29:10 -07:00
bentley
0b08fca9f2
xlink: replace awkward fatalerror() with standard errx(3)
...
fatalerror() prints a given string to stdout and exits(5). It
cannot format text, so there was a string temptext used with
sprintf() to format text and pass it to fatalerror().
errx() can format text, and it prints to stderr.
As a bonus, this fixes the linking warnings from use of sprintf().
2010-01-14 23:17:22 -07:00