Commit Graph

  • ab66b28fdf yacc_pre is no longer needed, since all the files were merged into one. stag019 2015-01-03 06:54:40 -05:00
  • 116569f54d Fix for mapfiles and symfiles. Before, you couldn't define a mapfile unless you also defined a symfile. If you did, it would segfault. stag019 2015-01-01 01:20:29 -05:00
  • 2b839fec37 Use the options parameter provided for command line options. Specifically, for haltnop. stag019 2014-12-31 13:29:24 -05:00
  • 513d451710 Tweak path for stdnoreturn.h header. v0.2.1 Anthony J. Bentley 2014-12-31 03:21:46 -07:00
  • 9399ba36f9 Check for standards‐compliant platforms first in stdnoreturn.h. Anthony J. Bentley 2014-12-31 03:20:14 -07:00
  • ef3a486845 Request POSIX 2008 for strdup(). Anthony J. Bentley 2014-12-31 03:18:01 -07:00
  • f0e5c5ccc8 Cross-compiler noreturn support. stag019 2014-12-31 04:11:06 -05:00
  • 9b4959cb75 Implement round, ceil, and floor math functions. stag019 2014-11-08 00:17:26 -05:00
  • dca82e6d95 Fix DEF() automatically converting string EQUS. stag019 2014-11-07 16:42:55 -05:00
  • 871c5ed360 We aren't kidding ourselves anymore. This is a Gameboy assembler, not any sort of generic assembler. stag019 2014-11-07 16:36:03 -05:00
  • 635014b74d On Clang, error on implicit function declaration by default. Anthony J. Bentley 2014-11-06 21:54:49 -07:00
  • 7ad634febd Don’t assign to self. Anthony J. Bentley 2014-11-06 21:42:40 -07:00
  • 1e1339467e Use POSIX 2001 as the base standard. Anthony J. Bentley 2014-11-06 21:39:36 -07:00
  • 9e24c26468 Specify _Noreturn in the err family prototypes. Anthony J. Bentley 2014-11-06 21:36:27 -07:00
  • c1213f536b Merge branch 'master' of https://github.com/stag019/rgbds v0.2.0 Anthony J. Bentley 2014-11-04 17:36:45 -07:00
  • 82de716454 Mark error functions as _Noreturn. Anthony J. Bentley 2014-11-04 17:28:30 -07:00
  • a64d725a8d The actual way the macro bug should have been fixed. stag019 2014-11-04 18:09:22 -05:00
  • 80e2129f22 Merge https://github.com/bentley/rgbds stag019 2014-11-02 01:00:20 -05:00
  • af70f03933 A few more small changes to charmap.c. stag019 2014-10-31 19:01:21 -04:00
  • 004bc2e50e Fix a few charmap bugs maybe? stag019 2014-10-31 10:48:54 -04:00
  • 25efb00769 fix a bug in the lexer involving double quote escaping and semicolons Christophe Staïesse 2014-10-10 15:22:00 +02:00
  • c6c7b99fad PATH_MAX is not exactly portable. Hack around it for now. v0.1.2 Anthony J. Bentley 2014-10-10 03:48:52 -06:00
  • e28d8384fb Merge branch 'fix-makefile' of https://github.com/chastai/rgbds Anthony J. Bentley 2014-10-06 02:01:21 -06:00
  • 27a350eaab Merge branch 'fix-uniquearg-segfault' of https://github.com/chastai/rgbds Anthony J. Bentley 2014-10-06 01:55:19 -06:00
  • cd8d895c1b Style. Anthony J. Bentley 2014-10-06 01:54:03 -06:00
  • 4577a01c68 Fix out of bounds array access on invalid macro arg references Christophe Staïesse 2014-10-05 13:42:07 +02:00
  • 6758387668 Add assertion to symFindMacroArg() to debug oob array access Christophe Staïesse 2014-10-05 16:36:57 +02:00
  • 424702b272 Fix bug: rgbasm segfault when \@ is used outside a macro Christophe Staïesse 2014-04-01 16:48:26 +02:00
  • 191f98a008 Fix incorrect dependencies in Makefile Christophe Staïesse 2014-10-05 11:37:11 +02:00
  • 00de7674af Now that install dirs are created, this error is unlikely to occur. v0.1.1 Anthony J. Bentley 2014-10-03 15:17:49 -06:00
  • 32fa032a62 Makefile: Create install directories if they don’t exist. Anthony J. Bentley 2014-10-03 15:14:40 -06:00
  • 73e44cb803 Fix dependencies for Yacc files. Improve Makefile POSIX compliance. Anthony J. Bentley 2014-09-26 15:27:52 -06:00
  • 3e4350afa4 Don't cast calls to malloc(). Anthony J. Bentley 2014-09-26 00:39:29 -06:00
  • 0d07caba60 Remove inconsistent version numbering. Anthony J. Bentley 2014-09-25 20:56:15 -06:00
  • 3992ce2502 Separate errors that shouldn't have been combined in the first place. Anthony J. Bentley 2014-09-25 20:40:25 -06:00
  • 215d6f0c5b Revert 97d431d1f4ad404e282e3781bd195be3f053734d; it breaks things. Anthony J. Bentley 2014-09-24 03:40:50 -06:00
  • f3394f46b4 Fix MinGW target. Anthony J. Bentley 2014-09-24 03:17:33 -06:00
  • e3df758897 Update license. Anthony J. Bentley 2014-09-24 03:07:43 -06:00
  • d7319ecd00 Remove rgblib. Anthony J. Bentley 2014-09-24 03:03:42 -06:00
  • d661b3a532 Now that we replace missing libc functions, switch back to err(). Anthony J. Bentley 2014-09-24 02:50:39 -06:00
  • c0be5ddbb2 Remove dead stores. Anthony J. Bentley 2014-09-24 01:19:05 -06:00
  • 97d431d1f4 rgbasm: Avoid unnecessary filename copying. Anthony J. Bentley 2014-09-24 00:52:00 -06:00
  • a849e1107e Improve POSIX compliance in the Makefile. Anthony J. Bentley 2014-09-24 00:38:19 -06:00
  • a41bdff88f Wrap Makefile to 80 characters. Anthony J. Bentley 2014-09-24 00:28:14 -06:00
  • cb383e6b1a Unclutter Makefile: use $Q instead of ${Q}. Anthony J. Bentley 2014-09-24 00:26:46 -06:00
  • 45b6872e2a rgbasm: Fix TOCTOU and reduce buffering. Anthony J. Bentley 2014-09-24 00:23:40 -06:00
  • 056109652d rgbasm: Don't allocate an unnecessary buffer. Anthony J. Bentley 2014-09-23 22:22:39 -06:00
  • 284600ef1f rgblink: Don't allocate unnecessary buffer. Delete unused flag. Anthony J. Bentley 2014-09-23 22:17:43 -06:00
  • 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 v0.1.0 YamaArashi 2014-08-22 21:44:18 -07:00
  • 6198cc185c Remove __LINE__ YamaArashi 2014-08-22 01:52:21 -07:00
  • e4571bc0fc Make _NARG work YamaArashi 2014-08-21 19:53:42 -07:00
  • 46269240c8 Merge branch 'update-legacy-instructions' of https://github.com/yenatch/rgbds Anthony J. Bentley 2014-08-21 11:29:34 -06:00
  • b1269ab53a Improve rgbasm performance YamaArashi 2014-08-21 02:57:43 -07:00
  • 3ecd169cd6 Revert previous commit. asmy.y is autogenerated from other .y files. Anthony J. Bentley 2014-02-21 03:20:44 -07:00
  • 2dab1474b8 asmy.y should not be in gitignore. Anthony J. Bentley 2014-02-21 00:56:34 -07:00
  • 08b1b97a45 Preserve the ability to set pad_value in rgbfix. Anthony J. Bentley 2014-02-09 02:58:00 -07:00
  • 17192ea6f0 Improve performance when padding: don't write a byte at a time. Anthony J. Bentley 2014-02-08 23:26:43 -07:00
  • af506985e5 Added license to charmap.c stag019 2014-02-03 20:46:52 -05:00
  • b2d523acde rgbasm: Evaluate BANK() arguments to verify they exist. yenatch 2014-02-01 20:50:39 -05:00
  • 0f488b6759 Remove unused alloca() implementation. Anthony J. Bentley 2014-01-31 00:01:42 -07:00
  • 240d2a7f14 Merge https://github.com/bentley/rgbds stag019 2014-01-29 00:18:10 -05:00
  • 2ff286223b add instruction "ld hl, sp+nn" yenatch 2014-01-14 11:39:57 -05:00
  • af5f889326 Merge https://github.com/yenatch/rgbds Anthony J. Bentley 2014-01-12 21:30:39 -07:00
  • 3e92f33319 Provide a friendlier error when manpage directories don’t exist. Anthony J. Bentley 2014-01-11 18:28:04 -07:00
  • 0ffa4ce9ef rgbasm: let rgblink try to import undefined symbols yenatch 2014-01-06 20:04:55 -05:00
  • 34656f9e5d Fix a bug where the first charmap entry wasn't added correctly. stag019 2013-12-28 00:35:05 -05:00
  • c61c112218 Remove GNU-specific <getopt.h>. getopt() is defined in <unistd.h> in POSIX, which adding #define _XOPEN_SOURCE 500 causes GCC to include. stag019 2013-12-23 14:57:06 -05:00
  • 55974bc743 Only define _MAX_PATH is it isn't already defined. stag019 2013-12-23 14:52:37 -05:00
  • 94005513a4 Comment out unused variable dest. stag019 2013-12-23 14:50:37 -05:00
  • 36edec6231 Add out_BinaryFileSlice() definition to output.h. stag019 2013-12-23 14:47:37 -05:00
  • 7d176245d8 Remove all implicit definitions of compiler provided functions. <strings.h> cause strncasecmp to be define. stag019 2013-12-23 14:40:53 -05:00
  • c65d58c589 Move local includes below system includes. stag019 2013-12-23 14:37:56 -05:00
  • 1f9fd0f060 This fixes an error with using long label names in macros. If the label name you're using is longer than the string length of the literal macro text, a syntax error would occur. This fix makes sure it at least allocates enough bytes for the largest allowed label name. stag019 2013-12-22 20:56:31 -05:00
  • 1218da79a9 Character maps. stag019 2013-12-22 20:55:14 -05:00
  • fd4b5c8925 rgbasm: update manpage to include -v yenatch 2013-12-03 21:58:39 -05:00
  • bc99ee2210 rgbasm: -v option (verbose) yenatch 2013-11-27 02:43:10 -05:00
  • de269987f7 Add "jp hl" as a valid instruction. Anthony J. Bentley 2013-09-05 20:51:58 -06:00
  • 7770827cce Redefine consistent names for section types, and document the changes. Anthony J. Bentley 2013-07-31 22:14:31 -06:00
  • 7ab9742299 Implement SRAM sections. Anthony J. Bentley 2013-07-31 20:04:46 -06:00
  • 6aecf65552 Fix incorrect manpage macro. Anthony J. Bentley 2013-07-23 19:04:02 -06:00
  • 2571dc459c Delete more files on clean. Anthony J. Bentley 2013-06-20 04:56:55 -06:00
  • da19380cc4 Add a new WRAMX section type, for banked (CGB) WRAM sections. Anthony J. Bentley 2013-06-19 21:19:51 -06:00
  • ab47428c0e Improve error message. Anthony J. Bentley 2013-05-28 02:23:48 -06:00
  • 23b29a9ae1 Fix bug recently introduced to fatalerror(). Anthony J. Bentley 2013-05-28 02:22:49 -06:00
  • 35448887af Implement VRAM banks. Anthony J. Bentley 2013-05-20 00:59:15 -06:00
  • 6ccd386587 Make it possible to disable emitting nop after halt. Anthony J. Bentley 2013-05-19 17:56:41 -06:00
  • 34d40a67c9 Remove unused variable. Anthony J. Bentley 2013-05-19 17:08:44 -06:00
  • c21c0f458f Improve error messages. Anthony J. Bentley 2013-05-19 17:07:34 -06:00
  • 51c01e3aad Remove some dead code. Anthony J. Bentley 2013-05-19 16:14:31 -06:00
  • d0d85abb97 Fix accidental case fallthrough. Anthony J. Bentley 2013-05-19 15:51:40 -06:00
  • 88ac0282e4 Add HTML manuals to the clean target. Anthony J. Bentley 2013-04-11 13:27:31 -06:00
  • 8811784b71 rgbfix: exit on invalid usage. v0.0.2 Anthony J. Bentley 2013-04-11 09:28:38 -06:00
  • 6579743410 Add support for 8 MiB ROMs, the largest size possible with MBC5. Anthony J. Bentley 2012-12-26 21:41:47 -07:00
  • b90406861d Readability (whitespace). Anthony J. Bentley 2012-12-26 21:12:52 -07:00
  • 2f35d10373 Merge pull request #5 from vegard/lexer-fix-for-bentley v0.0.1 Anthony J. Bentley 2012-12-01 22:46:21 -08:00
  • a397acd5ea Update license statement after Justin Lloyd released the code. Anthony J. Bentley 2012-11-14 02:59:09 -07:00
  • 6d69370e9c Merge pull request #6 from vegard/getopt-linux-for-bentley Anthony J. Bentley 2012-11-09 22:07:44 -08:00
  • 2dfd937d7f Prevent lexer from reading beyond the end of the buffer Vegard Nossum 2012-10-21 05:51:48 +02:00
  • eb4f790a82 Include getopt.h (fix compilation on GNU/Linux) Vegard Nossum 2012-10-21 05:51:12 +02:00
  • 8c2fb79c39 Add a web manpages target (for my personal use). Anthony J. Bentley 2012-10-18 21:15:20 -06:00