Larken Disk Editor: Review

See all articles from Sinc-Link v8 n5
Author(s): Les Cottrell
Publication: Sinc-Link
Pub Details: Sinc-Link v8 n5 (Volume 8, Issue 5)
Date: September/October 1990
LARKEN DISK EDITOR

 1  Edit data on disk
 2  Read Disk Headers
 3  Change Head Speed
 4  Reformat Single Block
 5  Initialize Directory
 6  Map out Bad Blocks
 7  Change Disk Name
 8  Cat/Goto Drive  (Now 0)
 9  Display Track Map

Shown above is the initial menu screen.

2-Read Disk headers reports all formatted blocks in the following form:

BLK NAME        START LENTH LINEM
---------------------------------
18  Form1T.Co   15000 4000   91

LINEM is the start line for a basic auto-run program, and meaningless for code.

3-Change Head Speed allows you to choose 6, 12, 20 or 30ms. This is useful if you recieve a “slow” disk from someone to copy for your use.

4-Reformat a single block allows you to repair a damaged block. You choose from Larken, Aerco, Oliger or Ramex systems. The header info in 2 above is for the Oliger setup.

5-Initialize Directory clears out the directory and track map without changing the name of the disk. I find this feature handy for disk management.

6-Map out Bad Blocks finds faulty blocks and then asks if you want them mapped out.

7-Change Disk Name allows you to rename a disk. The name can be as long as you want, including remarks, and is done in one pass. Before performing this operation I have found it wise to look at the catalog to be sure you have the right disk info stored.

8-Catalog/Goto Drive displays current drive whenever the main menu is up. You may change drive by entering a number and then see the catalog. If you press enter instead of a number you will see the catalog of the current drive.

9-Display track map shows the current use of disk space by showing an X for “used” and 0 for “empty”. I changed my work copy to use – for empty to suit my own taste.

Speaking of customizing, I added another choice to mine. 0-Warm Boot in current Drive by adding the lines

265 PRINT AT 15,4;"0  Warm Boot in Current Drive"
385 IF INKEY$="0" THEN PRINT #4:NEW

Another change to my work disk was to combine the main code program (Edit.C1) with the FORMat 1 Track code for Larken (FormIT.CL) by loading both and then saving “Edit.C1″CODE 44000,5000 in line 6000. This is still only one block and the only code I’ll ever use is always loaded. Lines 1630 through 1710 were then deleted.

I have saved the best part for last: 1-Edit data on disk. This is the heart of the program and is very well done. The screen that you work with is shown below:

ADDRES  PEEK  CHARACTER     BLOCK EDITOR
54500   76    L
54501   65    A             COMMANDS
54502   82    R             -------------
54503   75    K             ENT- SCROLL
54504   69    E             SPC- Step
54505   78    N             N- New Num
54506   32                  C- Char Str$
54507   68    D             G- Goto Addr
54508   73    I             F- Find Num
54509   83    S             S- Save Blok
54510   75    K             Q- Main Menu
54511   32
54512   69    E
54513   68    D
54514   73    I  ░░░░░░░░░░░<< EDIT LINE
54515   84    T
54516   79    O             -BUFFER INFO-
54517   82    R              50000 START
54518   13                   55114 END
54519   45    -              Block - 0

The shaded section represents a blue band showing the line you are able to edit. Actually the window on the right is also blue and is always on screen. You never have to look up the command you want. The movement through the block has been compiled and is fast. If a block marker shows it is identified in the ‘character’ column. Goto address instantly moves to it.

Find num is a search mode. You can enter a number or if you are looking for a letter you can enter CODE “a”. This also works very quickly.

Once you have located the area you want to change you may enter the number (code) or a string of characters.

Movement through the block can be one space at time (press space bar) or a continuous scroll by pressing enter.

I like being able to see above and below the edit line. The program is quick and easy to use.

In addition to a good program you get 7 pages of instructions with explanations of what is in the header of each file, where to locate the disk name on block 0, what the markers mean and so on.

In addition to the simple things I wanted from this program there is a section for you that are more advanced programmers. Things such as LKDOS subroutines are described. Larry describes how to save and load from machine code routines. He gives some guidelines for mc LKDOS programming.

The last page has LKDOS address and subroutines as well as the main routine jump table. I expect that the manual alone is worth the cost to an advanced programmer.

Larry has done a first class job with this program. I have found it very useful even though I am not an advanced programmer.

NOTE: This column is done with Pixel Print Plus using font e3 with a kern of -2 and space of -1. The title and some work on the block editor screen were done with BytePower‘s Small Screen Painter. Many fonts and variations are available in the BytePower games. The font in the right hand column is from the introduction of a BytePower disk.

Les Cottrell Cocoa, FL USA