Mike’s Notebook: LOADER

Publication

Pub Details

Date

Pages

See all articles from The Plotter v8 n3

Use the SCREEN$ token to read file names from the screen following a disk CAT.

I recently purchased a Larken Disk System for my TS2068 and found myself frustrated by the lack of a simple and short disk file LOAD program where I didn’t have to type each file name into a LOAD menu program.

I decided to use the SCREEN$ token to read file names from the screen following a disk CAT.

The following brief program will do just that, and can be modified to CAT and LOAD from any disk system by changing the lines annotated below. Carefully type in the following program and change the CAT and LOAD commands in lines 30 and 150 to suit your disk system.

I saved the program as an AUTOSTART file.

The program will CAT the current drive and display the contents in the normal way. If the screen is full and you get the SCROLL? prompt, you may either press ENTER to continue the CAT or press the BREAK key to select and LOAD the highlighted file on the screen. ON ERR is used to allow you to LOAD a file found on the screen instead of SCROLLing to the next page.

This program is user configurable by allowing you to change screen colors and selection keys. Feel free to add your own enhancements/options.