A new book teaches AI from scratch in BASIC on the Z80
Artificial Intelligence for the Z80

A 12-chapter book builds artificial intelligence from the ground up in BASIC on 8-bit machines like the ZX Spectrum and Spectrum Next. It covers sorting-algorithm benchmarks, expert systems, an ELIZA-style chatbot, Minimax tic-tac-toe, linear regression on Mauna Loa CO₂ data, k-NN and Naive Bayes classifiers, k-means clustering, perceptrons, backpropagation for digit recognition, and the Game of Life. Complete listings and experiments are available in two editions, Spanish and English.
What happens when we bring the foundations of artificial intelligence to an 8-bit machine?
- mk_stjames
I would have called it "... A.I. in BASIC / on the ZX Spectrum" not "for the Z80" - even though you are running BASIC to interpret the programs on a Z80 cpu, it doesn't seem like the learnings have anything to do with a Z80, and would translate to anyone wanting to tinker with this in any similar BASIC dialect (unless your programs use inlined machine code more in later chapters).
Based on the title alone I would have imagined more of it would be in Z80 Assembly (which... is as fun IMO)
- grodriguez100
I love the worn-out look of the cover. Brings fond memories of the original ZX Spectrum user manuals.
- anthk
Thanks/Gracias. Will it work under OpenSE? OpenSE it's a libre implementation of the ZX Spectrum ROM for the 48k model.
BTW, the code for the book.