← Back to News

Two New Courses: The Einstein Disc, From Python and From Z80

Two new courses about the Einstein's discs: build a disc image tool in Python from scratch, then read and write discs from Z80 assembly, down to the controller.
Last Updated
November 12, 2026
Two New Courses: The Einstein Disc, From Python and From Z80

Almost every Einstein program came on a disc, and most disc images you put into an emulator are copies of one. Two new courses take that disc apart, one from each side.

Inside the Einstein: The Disc

Inside the Einstein: The Disc starts from nothing: you do not need to know how to program. Over twenty seven sections you write edisc.py, a disc image tool in Python, a piece at a time. It takes a .dsk file apart byte by byte, lists the files on an Einstein disc, copies them off and on, makes new blank discs and checks a disc before trusting it. Every time your program changes an image, you put it into an emulated Einstein and ask XtalDOS what it sees, so the Einstein itself tells you whether you got the bytes right.

Assembly Disc Access Primer

The Assembly Disc Access Primer follows on from Z80 Assembly for the Tatung Einstein and teaches your own Z80 programs to use the disc. You build DISKMON, a disc monitor that gains one command a section: first through XtalDOS's file calls, then sector by sector through the MOS, then with no DOS loaded at all, and finally by driving the floppy disc controller yourself. The last part lists a track's sector IDs as they pass under the head, on a practice disc whose IDs spell out a message, the trick that hides one on Dragon's Lair.

Built and Checked the Same Way

Every listing in both courses was run before it was written down, and every screen shown is the screen that run produced. Anything a program writes to a disc was read back by other software, XtalDOS or the course's own tool, so a program agreeing with itself was never taken as proof. Each course has a download with its practice discs and the program from every section.

Do them in either order, or together: the Python course explains the disc's layout, and the primer recaps the page of it that it needs.

Gavin Watson
Gavin Watson