Commit Graph

  • 459773b3f0 Update some whitespace after Hungarian prefixes were removed Rangi 2021-04-19 16:47:39 -04:00
  • 6d0a3c75e9 Get rid of Hungarian notation for good ISSOtm 2021-04-19 21:58:05 +02:00
  • e35585960c Avoid generating CRLF'd release tarballs ISSOtm 2021-04-18 23:19:11 +02:00
  • 3bea7930a9 Only update documentation for gbdev/rgbds Rangi 2021-04-18 16:16:17 -04:00
  • 52797b6f68 Implement SIZEOF("Section") and STARTOF("Section") (#766) Rangi 2021-04-17 18:36:26 -04:00
  • 5108c5643c Let charmap_ConvertNext advance its output pointer Rangi 2021-03-08 16:40:36 -05:00
  • 2005ed1df9 Implement CHARLEN and CHARSUB Rangi 2021-03-08 15:11:12 -05:00
  • d43408f4f3 Allow OPT to modify -W Rangi 2021-03-15 10:30:40 -04:00
  • 2c30ab8731 Allow OPT to modify -L Rangi 2021-03-15 09:44:38 -04:00
  • 432c769d60 Release v0.5.0 v0.5.0 ISSOtm 2021-04-17 22:53:00 +02:00
  • 9923fa3eee Fix expansions that start from the end of another expansion (#839) Rangi 2021-04-17 13:14:40 -04:00
  • 750e93be3d Further simplify formatting code Rangi 2021-04-17 01:01:36 -04:00
  • ee5da4468d Fix interpolation/STRFMT overflow issues (#838) Rangi 2021-04-17 00:52:55 -04:00
  • 503c3b5364 Revert "Fix interpolation/STRFMT overflow issues" Rangi 2021-04-16 22:19:37 -04:00
  • 992be3fd9b Fix interpolation/STRFMT overflow issues Rangi 2021-04-16 22:00:17 -04:00
  • c755fa3469 readIdentifier does not process characters that get truncated Rangi 2021-04-16 21:15:01 -04:00
  • e78a1d5bfd readInterpolation is limited by nMaxRecursionDepth Rangi 2021-04-16 16:10:46 -04:00
  • d2f6def2eb Remove unused function hash_ReplaceElement Rangi 2021-04-16 12:36:45 -04:00
  • 1ffd7cb5bb Make tests work on NixOS Jakub Kądziołka 2021-04-16 16:28:11 +02:00
  • 215e26b478 charmap: Store hashmap nodes in charmap stack Jakub Kądziołka 2021-04-16 13:58:27 +02:00
  • 8885f7bcf6 hash_AddElement: return the new node Jakub Kądziołka 2021-04-16 13:42:17 +02:00
  • 5334fc334e Don't report hashmap collisions Jakub Kądziołka 2021-04-16 13:32:11 +02:00
  • f97663aa37 hashmap: add hash_GetNode Jakub Kądziołka 2021-04-16 13:08:14 +02:00
  • 08bdbd1949 Add an .editorconfig Jakub Kądziołka 2021-04-16 15:09:33 +02:00
  • 5c852c7651 Store the nested expansions starting from the deepest one (#829) Rangi 2021-04-16 09:54:13 -04:00
  • 6be3584467 LexerState's 'size' and 'offset' for mmapped files are unsigned Rangi 2021-04-15 19:52:50 -04:00
  • 8c90d9d2d7 Get rid of skip in struct Expansion Rangi 2021-04-15 19:31:59 -04:00
  • f69e666b00 expansionOfs cannot be negative Rangi 2021-04-15 18:38:50 -04:00
  • eba06404f0 peek(0) => peek() Rangi 2021-03-26 18:13:01 -04:00
  • 9558ccea1b shiftChars(1) => shiftChar() Rangi 2021-03-26 17:00:45 -04:00
  • 260d372acd Lex $ff00+c without needing large peek lookahead Rangi 2021-03-23 13:54:23 -04:00
  • 4e1b0ce793 Rephrase CONTRIBUTING.rst Rangi 2021-04-14 21:19:54 -04:00
  • 363ee9578c Document the release process in RELEASE.rst Rangi 2021-04-14 21:13:37 -04:00
  • 8fa5a4255e Mention alternative mnemonics in gbz80(7) Rangi 2021-04-14 16:59:31 -04:00
  • b3312886fb Use a lookupExpansion, but not as an X macro Rangi 2021-04-07 18:57:33 -04:00
  • 7fc8a65d0a Refactor the lexer to not use the lookupExpansion X macro Rangi 2021-04-01 15:54:56 -04:00
  • c278a361da Remove the unused calchash djb2 hash function Rangi 2021-04-09 14:27:36 -04:00
  • a2f52867ad Rename print to printChar Rangi 2021-04-09 14:24:25 -04:00
  • ab79e6bede Change how print(c) formats reported characters Rangi 2021-04-09 14:20:54 -04:00
  • 850c78aaf4 Report garbage chars as their bytes; don't try decoding them as UTF-8 Rangi 2021-04-09 14:05:43 -04:00
  • 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