Artificial Intelligence for the Z80

(dfsantos.com)

65 points | by AlexeyBrin 3 days ago ago

8 comments

  • mk_stjames 10 hours ago

    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)

    • sublinear 7 hours ago

      > would translate to anyone wanting to tinker with this in any similar BASIC dialect

      Indeed I do recall doing about half of these exercises on a TI-83 about 25 years ago, but they weren't from a single guide like this.

      I didn't even really recognize this stuff as "artificial intelligence" either. I just thought of these programs as the natural conclusions from the math and computer science classes I was taking.

      Many textbooks of the time had BASIC programs at the ends of the chapters. Most teachers skipped them, but I didn't care. It was fun. Finding out about ticalc.org took it to a whole new level!

      • anthk 4 hours ago

        >I didn't even really recognize this stuff as "artificial intelligence" either. I just thought of these programs as the natural conclusions from the math and computer science classes I was taking.

        Yes... and no. Read down the books for Common Lisp: Intro to symbolic computation and Paradigms on AI Programming.

  • grodriguez100 7 hours ago

    I love the worn-out look of the cover. Brings fond memories of the original ZX Spectrum user manuals.

  • anthk 4 hours ago

    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.

    Spanish: https://github.com/dfernande132/IA_Z80

    English: https://github.com/dfernande132/AI_Z80

  • maplet 11 hours ago

    Seems like a fun project with toy examples of basic algorithms.

    The marketing copy on Amazon feels AI-generated to me, and Pangram gives it a 100% AI rating.