Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 3.56 KB

README.md

File metadata and controls

64 lines (42 loc) · 3.56 KB

micro-PROLOG

Disassembled code of SPECTRUM micro-PROLOG T1.0

pic1.png

1. Introduction

Micro-PROLOG is a variant or dialect of the PROLOG language, initially created for 8-bit microcomputers, popularised in the early 1980s. It was used in public education, usually as an introduction to logic programming and Artificial Intelligence.

The first versions were implemented at Imperial College London, by Frank McCabe and Richard Ennals, under the supervision of Robert Kowalski between 1979 and 1980.

Marketed from 1980 by the British company LPA Ltd (Logic Programming Associates Limited), 8-bit versions were made for several computers, such as the ZX Spectrum, Commodore 64, BBC Micro, MSX and the Apple II, among others. A version for the CP/M operating system was also released.

2. Resources

2.1 ZX Spectrum version

2.2 CP/M version

2.3 Books

2.4 Other sources

3. How to compile

3.1 Prerequisities

3.2 Compilation

z80asm prolog.asm -o prolog-tmp.bin ; bin2tap.py -o 24576 prolog-tmp.bin prolog.tap

4. Original process of disassembling

4.1 Decompilation

z80dasm -a -t -l -g 24576 -b blocks.txt prolog.bin > prolog.asm