Auto-run a BASIC program
Posted: Wed Nov 17, 2010 11:51 pm
Instructions for a quick-and-dirty method of auto-running a BASIC program from cassette.
N/B This method is not DOS compatible. Use one of the free DOS detach programs, or remove your DOS controller before loading (1) your BASIC program.
(1) Load your BASIC program
(2) Insert a blank cassette into your cassette recorder
(3) Carefully type in the following at the BASIC command prompt
Dragon:
CoCo:
(4) Press PLAY and RECORD on your cassette player, and press ENTER to save
N/B This method is not DOS compatible. Use one of the free DOS detach programs, or remove your DOS controller before loading (1) your BASIC program.
(1) Load your BASIC program
(2) Insert a blank cassette into your cassette recorder
(3) Carefully type in the following at the BASIC command prompt
Dragon:
Code: Select all
POKE144,2:POKE145,0:CLS:CSAVEM"AUTORUN",166,PEEK(27)*256+PEEK(28),35725:POKE25,30:POKE26,1:POKE27,PEEK(126):POKE28,PEEK(127)-1:POKE29,PEEK(27):POKE30,PEEK(28):POKE31,PEEK(27):POKE32,PEEK(28):RUN
Code: Select all
POKE146,2:POKE147,0:CLS:CSAVEM"AUTORUN",166,PEEK(27)*256+PEEK(28),46154:POKE25,30:POKE26,1:POKE27,PEEK(126):POKE28,PEEK(127)-1:POKE29,PEEK(27):POKE30,PEEK(28):POKE31,PEEK(27):POKE32,PEEK(28):RUN