I am working on an IDE for ZX81 software developments and used to take FASM (flat assembler) as engine and ported it to Z80 instruction set.
The assembler supports macro instructions and full instruction set of Z80 but not the undocumented instructions. This maybe added later, has now no priority for me. There is also one additional matter, labels are supported only with ':' at the end or label directive (sparely used in programs, the ':' is mostly used as I found). I did found some source code where labels at the beginning of the line are interpreted without ':'. This could be added later too.
FASM for Z80 is supported as either WIN, LINUX or DOS Version, as command line version and for WIN or DOS as IDE with some multi window syntax highlight editor. I integrated a tape loader interface which is quite new and working only with WIN. Could be ported ot other OSes on request. There is a small framework for letting own assembler program code run on a ZX81, a simple data structure for a REM statement and a auto run feature for programs. I plan to support full basic programming not as macros, deeply integrated like the assembler instructions which allows a wild mix of BASIC and Z80 Assembler programming in the near future. For now the framework has to do the job.
Programs can simply loaded from PC to ZX81 via sound card and a audio cable. The ear phone output brings enough power to load software into the Zeddy. But you have to be sure to use mono cables or adapters. It does not work with stereo cables. I use a stereo cable with mono adapters at the end, did not found pure mono cables. Output of about 65% (about 1.6 Vss) is enough, higher output works same good, so you can use 100% but better not with big amplifiers.

The loader should work for ZX80 programs same way but did never try due to missing this model in my collection.


The loader can create automatically (or manually) desired wav files either with normal loading speed or 2-stage-fastloader. Could be used/transmitted to anybody with ZX81 and desired memory kit depending on program. WAV files are created with 30 kHz sample frequency, optimized for the fast loader but could be compressed with any zip engine to about 2 or 3 % of original size.
So have fun with this program, will have more updates in future. Comments or ideas for realizing welcome.
