Skip to content

"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

License

Notifications You must be signed in to change notification settings

sblendorio/mod-xterm-cpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

"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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published