Skip to content

ratasm 0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Oct 22:32
v0.3.0
76daf1b

Changed

  • ratasm edits text itself again. The editor has tabs, undo and redo,
    selection, the clipboard, find and replace, go to line and go to definition;
    building saves every file first, F9 toggles a breakpoint on the
    cursor's line, and errors and warnings are shown beside their lines. Running
    $EDITOR inside the panel, and the editor.command and
    editor.line_argument settings, are gone.
  • Any folder is a project. Without a .ratasm.toml every .asm file in it is
    built, the entry is the file declaring _start (or main, linked by gcc),
    and files added later are built too. The project root is the nearest folder
    with a .ratasm.toml, a Makefile or a .git.
  • Two pages, Code and Debug. Learn and Reference are a study mode that
    F1 enters and leaves; Alt+1 and
    2 move within whichever pair is open. The flags are shown in the
    Registers panel. F2, F3's status details,
    Ctrl+K and Ctrl+Alt+A
    are palette commands now.

Added

  • Makefile projects: F6 runs make, its errors are placed beside
    their lines, and the program it builds is found for running and debugging.
    Run a make target runs any other target. ratasm new --make creates one.
  • ratasm new --libc: a main that calls printf, linked by gcc; debugging
    stops at main.
  • Go to symbol (Ctrl+T) and search in files
    (Alt+F) across the project; find next and previous on
    F3 and Shift+F3, replace on
    Ctrl+R.
  • The explorer lists every source, include, Makefile and note, and creates,
    renames, moves and deletes files.
  • Files changed on disk are reloaded, or reported when they have unsaved
    changes.
  • Conditional breakpoints, watchpoints and register writes.
  • Open files and breakpoints are restored per project.
  • Six lessons and ten processor-checked questions.
  • Shift+F12 stops debugging, and
    Alt+← / → move between panels from
    anywhere.

Fixed

  • A program being debugged no longer dies of SIGHUP on its first write after
    continuing or stepping.
  • With recording on, a program runs to its exit instead of hanging for 15
    seconds and failing the session.
  • Removing, disabling or changing a breakpoint during a session reaches GDB.
  • Ctrl+F5 stops a paused debug session.
  • The disassembly follows the program counter, branch operands are short and
    name their targets, and the listing no longer runs past the code.
  • ratasm run runs the program on the terminal, so it can read input.
  • The flags panel groups aliases of the same jump, and the explanation keeps
    the name of the register being written.