Skip to content

Instantly share code, notes, and snippets.

View pamoroso's full-sized avatar
💻
Committed to committing

Paolo Amoroso pamoroso

💻
Committed to committing
View GitHub Profile

Stringscope

This gist is no longer maintained, see the new project repo.

Stringscope is a tool to display a list of text the strings contained in a binary file, i.e. the sequences of printable characters longer than a minimum threshold of 4 characters. The program, which is written in and runs under Medley Interlisp, is similar to the Unix tool strings.

Usage

First load Stringscope by evaluating:

{ Print sequences of printable characters in a file.
The program, which is similar to Unix strings(1), implements the following
state machine:
STATE INPUT NEXT STATE ACTIONS
----------------------------------------------------------
Binary Unprint Binary
Binary Print MaybeStr Append input to Buffer
@pamoroso
pamoroso / README.md
Last active November 8, 2022 17:00
Twirling bar animation.

Twirl

A Twirling bar animation.

Developed with Turbo Pascal under CP/M-80 3.0 but should compile and run on any system where Turbo Pascal is available.

Usage

To start the program execute:

@pamoroso
pamoroso / README.md
Last active November 21, 2022 17:19
Paginated file viewer

View

A paginated file viewer similar to Unix more(1) developed in Turbo Pascal under CP/M-86.

The code is currently just a stub and it's still being written.

Usage

To run the program:

@pamoroso
pamoroso / README.md
Last active February 4, 2023 22:46
CLS for CP/M

CLS

Transient commands in Assembly for clearing the screen on CP/M-80 and CP/M-86 with an ANSI/VT100 terminal.

Usage

Execute CLS with no arguments from the command prompt: