Cloud CP/M

NIALL - Niall Adventures and Ports

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

Drive N:
User area 2
Program NIALLCON.COM
Files 11
Created 2026-08-19 • Updated 2026-08-20

How to run

In the Internet Adapter or Headless menu select Cloud CPM. Once CP/M loads and shows the A:0> prompt, switch to drive N: and user area 2, then run NIALLCON.COM to start NIALL - Niall Adventures and Ports.

A:0> N:
N:0> USER 2
N:2> DIR
N:2> NIALLCON
N:2>

About

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 Learner — Markov 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

Files (11)

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.