I think it's a bug or something but i typed the code in the manual (using the flat assembler) and it stops with an error at the loopswensont wrote: ↑Wed Mar 09, 2011 4:19 am A few months ago, I returned to doing a little ZX81 assembly programming after almost 25 years gone. In learning about the new tools and new emulators, I found no single "Getting Started" document, so I decided to create one.
The paper is called "Assembly Language on the ZX81: An Updated Getting Started Guide". There are number of books that instruct the new user on assembly language on the ZX81. This document adds additional information about doing the assembly language with emulators and cross compilers. The paper provides some examples of short assembly programs (fully tested) using the TASM cross assembler and an appendix lists a number of ZX81 rom routines and how they are used.
I'm no expert on the subject, but I find that when I document something that I am learning, I learn it much better. I know that quite a number of folks on the Board are experts at assembly and I don't know if there are any people interested in learning, but at least the document is done and maybe someone will find it useful.
The document was too large for the Board, so Rich hosted it for me:
http://www.rwapsoftware.co.uk/zx81/ZX81 ... tarted.zip
Tim Swenson
this code:
LD A,1
loop
rst $10
inc A
cp 36
JP NZ,loop
ret