Acorn Computers BBC Micro Model B w/8271 — Acorn BBC Micro Model B w/8271 User Guide Manual PDF

364 1. Insert the cassette in the recorder. 2. Type CHAIN PROG and press RETURN . 3. The message Searching will appear. 4. Now use the fast forward and reverse buttons to position the tape at the correct place. 5. Press the PLAY button on the cassette recorder. 6. The computer will give you the message Loading when it finds the correct program. It will then load it into its memory. 7. The tape will automatically stop when the computer has finished loading and the computer will automatically run the program.

Loading and running a machine code program A machine code program (not a BASIC program) can be loaded and run by using the statement *RUN PROG Using a cassette file to provide keyboard input It is possible to get the computer to accept input from a cassette file instead of from the keyboard. In this case the cassette file would contain a set of commands, or answers to questions which a BASIC program would need. The command to force the computer to accept input from a file called edit would be: *EXEC edit File edit above is known as an EXEC file. EXEC files can contain BASIC commands or operating system commands (or both). Some operating system commands are listed in chapter 41.

A comment line can be included in an EXEC file using a BASIC REM statement or by beginning the comment with *| . To create a suitable cassette file you will need to use the BASIC statement BPUT# and not PRINT# , since the latter stores things in internal format. The command *SPOOL also creates suitable files – see chapter 37 for how to use it to merge programs.