×   Main Menu ALL The 8BS News Manuals (New menu) Links Worth a Look Tools Disc and Basic Webring Site Map 8BS Guestbook Old Guest Book Me The Barnsley Rovers   
8-Bit Software

The BBC and Master Computer Public Domain Library

8F20 LOAD

Submitted by Steve Fewell

Description:

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
Or