Skip to content

PASTA/80 version 1.00 RC2

Pre-release
Pre-release

Choose a tag to compare

@pleumann pleumann released this 05 Nov 14:28

The second release candidate for version 1.0 fixes some smaller issues found in RC1. Everything listed for RC1 still applies. It will be promoted to the final release if no major problems are reported. That said, we’re at exactly 1000 commits on GitHub, so please try to either find 24 new bugs or none at all. :)

Compiler

  • Agon emulator: Programs started on Agon from the mini IDE no longer close Fab Agon Emulator when they end. Closing it automatically was meant only for --selftest, which now also closes it after the params suite (issue #184).
  • Emulated SD cards: Running programs in Fab Agon Emulator or CSpect no longer clutters or overwrites the user's files on the emulated SD card. PASTA/80 now puts everything it needs into a folder pasta80.tmp. Before starting a program, it backs up an existing autoexec.txt (Agon) or autoexec.bas (Next) and restores it afterwards, or removes its own copy if there was none. On the Agon, programs are now loaded and started by address instead of by name, so they no longer collide with MOSlets of the same name. CSpect used a folder pasta80 before, which can be deleted from the image (issue #185).
  • Self-test on CP/M: The temporary configuration for tnylpo is no longer written to the current directory as tnylpo.conf, where it could overwrite a file of the same name. It now goes next to the suite's log as a .tny file and is deleted after the run, unless --keep is given.

Examples

  • Added three ZX Spectrum examples contributed by Fern (and Melissa O'Neill), each with graphics and sound:
    • knight8.pas draws a knight's tour of the 8x8 board by Warnsdorff's rule, then maps from which squares the rule finds a tour, a closed tour, or gets stuck.
    • towers.pas solves the Towers of Hanoi with seven discs, one per Spectrum colour, with binary move counter lights showing which disc moves next.
    • ulam.pas draws the Ulam spiral of primes, clicking for each pair of twin primes.
  • A new examples/README.md lists all examples with a one-line description and the platforms each one runs on. It is linked from the "Examples and tests" section in the main README.md.
  • primes.pas compiles again. It applied mod to a Real value, which RC1 no longer accepts.
  • beepfx.pas now stops with a compile error on CP/M and Agon, since BeepFX drives the Spectrum's beeper directly.

Tests

  • Test README: A new tests/README.md explains what each suite covers, on which targets it runs, how the self-test evaluates the results, and what to keep in mind when changing them. It is linked from the "Examples and tests" section in the main README.md.
  • Manual runs: The test suites now close their emulator only when they are built with --printer, as --selftest does. Run by hand, they leave the emulator open so that the results can be read (issue #184).

Documentation

  • Fuse version: Fuse 1.10.1 or newer is now named as the recommended version for running the self-test.
  • Copy-paste: The shell examples in the README no longer start with a $ prompt, so they can be copied and pasted directly.
  • Typos: Fixed a number of typos and spellings in the README, the Library Reference, the example README and some source comments.