Larken Lines

Author(s): Rod Gowen
Publication: The Plotter
Pub Details: The Plotter v5 n11 (Volume 5, Issue 11)
Date: November 1987
Pages: 4

Well, here I am! Back for a second column! I have not received ANY feedback on the first installment, but, to be fair, I am going to write at least 3 columns to give it a chance. If, at that point, I have not had any feedback, then my warning: “IF I FAIL TO GET ENOUGH INPUT (TIPS, HINTS AND IDEAS FOR COLUMNS) FROM YOU, THE READERS, IT WILL CEASE AS QUICKLY AS IT IS BEGINNING! I do not have the time to come up with ALL the material needed to do justice to a column of this type.” will go into effect! C’MON FOLKS!

By this time I would hope that most of you Larken users would have mastered the basics of your system, but, just in case, I am going to take a quick run-through on the basic commands.

FIRST! And most important-if you wish to use the PRINT #4: command, you must enter the following direct command or install it in your Basic program:

RANDOMIZE USR 100:OPEN #4, "dd"

That command opens channel #4 to the disk drives. Once that line is implemented, you need only use the PRINT #4: in front of each of the commands in LKDOS. Those commands are:

PRINT #4:

LOAD "fn.B1"            for BASIC
LOAD "fn.C1"CODE        for MC
LOAD "fn.C1"SCREEN$     for SCREEN$
SAVE "fn.B1"            for BASIC
SAVE "fn.C1"CODE        for MC
SAVE "fn.C1"SCREEN$     for SCREEN$

You can also SAVE and LOAD all types of ARRAYS, the same as you would with cassette.

MERGE "fn.B1"          for BASIC
CAT "",      to Catalog a disk
CAT ".B1",   Catalogs only BASIC
CAT ".C1",   Catalogs only MC

(This selective Cataloging can be used to list only specific files in the directory.)

ERASE "fn.B1",     to ERASE BASIC
ERASE "fn.C1",     to ERASE MC

Beyond these, with the LKDOS Cart, you get LKDOS EXTENDED BASIC commands. We will go into these in a later column.

A sample routine would perhaps be helpful. The following sample shows how to set up a Basic program to accept the PRINT #4: and to LOAD and SAVE files:

 100 REM SAMPLE PROGRAM
110 PAPER 1: INK 7: BORDER 1: CLS
120 RANDOMIZE USR 100: OPEN #4,"dd"
130 PRINT #4: LOAD "SAMPLE.C1"SCREEN$ : PRINT #4: LOAD "SAMPLE.C1"CODE 50000 : PRINT #4: LOAD "SAMPLE.B1"
9999 PRINT #4: SAVE "SAMPL1.B1" LINE 100

In this short sample program, LINE 120 opens the channel to the disk drive, LINE 130 show the various LOAD commands in actual use. LINE 9999 is a standard SAVE line set up for LKDOS. PLEASE NOTE! YOU ARE LIMITED TO 6 CHARACTERS IN THE FILENAME! Filenames with more than 6 characters will return the error message “INVALID FILE NAME”.

The MERGE command in LKDOS is not quite the same as it is without it. It does the same thing, EXCEPT, that the program continues to run. It does not, as with a normal 2068, LOAD the program and then stop.

The FORMAT and COPY commands on the Larken system are LOADed from disk. There was just not enough room in the Eprom for them. They are very good routines and work very well.

Larry Kenny says that he will soon have the disk editor finished and ready for sale. We will keep you informed as to when it is available.

That’s all for this time. Let me know if you have any ideas for future columns.

Later…RLG