💾 Archived View for spam.works › mirrors › textfiles › apple › DOCUMENTATION › ls.6.main.pgm captured on 2023-06-16 at 21:21:17.
-=-=-=-=-=-=-
*************************** * Locksmith 6.0 * * Documentation by Mr. Wiz * *************************** System requirements: Apple II, Apple II+, Apple //e, Apple //c, or compatible. 48K RAM and 1 disk drive minimum. Optional RAM - 16K, 32K, 48K, 64K, 128K, 256K. Common Locksmith Control Keys: ----------------------------- These keys can be typed at any time while in Locksmith. CTRL-Z - Will print text screen to printer. Printer slot assumed to be in slot 1, but may be changed by parameter PRT.SLOT. ESC - Will abort current function and return to an earlier menu. Repeated pressing will return to main menu. RESET - Will exit Locksmith and reboot system. Note: Locksmith (LS) uses extensive memory overlays while performing tasks. Keep the LS disk in the boot drive until instructed to remove it. The top 7 lines of the display show the status of the current operation. Tracks are number 0-23 (hex) corresponding to 0-36 (decimal). Quarter tracks are also allowed. Main Menu: --------- Booting the LS disk will result in the main menu appearing. The body of this menu displays the keystrokes (inverse) which you enter to perform certain functions. Briefly, they are: (B) BACKUP/COPY - Backup protected software using LS standard copy functions. (F) FAST BACKUP - Quickly create copies of unprotected software. Will utilize all additional memory in the computer for a copy process taking as little as 8 seconds. (/) CLR STATUS - Clears the track status display at the top of the screen. (N) DISK EDITOR - Formerly, the Nibble Editor. Allows manual reading, searching, changing, etc. of data in a sector format or nibble format. Can also be used to edit data in RAM. (L) LOAD RAM CD - Will load slot 0 RAM with 12K of data found on tracks 12, 13 and 14 (hex) of LS disk. Useful for loading Inspector or Watson. Pressing I will invoke these functions once they are in memory. (*) PARAMETERS - Allows display and changing of curent LS operating parameters by name. (T) TEXT EDITOR - Used to edit files containing LS Programming Language (LPL), which can be loaded and saved on the parameters disk. The BACKUP function allows automatic backup of protected software after specifying the name of the software. (R) RAMCD UTILS - Can be used to test RAM cards in your Apple. Will test any size cards, and two tests are provided: a basic test and an extensive test. The test can be performed continuously or just once to help isolate intermittent errors. In addition, the contents of any 16K bank of the RAM card can be dumped to main memory, edited with the disk editor and re-loaded to RAM cards. (Q) SCAN DISK - Allows you to examine on the hi-res screen an overall "picture" of the disk, track by track. This is useful in determining which tracks are actually used. (A) BOOT TRACER - A sophisticated debugger which can simulate the operation of the 6502 in the Apple. Because disk reading is simulated, it is possible to actually "boot" a disk (whether protected or not) under control of the debugger and trace the boot code of the program. (C) CERTIFY DISK - Writes a special pattern to each track of a disk and verifies the integrety of the disk surface. (U) 16-S UTILS - Brings up a second menu of 16 sector utilities. (D) DOS3.3 UTIL - Brings up a second menu of DOS 3.3 utilities. (X) DSK RECOVER - Will read a difficult or impossible to read disk and write a good copy to another disk. Useful in transferring disks that were written in an improperly aligned machine. (S) DISK SPEED - Allows speed adjustment of disk drives. (E) ERASE DISK - Will partially or completely erase a disk. (I) INSPECTOR - Invokes Inspector or Watson utilities if loaded with the "L" menu item. Backup/Copy Disk: ---------------- Pressing 'B' will invoke the standard default copy method for copying protected disks. This will work with most protected software. Pressing 'F' will invoke the high-speed copy process. This only works for unprotected software and utilizes as much memory as you have available. The following commands are used in Fast Backup: 12 Copy drive 1 to drive 2 21 Copy drive 2 to drive 1 11 Copy to and from drive 1 22 Copy to and from drive 2 1 Read verify drive 1 2 Read verify drive 2 10 Copy drive 1 to memory 20 Copy drive 2 to memory 01 Copy memory to drive 1 02 Copy memory to drive 2 V Toggle verify flag after each operation (SPACE or RETURN) to start operation In addition to these commands there are several parameters which can be modified to allow read and write sector oriented protected disks, and set internal parameters. The following parameters apply: 0007=00 Requested output volume # or 0, if same as input volume. 0008=00 Begin track to process. 0009=22 End track to process. 0010=08 Maximum read retry count. Retry number is 1-9 for first 9 revolutions of disk, A-Z for next 26. After that the display will not change. 0011=03 Maximum verify after write retry. 0012=10 Motor On delay for read. 7F maximum. 0013=10 Motor On delay for write. Maximum is 7F. 0014=80 Seek Off delay to read. DOS uses FF, the longest value. A delay of 00 is satisfactory and will reduce overall copy time by about 1 second. 0015=80 Seek Off delay for write. Do not change to any number less than 80 or drive may begin writing before the seek mechanism has settled. 0016=0B Number of self-sync before address field, expressed in excess-5 notation. The default value will write 16 self-sync nibbles and the value of 01 will write 6 self-sync nibbles. Setting this value very low will cause over-writing of the subsequent address field, too high will not allow all 16 sectors to fit on a disk. 0017=08 Number of self-sync before data field. (See 0016.) 0018=00 Alternate writing to drive 1 and 2. Setting to FF will cause alternate writing between 2 drives allowing very fast and efficient disk copying and use of memory. To change any parameter, enter the 4-digit address and press RETURN. The current value will be displayed, enter a new value if you wish to change it. Clear Track Status Display: -------------------------- The track status display is not cleared after each LS function. Pressing '/' will manually clear this display. Disk, Nibble, and Memory Editor: ------------------------------- Pressing 'N' will enter the Disk Editor (formerly Nibble Editor). Cursor Movement-I,J,K,M diamond or arrow keys on //e or //c. '<' and '>' will page forwards and backwards through memory. ',' and '.' will scroll continuously through the buffer. Display Control-'A' will toggle ASCII display on/off. 'B' will toggle between byte and nibble modes. In nibble mode, self-sync bytes are inverse. Control Keys-CTRL-R will read a track into buffer. CTRL-W will write track from buffer to disk. (IF NO ANALYSIS WAS DONE TO TRACK TO SET TRACK START AND END, LS WILL ATTEMP TO WRITE ENTIRE BUFFER.) CTRL-V will verify track start. Place cursor over nibble you wish to start verification process. CTRL-I will insert nibbles into the current buffer starting to the right of the nibble your cursor is on. CTRL-D will delete nibbles. CTRL-F will find a pattern of nibbles. Pressing RETURN will search for string defined in parameter PATO, 'L' will prompt you for a length (1-F). CTRL-B moves cursor to track start, CTRL-E to track end. '(' sets track start to current cursor, ')' sets track end. 'S' sets nibble under cursor to self-sync, 'N' sets nibble to normal. 'C' enters change mode. 'H' will display buffer on hi-res screen, 'HG' will print hi-res screen if your printer is capable of graphics output. The printer initialization string is defined in parm GR.CHARS. 'G' from text mode will display a picture of buffer using text characters. A period (.) means all nibbles in string are normal, an inverse (#) means self-sync, (+) means a combination of normal and self-sync. 'D' is the 16 sector address decode command. The first 4 numbers are the buffer address, next is the letter 'V' with a hex number (the volume), a two digit number with (/) another 2 digit number for track/sector. Following that is either '?', 'CS', or '**'. A '?' means either the check sum or trailer are incorrect. 'CS' means data field check sum is incorrect. '**' means data field info is incorrect or the disk is 13 sector. Pressing '#' prints the current track in the bufferfrom '(' to ')'. CTRL-S will process the analysis portion of the current track procedure used after reading to analyze the nibble data and set pointers for later writing. Framing Bit Analyzer: -------------------- Framing bits (sync bits or timing bits) are the zero bits which occur between nibbles of data on the disk. These nibbles are called self-sync bytes. 16 sector disks use 10-bit self sync or 2 framing bits. The analyzer performs statistical analysis using precise timing loops and reports the timing relationship of the nibble data. The analyzer is entered by pressing '