THE FOLLOWING ARTICLES WERE STOLEN (BORROWED) FROM THE AWAUG BBS, 24 HRS. 202-56l-2475 WITH ITS FINE SYSOP, JEFF JODOIN &/OR THE AWAUG NEWSLETTER UNDER THE VERY CAPABLE EDITORSHIP OF JACK MACKENN. 
 
Most are authored by Nat Eiseman, a very knowledgible Adamite and were left on the AWAUG BBS for the newsletter.  But feeling these were important and have some vague general type permission to do so, I grabbed them immediately. 
 
CREDIT AND APPRECIATION TO: JEFF JODOIN, JACK MACKENN, and NAT EISEMAN. 
 
The pi symbols are from the xmodem download and represent carriage returns in the CPM to EOS translation.  Maybe Nate will write an article on that one time.


                                 EDIT(11)ING IMP
                                   Nat Eiseman

    There have been a number of question/comments recently, both at meetings and 
on the BBS concerning edit programs, program patching, and the problem of IMP 
not handling files over 128 records.  There is a nice little (2K) program 
 available on the AWAUG BBS called EDIT11.  It is a good editor, excellent for 
patching, and can be used to modify IMP to handle larger files.  The LBR file 
contains the COM file, an easy to read DOC file and QRF.
 
     I use EDIT for lots of things, including looking up words in a large 
 dictionary file.  It will also give you a disk directory, copy files, print 
files, give a hex dump and edit text and programs.  But for quick and easy 
patching of programs, where you are given the patch addresses and values to be 
substituted in a DOC file, EDIT11 can't be beat.

    After loading the program the first thing you have to patch is EDIT itself.  
The clear-screen code(s) are not installed .  Find out what the hex code(s) for 
clearing your terminal screen are.  There may be one, two, or three two-digit 
numbers.  For the Falco terminal they are 27 and 43.  These are entered at 
addresses 855-857.
 
1.  Type EDIT11 EDIT11.COM C<CR>
 
2> The computer will respond ADDRESS?
 
3.  Enter 855<CR>
 
4> ADAM will respond BYTE=00h CHANGE TO:
 
5.  Enter your code <CR>
 
6.  Repeat for addresses 856 and 857 if necessary.  A carriage return at the 
address prompt terminates the editing session.  A new EDIT11.COM will be written 
to disk and the original saved as a BAK file.


    As for IMP, I have found that the program aborts when it tries to write to 
disk at 128 records (16K).  IMP-DISK.NOT reports that this is due to slow disk 
systems taking more than 10 seconds to write 128 records to disk and suggests 
changing byte 0BFF from 80H (16K) to 40H (8K).  When I did this IMP aborted 
itself at 8K!

    Use the procedure described above to change byte 0BFF (the "file extent") to 
FF.  This will prevent ADAM from writing to disk until the file transfer is 
completed OR until the TPA is full.  When memory is exceeded ADAM locks up and I 
have found no other way to get out of it except to pull the reset switch.  The 
available memory varies with your system.  At first I was able to download files 
up to 248 records with this modification of the program.  Now, with Powermate 
and TDOS 4.1, I can get up to 272 records.  Running TPA.COM and subtracting the 
size of the program from the TPA value will get you close to the maximum file 
size for your configuration.  Then experiment.  The AWAUG BBS (and most others) 
will give you the file size in records before it begins to download, so you can 
abort the transfer yourself if the file is too big. 

