← News

FantASM 2.3.1 is available

December 1, 2026FantASM

FantASM 2.3.1 is available to download. A link map’s REGION takes load=, --split-sections gives each routine of an object its own section, and a page= section may straddle two slots. 26 faults are fixed, 9 of them wrong output given in silence.

Added

  • load= on a link map’s REGION: load=run places the region’s bytes in the bank mapped where it runs.
  • --split-sections [split_sections]: each routine of an object gets a section, so fantasm link --gc-sections removes the routines nothing reaches (E1239).
  • page= sections with window= and straddle: seen through two slots, held in two pages (E1243, E1244).
  • A linked .nex warns of a section placed below $4000 (W1238).
  • A linked SLD warns of a page= section with no window= (W1242).

Fixed

26 fixes, and the worst of each group:

  • 9 wrong output, silently — NAME equ $+1 in an object linked as a section offset; TBL_LEN equ $-tbl before an ORG gave 8192 for a 3-byte table; a label on the last line of a section landed in the next one.
  • 7 sources that should have assembled — a register passed as a macro argument; two STRUCT instances in a row; several page= sections in an object (E1036).
  • 9 in diagnostics — E1036 printed once per line; !rhai carets past the quoted line; W1012 raised for a relocatable operand.
  • 1 in builds — a build refused for fxi output left an empty .fxi file.

Test coverage stands at 2,296 tests.

Every change is in the full changelog under [2.3.1].

Get it from the Downloads page.