[img] ZX Spectrum Programming Tips
 MDFS::Info.Comp.Spectrum.ProgTips Search  

device.htm Specifying devices in filenames, eg 1:Program for microdrive and T:Data for tape.
drive.htm Detecting last device/device loaded from.
detect.htm Detecting Interface 1 presence.
linerun.htm Calling BASIC from machine code.
Editors Entering text input, alternatives to INPUT.
tape.htm Calling tape routines without BREAK generating an error.
tapecat.htm Basic code to catalog tape files.
tapeinfo Basic code to call tape routines.
SpecIO ZX Spectrum Z80 machine code libraries.
Keyboard  
FastScreen Fast printout routines without using the ROM printout calls.
ErrorTrap Trapping errors by modifying ERRSP.
Coding Short coding tips. Load from current device. Setting SCRCT. INKEY with key repeat.
Reading FRAMES counter without interuption. Machine code in printer buffer. Simple very big text.
Code Sample code and programming libraries.
   
Z80/ProgTips Z80 programming tips.

Most of these code fragments are extracted from Spectrum programs I have written. Some of these are available
unsorted here. Any of this code can be used in your own programs. If you use it in a commercial product, please
acknowledge the source in the documentation.


Best viewed with Any Browser Valid HTML 4.0! Authored by J.G.Harston
Last update: 10-Nov-2010