Cloud CP/M

NIALL - Niall Adventures and Ports

Drive N : User 2 • by intangybles

Created 2026-08-19 • Updated 2026-08-20GitHub

Non Intelligent (AMOS) Language Learner - Markov Chain Chatbot for CP/M NIALL is a faithful 8-bit recreation of the AMOS BASIC Markov chain chatbot, ported to C for the CP/M. You teach it sentences, it learns word transitions with weighted probabilities

NIALLCON.COM program is located on the N: drive in user area 2. To run this, look in the Internet Adapter or Headless menu and select Cloud CPM. After CPM loads and you are presented with a A:0> prompt, type the drive (N:), and then type the user area (user 2). If you type DIR, look for the COM file (NIALLCON.COM). Enter that filename at the prompt to execute the NIALL - Niall Adventures and Ports.

NIALL - Niall Adventures and Ports

These are all the CP/M Ports and utilities

All work with the NABU Native version as well as the CP/M versions.

Non Intelligent (AMOS) Language LearnerMarkov Chain Chatbot for NABU and CP/M.

NIALL is a faithful 8-bit recreation of a 1990 AMOS BASIC Markov chain chatbot, ported to C for CP/M-80. You teach it sentences, it learns word transitions with weighted probabilities, and generates replies by walking the Markov chain.

Target Platforms

  • CP/M 2.2 — NABU, TRS-80 Model 4P, Kaypro II/10, Coleco ADAM, RomWBW, and compatible Z80 systems
  • NABU Native — homebrew binary using NABU-LIB (VDP display, RetroNET IA file storage)
  • CPU: Z80, 64KB address space
  • Compiler: z88dk with SDCC

CP/M Builds and Programs

File Description
NIALL.COM The chatbot
NIALLCHK.COM Save file verifier
NIALLCON.COM v3 → v4 save file converter
NIALLASC.COM AMOS BBS ASCII → v4 importer
NIALL40.COM 40-col display (e.g. some terminals)
NIALL32.COM 32-col display (e.g. CloudCP/M NABU)

32-col display Title and help text are shortened to fit. Prompts use U: and N: to maximise reply space. Replies wrap at 29 characters (32 minus the 3-char N: prefix).

40-col display Title splits across lines. Help save/load lines shortened to fit. Replies wrap at 33 characters (40 minus the 7-char NIALL: prefix).

80-col display Standard layout unchanged. Replies wrap at 73 characters — only affects unusually long Markov-generated sentences.

Sample Data files File Format Words Description

  • NIALL.DAT v4 binary (CP/M) 8 Basic starter — a single taught sentence
  • NIALL2.DAT v4 binary (CP/M) 145 Small but functional dictionary
  • NIALL3.DAT v4 binary (CP/M) 299 Chat about NABU, TRS-80 and 80s/90s computers — good starting point
  • RETRO.DAT v4 binary (CP/M) 299 Retro computing themed dictionary (CP/M, v4)
  • RETROV5.DAT v5 binary (NABU) 1,215 Retro computing themed dictionary (NABU native, v5) — load directly on NABU
Location

Drive N : User 2

Files
Screenshots
NIALL AMOS Disk
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.