"Cross-Terminal": Modula-2 module for CP/M. Handles different kinds of terminals (VT52, VT100, ANSI, ADM-31, KayPro, C128, Memotech monochrome, Amstrad CPC) for easy cursor positioning, colors (when available), and screen handling
Modula-2
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
binary
source
LICENSE
README.md

README.md

News

Have a look to Gorilla-CPM, a Modula-2 game for CP/M using XTerm

XTerm for CP/M

Description

XTerm stands for "Cross-Terminal". It's a Modula-2 library for CP/M. It handles different kinds of terminals for easy cursor positioning, colors (when available), and screen handling. XTerm has been entirely written using a Commodore 128.

Supported terminal types

  • VT52 (monochrome, no text effects)
  • VT100 (monochrome)
  • ANSI (colors)
  • KayPro (monochrome)
  • ADM-31 (monochrome)
  • C128 (colors)
  • Memotech (monochrome)
  • Amstrad CPC 6128 / Zenith Z19 (monochrome)

Contents of package

  • source - Source code in Turbo Modula-2 (Borland)
    • xterm.def - Definition: it contains symbols which can be IMPORTed.
    • xterm.mod - Implementation.
    • main.mod - Demo module that uses some procedure IMPORTed from xterm.
  • binary - Compiled files for CP/M-80
    • xterm.sym - XTerm library itself (symbols).
    • xterm.mcd - XTerm library itself (object code).
    • main.mcd - Demo module - compiled
    • main.com - Demo module - linked executable

Demo screenshots

On an ANSI (VT100 with colors) terminal

ANSI

On a KayPro compatible terminal (no colors)

KayPro

On a Commodore 128 (ADM-31 with colours)

ANSI