[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.
detect.htm Detecting Interface 1 presence.
Editors Entering text input, alternatives to INPUT.
tapeinfo Basic code to call tape routines.
tape.htm Calling tape routines without BREAK generating an error.
tapeio.htm Respecifying tape routines as file input and output routines.
linerun.htm Calling BASIC from machine code.
Printout Fast printout routines without using the ROM printout calls. *NEW*
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.
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