8-Bit Software

The BBC and Master Computer Public Domain Library

Back to 8BS Or Back to Disassembly

Page Last Altered:


Submitted by Steve Fewell


Call routine &BDD7 to get the filename after the LOAD keyword (and place it in the SWA), and load the named
file (which should be a BASIC program) at the PAGE address and check that the program can be read correctly ('Bad program'
message is displayed if not).
Jump to &8F83 to initialise and clear the variable storage memory block and prompt for entry of the next Command Line.

Disassembly for the LOAD routine

8F20   032 215 189 20 D7 BD JSR &BDD7 Get filename and Load the named file
8F23 ^ 128 094 80 5E BRA 94 --> &8F83 Initialise & prompt for next command line


 Back to 8BS