<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Thu, 15 Dec 1983 15:50:46 EST
From   : Keith Petersen <w8sdz@brl>
Subject: LTYPE12 bug fix

There is a bug in LTYPE12.ASM/COM which will cause the program
to incorrectly count the maximum number of lines to be typed
and may cause it to bomb under some conditions depending upon
the maximum number of lines selected at address 101h.

BEGIN: MVI     A,MAXLIN        ;max number of lines displayed
       STA     MAXLS-1         ;*****<---SHOULD BE MAXLS
       STA     MAXLS1-1        ;*****<---SHOULD BE LAXLS1
       LXI     H,0             ;save CP/M stack pointer
       DAD     SP
       SHLD    STACK
       LXI     SP,STACK        ;set up local stack

You can fix the .COM file without having to reassemble by patching
with DDT:
       Change the byte at 103h from A9 to AA
       Change the byte at 106h from B6 to B7

I have uploaded LTYPE12A.HEX which already has this patch installed.
It's in the SIMTEL20 MICRO:<CPM.CPMLIB> directory.

--Keith Petersen, W8SDZ - 12/15/83
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>