Commit Graph

  • c08cf783c8 Remove 'inline' from functions not in headers Rangi 2021-04-13 10:27:08 -04:00
  • 25a8518fbf Remove unused function removeLeadingZeros Rangi 2021-04-13 10:12:40 -04:00
  • 49174f4486 Define the UTC time components as EQU, not EQUS Rangi 2021-04-13 10:11:21 -04:00
  • 81327b0d99 Merge branch 'master' of https://github.com/gbdev/rgbds Rangi 2021-04-13 09:31:35 -04:00
  • c0859e64f7 fstk_FindFile checks for sprintf failure Rangi 2021-04-13 09:31:05 -04:00
  • 3e0b7d428f Fix an unclosed file and unfreed memory in out_BinaryFileSlice Rangi 2021-04-13 09:19:59 -04:00
  • ba3428314b Add contact info for potential contributors ISSOtm 2021-04-13 00:27:36 +02:00
  • bcb78f5d18 Define __RGBDS_VERSION__ as the output of rgbasm --version (sans "rgbasm") Rangi 2021-04-09 12:08:11 -04:00
  • de7d1facf3 Add assertion that an expansion's total len doesn't overflow ISSOtm 2021-04-03 18:31:19 +02:00
  • 76c1995559 Fix CI v0.5.0-rcCar race-car2 ISSOtm 2021-04-01 11:30:58 +02:00
  • 310d34c655 Comment on REG_SP and REG_AF both being 3 Rangi 2021-03-31 18:41:42 -04:00
  • ae84570f04 Revise RGBASM manual Rangi 2021-03-31 18:35:09 -04:00
  • 094a31ef8c Update RGBASM command-line manual Rangi 2021-03-31 18:17:18 -04:00
  • 291dcf3b6c Update RGBASM manual ISSOtm 2021-04-01 00:11:37 +02:00
  • a890bd072b Fix "INCBIN" Rangi 2021-03-31 18:06:14 -04:00
  • 2f6c808ccb Revise instruction reference Rangi 2021-03-31 17:59:12 -04:00
  • e80907abd0 Update instruction reference ISSOtm 2021-03-31 23:26:57 +02:00
  • 39c38f9838 Add a test case for unattainable SECTION UNION alignment Rangi 2021-03-31 16:09:52 -04:00
  • 576b063519 Fix unattainable alignments to address 0 Rangi 2021-03-31 16:06:15 -04:00
  • 596e17ee61 Factor out a common strlen into beginExpansion Rangi 2021-03-31 14:41:38 -04:00
  • 363b3d0134 Flush stdout after PRINTLN Rangi 2021-03-31 11:22:41 -04:00
  • c7ed9a275e Do not expand empty strings Rangi 2021-03-31 10:21:04 -04:00
  • 49aac2961d Warn about backwards FOR loops with -Wbackwards-for (-Wall) Rangi 2021-03-31 10:00:21 -04:00
  • 3741bd4617 Speed up the div-mod test case Rangi 2021-03-31 09:37:23 -04:00
  • 937c9888a4 Robustly disallow overwriting builtin symbols (#817) Jakub Kądziołka 2021-03-31 15:03:57 +02:00
  • 61a9bfd33c Some tests use the new macro <name> syntax Rangi 2021-03-31 00:00:18 -04:00
  • d08bcc455d Handle errors when opening source file Jakub Kądziołka 2021-03-30 23:24:15 +02:00
  • aaa92659ea Require a plus sign in ld hl, sp + <e8> Rangi 2021-03-30 13:05:21 -04:00
  • be877134e5 Remove support for ld bc/de/hl/sp for ld hl, bc/de/hl/sp Rangi 2021-03-30 13:01:49 -04:00
  • 25d39155d3 Support ld a, a±c±LOW(bc) as well as ld a, a±c±c Rangi 2021-03-30 12:36:11 -04:00
  • 77021d229b Support ld [c], a and ld a, [c] Rangi 2021-03-30 12:02:29 -04:00
  • 1b250b90b2 Implement ds <len> ==> ld [b @:<len>], ? Rangi 2021-03-30 11:54:39 -04:00
  • e2b4723489 Fix lexing @ Rangi 2021-03-30 11:52:25 -04:00
  • 2507413162 Fix lexing a., b., etc Rangi 2021-03-30 11:41:44 -04:00
  • e023a84d04 Allow 'ld a, a±c±<r8>' or 'ld a, a±<r8>±c' for adc/sbc Rangi 2021-03-30 11:27:19 -04:00
  • 34c127d9c3 Allow ld [b @:<len>] = "file.bin"[<ofs>:...] Rangi 2021-03-30 10:51:48 -04:00
  • 9a930988c2 Implement db, dw, dl, ds, and INCBIN with ld Rangi 2021-03-30 10:47:05 -04:00
  • 8c4204c542 Make 'w' and '...' tokens, and make '@' a separate token Rangi 2021-03-30 10:17:09 -04:00
  • 663c1930ec Factor out 'ld a, a+c+' and 'ld a, a-c-' prefixes Rangi 2021-03-30 09:57:08 -04:00
  • 30ccf43f44 Factor out individual 'ld <r16>,' prefixes Rangi 2021-03-30 09:43:34 -04:00
  • fdc17adbcb Factor out common ld a, prefix Rangi 2021-03-30 09:19:58 -04:00
  • cc196954f3 Consolidate some parser rules with reg_ss and reg_r Rangi 2021-03-29 20:52:24 -04:00
  • 55b6cfff84 Prevent GitHub Actions from running any workflows Rangi 2021-03-29 19:50:13 -04:00
  • 1fc73b04eb Parse ld instructions as discussed Rangi 2021-03-29 19:42:18 -04:00
  • d05703c692 Release 0.5.0-rc2 v0.5.0-rc2 Rangi 2021-03-28 17:15:44 -04:00
  • 5dbfafcc55 Update man page copyrights to 2021 Rangi 2021-03-28 16:37:15 -04:00
  • a265b85d9d Report "1 error", not "1 errors", when assembly is aborted Rangi 2021-03-28 15:55:32 -04:00
  • 28abf03c0a Output USED space, not FREE space, in the .map file Rangi 2021-03-28 15:49:44 -04:00
  • 7e7f92f18c Assign section locations to all UNIONs/FRAGMENTs Rangi 2021-03-28 15:21:17 -04:00
  • 7461170956 Add LOAD FRAGMENT pc test (#800) Eldred Habert 2021-03-28 21:11:20 +02:00
  • 57d966d6e0 Merge pull request #804 from Rangi42/normal-backslash Rangi 2021-03-26 13:33:11 -04:00
  • 17752d7094 Backslash in normal lexer mode must be a line continuation Rangi 2021-03-26 13:03:17 -04:00
  • 4216f0a9b0 Init top-level fstack node line number ISSOtm 2021-03-25 11:26:58 +01:00
  • e3fde986ad Remove hashmap collision warning ISSOtm 2021-03-23 21:29:23 +01:00
  • aa99ed056c Do not evaluate an untaken ELIF's condition Rangi 2021-03-22 00:25:22 -04:00
  • 46d6652df1 Fix missing .sym/.map symbols in SECTION UNION/FRAGMENTs ISSOtm 2021-03-22 23:22:53 +01:00
  • 5406674cdd Install groff to build PDFs correctly in CI ISSOtm 2021-03-20 02:09:47 +01:00
  • 5d2e2e2182 Make docs update script also produce PDFs ISSOtm 2021-03-20 01:53:26 +01:00
  • a929f36bc5 Replace UTF-8 hyphens with ASCII ones in man pages ISSOtm 2021-03-20 01:25:17 +01:00
  • bdb84a901f Use sub-sections for the different symbol types ISSOtm 2021-03-18 22:37:18 +01:00
  • 093631ca0b Revise rgbasm(5) string symbol documentation Rangi 2021-03-18 19:42:50 -04:00
  • 7e127a4e52 Don't expand string symbols in MACRO and FOR symbol names Rangi 2021-03-17 21:23:17 -04:00
  • b8093847dc New definition syntax with leading DEF keyword Rangi 2021-03-14 20:49:40 -04:00
  • 8d1b56bcf5 rgblink identifies patches' PC sections after reading all sections Rangi 2021-03-18 13:21:24 -04:00
  • 5fb7fcf461 Fix description of rgbgfx -h ISSOtm 2021-03-18 15:35:01 +01:00
  • ee900ae7a3 Add a missing newline to a verbosePrint Rangi 2021-03-17 20:53:25 -04:00
  • 3ca58e13dc Fix verbose messages claiming non-existent errors ISSOtm 2021-03-14 18:52:16 +01:00
  • aaa4e17454 Add verbose messages for early exit from -MG ISSOtm 2021-03-14 18:28:05 +01:00
  • a81d383f75 Alignment mask was incorrectly checked for 1 instead of 0 daid 2021-03-11 12:53:08 +01:00
  • 60019cf476 Fix a bunch of Clang warnings ISSOtm 2021-03-10 10:56:57 +01:00
  • 5a6a44cbc1 Fix master documentation updater ISSOtm 2021-03-10 01:15:51 +01:00
  • b61a187b19 Add forgotten __RGBDS_RC__ symbol v0.5.0-rc1 ISSOtm 2021-03-10 01:09:18 +01:00
  • 6382f13647 Release 0.5.0-rc1 ISSOtm 2021-03-10 01:04:23 +01:00
  • 714d39c86f Make some INCBIN errors non-fatal ISSOtm 2021-03-10 00:52:40 +01:00
  • f11241c2ae Add INCBIN tests ISSOtm 2021-03-10 00:42:01 +01:00
  • cb47ac8b97 Change the start position check on INCBIN daid 2021-03-09 08:49:48 +01:00
  • 028e7af7d1 Prepare release candidates ISSOtm 2021-03-10 00:06:32 +01:00
  • e141da1d94 Compute fallback version string at compile time ISSOtm 2021-03-09 23:59:34 +01:00
  • 35367282e4 Add workflow to auto-prepare a release ISSOtm 2021-03-09 21:43:42 +01:00
  • 4c0fa6732e Fix release doc creation workflow ISSOtm 2021-03-09 20:10:14 +01:00
  • e9d9a44687 Make release doc update also register docs ISSOtm 2021-03-09 19:59:28 +01:00
  • 611bd46e0b Ignore CRLF vs LF for syntax error test check ISSOtm 2021-03-09 22:58:32 +01:00
  • e67254093e Delete version test if stale ISSOtm 2021-03-09 22:58:00 +01:00
  • 3ce3d2f662 Explicitly force tested projects to use tested bins ISSOtm 2021-03-09 22:56:59 +01:00
  • 3da9d81071 Ignore DLLs too ISSOtm 2021-03-09 22:45:05 +01:00
  • 88646093ca Swap the Name and Type columns in Predeclared Symbols Rangi 2021-03-05 17:00:06 -05:00
  • 0a0427afbb windows-xbuild CI uses ubuntu-18.04 for its gcc 7.3.0 (#784) Rangi 2021-03-05 08:27:12 -08:00
  • 88048cdcd7 Clarify the character encoding example in rgbasm.5 Rangi 2021-03-05 10:08:43 -05:00
  • c878ff8775 Report slack totals at the end of the .map file (#781) Rangi 2021-03-05 05:53:27 -08:00
  • a4049a3f1b rgbasm(5): Clarify charmap behavior (#558) dannye 2021-02-27 11:29:53 -06:00
  • 8a75cc5051 Test an indented anonymous label Rangi 2021-03-03 12:26:35 -05:00
  • b674c5fcaa Comment refers to "built-in" symbols Rangi 2021-03-03 10:35:47 -05:00
  • a6d3df7ac9 Put all local symbols in object/sym/map files (#774) daid 2021-03-03 10:59:51 +01:00
  • 365484ef18 Factor out handleCRLF() Rangi 2021-03-02 23:26:43 -05:00
  • 5e2bd35239 Factor out a 'plain_directive' parser rule similar to the reverted 'last_line' Rangi 2021-03-02 20:46:17 -05:00
  • 6655e04ef0 Restore the "EOF-newline" lexer hack Rangi 2021-03-02 19:35:24 -05:00
  • 40c6b840f8 Add tests for certain directives at EOF without a newline ISSOtm 2021-02-21 03:40:29 +01:00
  • 5d6e0677d9 Fix error-related issues (#773) daid 2021-03-02 16:34:19 +01:00
  • 56071599e7 Allow trailing commas in bare lists Rangi 2021-02-28 21:19:15 -05:00
  • c637447d5d Make the "db/dw/dl directive without data in ROM" warning more specific Rangi 2021-02-28 21:17:39 -05:00