[net.micro.cpm] Z8E bug

GRUPP@mit-mc.ARPA (03/31/86)

I have discovered another minor bug in Z8E.COM (the super Z80 debugger)
in the terminal I/O section.  It mixes direct and normal I/O Bdos calls
which sometimes causes the Bdos to return incorrect status to Z8E.
Another problem with the I/O the way it stands is that terminals which
require no bias to be added to the ROW or COLUMN get bad cursor posistion
information as the normal Bdos I/O calls expand ROW or COLUMN 9 (tab) to
some number of spaces.  Fortunately the fix is simple and can be entered
using Z8E and the Z8E.SYM file.  Following are the commands you type
to patch this from CP/M.  A <return> is typed after every line.

Z8E Z8E.COM Z8E.SYM
A TTYQ+3
LD C,6
LD E,FF
CALL BDOS
POP HL
POP DE
POP BC
AND 7F
RET
<return>    <-extra return needed to exit A command
A TTYO+5
LD C,6
<return>    <-again
W Z8E.COM
G 0

That's all there is to it.
--Paul