Hello,
I think that most of us prefer to write our Basic programs (maybe just menus) in a PC editor instead of keying right on the Dragon keyboard.
But then this file has to be sent to the Dragon ...
Well, now we can do that with the new dweeb LDA (for load ASCII)
If you use DriveWire4 as server, remember that the basic files must be padded to have a length multiple of 256 bytes (you will find a small java app at page one named Pad256 that helps doing that)
I attach here two versions of the Loader.
The first one LDA strictly calls all of the Basic routines to add each read line to the memory, it has been a bit tweaked and loads fast enough ...
Ken told me that using HDB-DOS with Drivewire loading whole Elisa.bas needed some 1m47sec and that one just needs 1m33sec
Once got it, I decided to force things as much as I could, trying to do the steps with code and bypassing operations I considered not mandatory ...
The result is the other dweeb LDAF (Load ASCII Fast)
In the source document are some notes related to its behaviour, but as you can see, the longer the program to be loaded, the better the results.
In fact, concerning Elisa.bas it is 2.5 times faster than HDB-DOS
The times lo load programs are these, upon the number of lines of the program.
Of course the number of sentences contained in every line is important, too. To make tests, I took Elisa.bas as the basis:
Code: Select all
LDA LDAF
Elisa 100 lines 12 sec 11 sec
Elisa 200 lines 24 sec 18 sec
Elisa 300 lines 39 sec 25 sec
Elisa 546 lines 93 sec (1m33s) 41 sec
cheers
pere
EDIT: I forgot to mention that both dweebs accept the N parameter to just load the program without running it immediately:
DLOAD"LDA""ELISA.BAS will load and run the program
DLOAD"LDA"N"ELISA.BAS will just load it