
Just one more question I'm not clear on, is it possible at all to detect the start of the second user programme execution block, that is (4) in my list, the set of lines below the screen?
Yes - you may read IX register for that purpose.IanB wrote: Just one more question I'm not clear on, is it possible at all to detect the start of the second user programme execution block, that is (4) in my list, the set of lines below the screen?
True, but in 1K the use of MEMBOT and BASIC will likely cost more than the routine in MC.PokeMon wrote:Well - I like your 1k programs, dr.beep but in fact creating those programs is more or less a personal passion.
This is not always the best way for beginners (or retired programmers).
I like the coexsistance of BASIC and Assembler more - both can benefit from each other.
Assembler is fast and BASIC is more powerful in functionality.
And only a few enthusiasts really work with Zeddy without any additional memory. 16k is the most common.
To answer your question - you may use the printer buffer as long as you don't print and as long as no other application has the same idea.
It's not used from the normal BASIC I think (not 100% sure).
I would avoid MEMBOT as this is used from BASIC routines.
You may use the ZX-IDE as development tool when developing under WIN.
viewtopic.php?f=6&t=1064
It does also support the usage of the EightyOne Emulator which are both together a winning team in my eyes.
It is very easy to mix BASIC and Assembly commands in one file - can see the ZX81DEMO.ASM and the tutorial thread.
Changes in your program can be tested automatically with pressing F8 in the code editor which starts or restarts the EightyOne with the actually compiled program (when autoload is switched on in the emulator).