Notes from My Correspondence

See all articles from Sinc-Link v10 n3
Author(s): George Chambers
Publication: Sinc-Link
Pub Details: Sinc-Link v10 n3 (Volume 10, Issue 3)
Date: May/June 1992
Pages: 6-8

It was suggested at one of our meetings that we should devote a part of our newsletter to questions and answers from our members. A good idea indeed. I thought maybe these excerpts take from a letter that I wrote to one of our members might prove interesting. I hope you like it!

PEEKING THE LARKEN LKDOS

Now, to answer one of your questions; the one about being unable to POKE values into the Larken LKDOS RAM. From looking at the values you give in your letter, i.e. 16090,8 and 16094,14 I [c]an see that you are PEEKing the 2068 ROM, not the Larken RAM.

If you look at Larry Kenny‘s instructions it will become clear. I can see that you know how to POKE a value into The LKDOS RAM, but you do not know how to PEEK the LKDOS addresses. The values you are getting are from the 2068 ROM, not the LKDOS RAM. What you have to do to PEEK the LKDOS is first place a pointer into the LKDOS. Do this by the command PRINT USR 100: POKE 8200,xxxxx, where xxxxx = the address you wish to PEEK, such as 16090. Having done that, then enter the command PRINT USR 110. You will get the value contained in the LKDOS RAM, not the 2068 ROM. In his manual (middle of page 6, in my copy), Larry K. has a routine to print the first 10 bytes of the LKDOS EPROM.

THE OMNIBUS PROGRAM

I rather think that the OMNIBUS did nor provide for changing the LF on/off function. A bit of an oversight, I think. The LKDOS defaults to a LF with CR, and probably our printers happen to need the LF. I could give you a change for the OMNIBUS if you would like to be able to vary it from the menu, or the program could be modified to automatically give you no LF. A line in OMNIBUS in the vicinity of 1200-1230 which read “PRINT #4: POKE 16092,0” would give you a NO LF condition.

MODEMS

The TS2050 modem plugs directly into the rear of the 2068. Requires no other interface circuits. It is powered by much the same power supply as was used on the TS1000. If you were to use a regular modem, then you would need a RS232-type serial interface. Such as the ZSI/O board that was put out by Ed Grey.

I have a retired Bell System modem and it required a serial i/f board. The advantage of this modem over the 2050 is that it give me a choice of 300 baud or 1200 baud. Nowadays 300 is almost passe, even amongst bulletin boards.

I’m interested in your reference to Bill Jones‘ SMART TEXT and Daisy 6. Bill talks about how marvellous a program it is; how many copies have sold. But Bob Mitchell and I are not that taken with it. Seems to be just too convoluted, and difficult to get into. Our question is, well maybe that’s how many copies have sold, but how many are being actually used. A different story, I rather suspect. Let me know if it becomes your standard management system. Incidentally, I see an advert in the Indiana T/S user newsletter by Bill Jones, selling off what appears to be his complete 2068 equipment, for $750. He seems to be getting out of the 2068 field. He was into the QL, and I don’t see any of that part for sale.

LARKEN RAMDISK

You ask about the RAMdisk. There is really no mystery about it. I’ll try to keep it simple. The easiest way to use it is to simply treat it as a solid-state drive, having 48 tracks. Though you can format it without having to load any formatting software; you simply “PRINT USR 100: FORMAT “8”,(for the number of chips you have on the board), and that’s it. Then you SAVE, LOAD, ERASE, etc.,the same way as with a regular drive.

You ask about the merits of using the Larken disk Editor program to format the RAMdisk. I suspect they are both the same, just that the Editor may have some extra frills. I’ve never done it any other way.

However you can do bank-switching with it. That is what Larry Crawford has done. He bank-switches one RAMdisk chip at a time (which amounts to 5 tracks, incidentally). What happens is that the upper part of the 2068 memory, from addresses 32768 to 65535 is swapped with any selected RAMdisk chip.

Larry C.’s program is able to do this automatically as required, swapping banks back and forth, as needed by it’s SEARCH and SORT routines. The BASIC part of his program must stay below the 32768 cut-off, or that part of Basic above 32768 would be switched as well, with disaster ensuing. If you look at his basic listing you might see some OUT 244,7’s and other suchlike. Those are the bankswitching commands.

