The following articles were printed in Numbers 14/15 of October/November 1984 of the magazine „The Computer Journal"
A series about programming the Hayes Micromodem II — indeed for the 6502 (Apple II+) but not Z80.
(I published this program although it is not for the proper CPU
because the "Terminal-Emulator" issue may be of interest for other CPUs.
Please note the unusual detailed description of the program!)
Controlling the Hayes Micromodem II from Assembly Language