Hasty Briefsbeta

Pasta/80 is a simple Pascal cross compiler targeting the Z80 microprocessor

a day ago
  • #Z80
  • #Compiler
  • #Pascal
  • PASTA/80 is a Pascal cross compiler targeting the Z80 microprocessor.
  • It follows a single-pass recursive-descent approach, inspired by Niklaus Wirth.
  • Supports a dialect similar to Turbo Pascal 3.0 for CP/M.
  • Includes basic data types, control structures, procedures, functions, and standard I/O.
  • Features inline assembly, overlays, and compiler directives.
  • Additional features inspired by later Turbo Pascal versions include C-style comments and binary literals.
  • Current limitations include missing some Turbo Pascal 3.0 features and no separate compilation.
  • Compiler is written in Pascal and requires Free Pascal for compilation.
  • Uses sjasmplus as a backend for generating Z80 assembler code.
  • Supports CP/M and ZX Spectrum targets (48K, 128K, Next).
  • Can generate binaries, snapshots, tape files, and runnable directories.
  • Overlays supported for Spectrum 128K and Next, allowing larger programs.
  • Includes examples and tests to demonstrate functionality.
  • Interactive IDE mode available, resembling Turbo Pascal 3.0 interface.
  • Free software under GPL with a linking exception for runtime library.