Larry C.’s program does a SAVE of the RAMdisk banks before making use of them for the database. The program, as a first order of business, saves the RAMdisk to a disk in your choice of drive. It then loads the database data into the RAMdisk. Whether it formats it first, I’m not sure. I suspect that it simply bankswitches a bank, then with this bank effectively in the 2068, it fills up the memory, swaps another RAMdisk bank, and so on until all the data is loaded. In the case of L. C.’s “movie title” demo, I think it is only one bank. But I think Bob Mitchell had a “colour slide” database that used a second bank (chip) of the RAMdisk.

Now, when you are finsihed with the database you have to execute a graceful exit, so that the program restores the RAMdisk with the programs that were initially saved. It does work, I tried it, but I would caution you to also have a spare RAMdisk copy, since I seemed to frequently exit ungracefully; i.e. turn off the computer, and then be unable to restore the RAMdisk contents I had saved on disk.

Larry Kenny’s RAMdisk backup program operates in the same fashion. He switches each of the RAMdisk chips in turn into the 2068 memory, and does a 5-track SAVE. Richard HURD has another RAMdisk backup program which saves the RAMdisk on an individual program basis. I tend to like this one better, since it means that I could pick out a single program if I cared to load it into the computer.

I find that the RAMdisk works perfectly OK when the Larken disk interface is the first add-on to the computer. I think this is the most useful position. I never considered any other position for it, actually. My RGB monitor plug is situated at the back and it crowds the Larken boards quite severely. In fact I had to remove the joystick jack and bring out an extension cable for it, in order to give the RGB cable room. Incidentally I use a VCR cassette case, suitably trimmed, to cover the RAMdisk. I opened the case on one side, and it simply drops over the board. Very neat. I enclosed my LKDOS board also, using a case from a Memotech 16K rampack for the ZX81. But one could also use a VCR cassette case for the LKDOS i/f as well.

EXPANDING THE RAMDISK

You mentioned having a problem with the RAMdisk to backup. I think I may have an idea. Were you using 4 chips on the RAMdisk initially, then upgraded to 8 chips? I had an experience like that, where the RAMdisk said it only had say, 24 tracks, when I knew there was a full complement of 48. The problem is this. When you did a disk-save, i.e. RAMdisk Backup of a 4-chip RAMdisk; then added another 4 chips to the RAMdisk, then reloaded the RAMdisk Backup, the directory track still says there is only 24 tracks. Even though you may have formatted it to a full complement of 48 tracks, when the RAMdisk Backup is re-installed it overwrites the Directory track, to show 24 tracks, or whatever.It doesn’t know there are now 48 tracks, the LKDOS looks at the Directory track, and it says there’s 24.

What you have to do is save the programs individually to disk, reformat the Ramdisk to 48 tracks, then reload the programs individually. Then make a new RAMdisk backup.

This will only happen when you add chips to a partly-populated RAMdisk. Once it is full with 8 chips the problem will not recur.

If one knew the command to bankswitch a RAMdisk bank, it would be a simple matter to save a RAMdisk bank to disk. I have never gone into the OUT commands for that purpose. Never had a reason to do so. If I did I would probably study Larry Kenny’s RAMdisk Backup program. Or the definitive article on the subject, by Larry Craweford, in the Mar/Apr ’90 issue of Sinc-Link (Vol.8 No.2). It contains the necessary OUT command information.

Oh, a couple of things. I removed the black line from the bottom of your SCREEN$ images. I did it with the doctor.B1 program. I determined which tracks the offending black area was located, loaded these tracks individually, and worked them over. I broke into the “doctor.B1” program and made a change to the “alter” option, so that it changed the code values from 7 to 56. The tracks, when loaded into doctor reside at 50000 upwards. I determined that the offending code was at addresses 51750 to 51845, so I introduced a FOR/NEXT loop to POKE 56 into these addresses. I then re-SAVED the track, and voila! the black bar was gone. Did this to all the SCREEN$.

Also, in the GYP10X.Bx program, in line 510 (was it?) there is a variable that needs to be changed from 1 to 2, to make the program work properly with the Larken system. Jack Dohany has used a clever method of making his programs universal to all disk systems.

I shall close off now, and get this into the mail.

Sincerely,
George Chambers