That there are two different controller chips used in the LKdos EPROM I/F board? They are WD1770 and WD1772. The machine code in the EPROM on the cartridge board is slightly different for each one. If you have the WD1770 chip your version 3 EPROM will be marked L3. If you have the WD1772 controller you will find that your EPROM is marked L3f.
The disassembly that has been appearing in Sinc-Link was made from a version 3f EPROM. The disassembly was done by Ken Shoenberger using his TSDB disassembler program. It was 35 pages long and he had analyzed it making handwritten remarks. Before I submitted it to Sinc-Link I retyped it in MScript so I could print it with a smaller font and type in his remarks. I was able to reduce it to 21 pages. As of writing this article only the first eight pages have been published.
To verify that I hadn’t left anything out or botched the typing I proofed it against my chip. I have an EPROM reader/burner that will make a disk copy of the EPROM. It works on an IBM clone so I converted it to a LKdos disk using the Larken Disk Editor. When I am ready to proof a page I load the LKdos code at address 40,000, load TSDB and select an offset of 25536. When I disassemble I get the correct addresses on the screen. Since I have the (earlier?) WD1770 chip I have the L3 EPROM. That is where I discovered the difference between the two chips. L3f has two additional RRA instructions at addresses 2336 and 2337. There is a 2 byte difference in all addresses from there up to 4364. So the code between 2336 and 4364 in the disassembly will be different if you have the L3 version. (That is, pages 7 to 12 of the disassembly.)
Reading the code with the EPROM reader also verifies that the “forbidden addresses” (98 to 111) are accurate as they appeared on the first page of the disassembly.
One of the reasons for submitting the entire disassembly was to answer part of the questions raised by Robert Shade in his letter published in Vol. 11, #1, about increasing the size of the RAMdisk. In the RAMdisk assembly instructions Larry Kenny says “The order of the ramchip selection is not linear because of a small PCB error”. A lookup table at 4175 to 4222 compensates for this. I haven’t studied the posibility of adding more RAM, but it is obvious that two things would have to occur before this could even be considered: 1) correct the circuit board error, and 2) revise the code in the vicinity of 4153 where the lookup table is used. (See page 12 of the disassembly.)
Pages 1 through 13 were done in MScript. Pages 14 through 21 were done on a MacIntosh. The file was transfered to a MSdos disk where I could then read it back into MScript using the Larken Disk Editor. My only problem with this process was the diference in how tabs are handled. The Mac program uses a 9 to indicate a tab and I discovered that MScript “pads” the tabbed areas with spaces. I changed all the 9’s to spaces (32) and then had to add more to return to the desired configuration. My original reason for doing this was to save typing time because I could type columns on the Mac. This turned out to be a “pay me now or pay me later” exercise. We live and learn!
+LSC+