Note: Some of these source files may have UNIX-style line endings, so may fail to run correctly if transferred directly via XMODEM etc. Simplest way to avoid this issue is to use cut and paste from the raw GitHub file into a CP/M ED session running in a terminal emulator, such as minicom.
-
sunrise-sunset-minimal.bas: Sunset / sunrise calculator for a given latitude / longitude on a particular date. Minimal changes to the version published in Sky & Telescope https://skyandtelescope.org/astronomy-resources/basic-programs-from-sky-telescope/ so that it will run (' statements becomes REM, PRINT USING becomes PRINT).
-
mastermind.bas: Simple Mastermind game. Guess the correct order and colour of 4 pegs.
- valley2.bas: A version of Computing Today's "The Valley" that will work on a VT100 emulator, such as minicom, or with PicoTerm. Run with MBASIC VALLEY2.BAS /M:55000 /F:1 Three terminal types supported - vanilla VT100 (80x24), PicoTerm PetSCII (80x30) and PicoTerm CP437 (80x30)
-
primes.pas: Prime number generator.
-
radec.pas: RADEC - Right Ascension and Declination for all the planets (plus Pluto). Converted from 'Celestial BASIC', program 11.
-
life.pas: Life - Conway's game of life. Requires a VT100 compatible display.
-
life2.pas: Conway's game of life with the introduction of random cells. Requires a VT100 compatible display.
- primes.mod: Prime number generator.
- primes.c: Primes number generator.
- primes80.bas: Prime number generator.