CP/M running two terminals for Z8E debugger

150 views
Skip to first unread message

Derry UK

unread,
Apr 30, 2022, 11:36:20 AM4/30/22
to retro-comp
I've been looking at the Z8E debugger and one option is to use it with two terminals, so the program under test has it's own and so does Z8E.

So my question is has anyone used CP/M (2 or 3) with two terminals and any issues I should be aware of?

Thanks,

Derry

Douglas Miller

unread,
Apr 30, 2022, 1:30:18 PM4/30/22
to retro-comp
Looking at the code at https://github.com/hperaza/Z8E.git, it appears that you can switch the Z8E "console" to the CP/M "aux" device with a command. However, your CP/M BIOS must support an "aux" device (PUN:/RDR: on CP/M 2.2) plus it appears you have to un-comment some labels ("atty*") in the chosen terminal INC file.

Derry UK

unread,
May 8, 2022, 2:27:56 PM5/8/22
to retro-comp
OK cracked it. The route I took was to use talk.com from the ROMWBW distribution plus look at it's code to see what is going on with IOBYTE.

Read the Z8E manual and follwed it's advice and reassembled the Z8E source file using CPM (Z80ASM).

Set up a teraterm console terminal on my PCs COM3 (running CPM) and a TT AUX terminal on COM4.

On the COM3 terminal started Z8E with 'Z8E SCRTEST.Z80 SCRTEST.LST'. SCRTEST is my own screen editor program.

At the Z8E asterisk prompt on 3 I entered 'T  A' and the Z8E prompt appeared on 4. All my Z8E debug commands and their output now appeared on 4.

Next step is to modify my SCRTEST and see how it gets on with COM3 in screen edit mode but I am pleased with the results so far and ease of setting two screens up.

Derry.

Derry UK

unread,
May 8, 2022, 2:42:16 PM5/8/22
to retro-comp
I should have added that I used SC126 port A for COM3 and port B for COM4.

Derry.

Derry UK

unread,
May 12, 2022, 5:22:27 AM5/12/22
to retro-comp
OK discovered another downside with this setup using two Teraterminals is that I only have one keyboard so I am forever selecting the other terminal when I want to use it's keyboard.

Derry.

Mark T

unread,
May 12, 2022, 12:21:55 PM5/12/22
to retro-comp

I think even with two keyboards you would need to select the active teraterm window.

Is alt-tab working or do you need to use the mouse?

Derry UK

unread,
May 12, 2022, 2:31:00 PM5/12/22
to retro-comp
I used the mouse, I'll try Alt-T the next time I run Z8E.
Derry.
Reply all
Reply to author
Forward
0 new messages