M-LOG Program

See all articles from QZX v3 n9
Author(s): John McGinley (N9BBN)
Publication: QZX
Pub Details: QZX v3 n9 (Volume 3, Issue 9)
Date: August 1985
Pages: 3, 9-10

M-LOG is a simple BASIC program with a machine language subroutine for searching memory for duplicates. The BASIC program is easily modified for new tasks which you might need. The machine language routine provides the speed necessary for logging and duping under contest conditions.

First of all, if you anticipate working more than 400 stations, you must change some statements in the program. The ‘400’ is statements 11 & 12 must be changed. The limit for 16K RAM is about 650 calls. You will want to put your own call sign into statement 20.

Once you RUN the program, be careful not to RUN it again or you will lose your data. Follow the prompts and enter the band (W$) & mode (M$). Next you will be prompted for a call sign. Here is where the machine language takes over. QSO info for any contact in memory that matches the entered call sign will be printed on the screen. Now you decide whether or not to log the call. If you decide to log the call, you answer the prompts. Typing ENTER means “YES”, log this call. If you type MENU instead of a call sign, you can choose to input another call, change bands, or stop. Again, do not RUN or CLEAR. To re-enter the program after a STOP, type GOTO 20.

Just for fun, I put my call sign into B$(400) five times. I also put in N9BNB (almost my call) several times. When I then searched for my correct call, the computer took 0.25 seconds to search the whole array and print the dupe data in the SLOW mode! If there’s a faster program, I’d like to see the disassembled listing!

Since the program runs exclusively in SLOW, you might want to add W8FNQ’s software clock and menu options for resetting. The machine language routine can be modified by those of you who know machine language. The routine is pretty flexible and should be easy to modify. For instance, it’s clear that for Field Day, this program isn’t exactly what you need, although it could certainly be used. The disassembled listing is elsewhere in this issue.

If you don’t want to type in the program from the listing here, send me a check for $8 and I’ll send you a cassette with the program ready to go.

Next month, we’ll look at some more of the possible new machine language routines, the sorting of the log and printing of the dupe sheet. The program listing for this program appears elsewhere in this issue. (ADR: 203 Milwaukee St., Mauston, WI 53948)

M-LOG Addendum

The 1 REM statement needs a little explanation. It needs at least 269 arbitrary characters. Use FAST or it will take forever to create it. This is where the machine language routine will reside after you poke it in from the enclosed list. RUN 1000 to help you get them all in. After you finish, you may delete lines 1000-.

M-LOG program listing (part 1)
M-LOG program listing (part 1)
M-LOG program listing (part 2)
M-LOG program listing (part 2)

POKES FOR 1 REM STATEMENT STARTS AT 16514

42,16,64,17,6,0,25,126,22,5,35,94,131
21,32,250,35,119,50,33,64,30,15,25,19[illegible]
190,40,17,17,20,0,25,229, 237,91,123
64,198,0,237,82,225,56
237,201,43,229,42,16,64,17,11,0,25
229,209,225,6,5,26,78,185,32,6,43,27
16,247,24,12,62,6,144,79,6,0,9,58,33
64,24,202,24,29,40,38,49,49,55,53,57
54,57,45,39,38,51,41,50,52,41,42,62,0
215,215,201,126,215,35,16,251,201,229
42,12,64,17,69,0,25,62,0,190,32,56,33
213,64,205,231,64,6,4,205,236,64,205
231,64,205,231,64,6,3,205,236,64,205
231,64,6,3,205,236,64,205,231,64,205
231,64,6,4,205,236,64,205,231,64,6,4
205,236,64,6,32,62,0,215,16,253,225
205,231,64,6,6,205,236,64,205,231,64
17,3,0,67,25,205,236,64,205,231,64,67
4,205,236,64,205,231,64,215,29,67,35
35,205,236,64,205,231,64,205,231,64
30,9,151,237,82,126,186,40,8,62,40
215,62,60,215,24,6,62,53,215,62,45
215,30,5,151,237,82,205,231,64,58,33
64,195,157,64,6,22,205,44,10,201
16782= LAST ADDRESS
M-LOG machine language disassembly
M-LOG machine language disassembly