Did You Know? 2068/Larken Tips

That TASWORD files may be LOADed into MSCRIPT? Assuming that both use, the .CT extension and imbedded commands are not used the file will load easily. There will be some clean-up required since TASWORD doesn’t use carriage returns. Some words will end up run together and there will be extra spaces in places but it is relatively easy to fix with MSCRIPT ‘insert space’ key(1), ‘delete’ key(0), and ‘delete left’ key(9).


That MSCRIPT files may be LOADed into TASWORD? The conversion isn’t quite as easy as above, but it can be done. MSCRIPT uses carriage return (ENTER) and they will show up in TASWORD as the graphic found on the ‘8’ key. That is your clue for paragraphs and blank lines, if you work from the bottom of the document and come up, the paragraphs can be separated using ‘insert line’ (SS-AND). The next step is to delete all leading spaces for any line. Then the paragraph can be reformatted with ‘reformat to end of paragraph’ (SS-STEP). The paragraph will probably have some split words, delete extra spaces there and reformat again if necessary. (TASWORD’s ‘what-you-see-is-what-you-get’ format makes the load into MSCRIPT easier than vice-versa.)


That LarKen version 3 users can save a block of disk space when saving Artist II by adding the line:

1 BEEP 1, 1: PAUSE 60

Enter GOTO 1 and press the NMI button when the long BEEP ends, press the SHIFT and 1. Version 3 owners can then rename the file by:

MOVE "NMI-S1.CM", "artist.B9"

or whatever name suits you, I use .Bn or .B9 to indicate NMI saves – the change from .C to .B extension avoids adding ‘CODE’. I imagine there are other programs that can be done this way. It also gives you a clean bottom line when the load is completed.


That if you load a program with machine code with a “0 REM” statement that you shouldn’t use the OPEN#4, “dd” command? BytePower programs often use “0 REM” code, so don’t blame the program if you have used a ‘boot’ program with OPEN# 4. The solution is as simple as removing ‘OPEN# 4, “dd”‘ and replacing ‘PRINT# 4’ with ‘RANDOMIZE USR 100’. Merely trying to CLOSE# 4 doesn’t resolve this problem. This one is in the Larken instructions (but I forgot!). The lesson here is to reread the Instructions every so often.


That version 3 owners can make any program pause with the NMI button after inputting the following one liner:

RANDOMIZE USR 100: POKE 16100, 201: RANDOMIZE USR 100: POKE 8214, 16100

The program pauses when you press the NMI button and may be resumed by pressing the “F” key.


That version 3 users can re-boot from within any program with the NMI-F feature? This assumes you have an AUTOSTART program written in BASIC in your booting drive. After writing the pause routine above to stop a program with a countdown clock, I started considering other ways to use this clever feature. I had been adding the GFC re-boot routine to my BASIC programs, but many MC programs still required turning off the computer. By installing the following routine in my RAMDISK boot program I can now re-boot from any program.

The heart of this program is lifted from the instructions in the Larken Disk Editor Instruction Manual. Once the program is LOADed I merely press the NMI button, then the “F” key and my RAMDISK is selected and booted. Obviously the program can be SAVEd independently and run from your menu or as you choose.

The first number in line 5 determines which drive is selected:

Drive  0   1   2   3    4
Code   2   4   8   16   128

This program is numbered so that it can be merged between lines 0 and 10.

1 RESTORE 4
2 FOR a = 16100 TO 16164
3 READ b: RANDOMIZE USR 100: POKE a, b: NEXT a
4 DATA 123, 205, 98, 0, 62
5 DATA 128, 50, 3, 32, 0, 0, 0, 0, 0, 33, 27, 63, 17, 34, 32, 1, 10, 0, 237, 176, 62, 11, 50, 2, 32, 205, 198, 0, 42, 124, 32, 34, 51, 32, 42, 134, 32, 34, 49, 32, 205, 201, 0, 62, 100, 251, 201, 0, 0, 0
6 DATA 65, 85 84, 79, 83, 84, 65, 82, 84, 32
7 DATA RANDOMIZE USR 100: POKE 8214, 16100
8 BEEP .5, .5: PRINT "NMI-F REBOOT ACTIVATED": PAUSE 100: CLS

For a stand-alone program you may add the following two lines

  90 RANDOMIZE USR 100: NEW
9000 RANDOMIZE USR 100: SAVE "booter.B1" LINE 1

That if you all share your tips, we could all benefit from it!

Les Cottrell Cocoa, FL