Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro » Z-100 Termcap and TermSW
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Z-100 Termcap and TermSW [message #54215] Fri, 03 May 2013 17:43 Go to next message
bruce is currently offline  bruce
Messages: 30
Registered: May 2013
Karma: 0
Member
Message-ID: <509@ssc-vax.UUCP>
Date: Tue, 13-Sep-83 15:14:33 EDT
Article-I.D.: ssc-vax.509
Posted: Tue Sep 13 15:14:33 1983
Date-Received: Wed, 14-Sep-83 01:26:53 EDT
Organization: Boeing Aerospace, Seattle
Lines: 54




For those of you who have been using the vt52 termcap with your Z-100,
here is a modified version which makes better use of the Z-100's
capabilities:


z100:\
	:bs:cd=\EJ:ce=\EK:cl=\EH\EJ:cm=5\EY%+ %+ :co#80:li#24:nd=\EC:\
	:pt:sr=\EI:up=\EA:ku=\EA:kd=\EB:kr=\EC:kl=\ED:\
	:al=\EL:dl=\EM:im=\E@:ei=\EO:so=\Ep:se=\Eq:dc=\EN:

This termcap has only been tested to 1200 baud and with vi.  It may 
therefore be necessary to add delays in other environments.

The following .asm file is a dumb terminal program for those who want
to get up quick at minimum (ie zero) cost.  Assemble, link, and convert
it to a .com file for use under Z-Dos.



        TITLE STERM" - Simple terminal program
        Page    ,132

        .XLIST
INCLUDE DEFCHR.ASM      
INCLUDE DEFMS.ASM
        .LIST

PGMSEG  SEGMENT
        ASSUME  CS:PGMSEG,SS:PGMSEG,DS:PGMSEG,ES:NOTHING
        ORG     100H

RECE:
        MOV     AH,CHR_STATUS
        MOV     AL,CHR_SFGS
        CALL    BIOS_AUXFUNC    ; check status of auxin
        AND     AH,CHRS_RXR     ; and see if char ready 
        JZ      SHORT XMIT      ; go check keyboard if nothing coming in
        CALL    BIOS_AUXIN      ; else get character 
        CALL    BIOS_CONOUT     ; and put it on screen
XMIT:
        MOV     AH,CHR_STATUS
        MOV     AL,CHR_SFGS
        CALL    BIOS_CONFUNC    ; go check status of keyboard
        AND     AH,CHRS_RXR     ; check for char ready from keboard
        JZ	RECE            ; loop if no key ready
        CALL    BIOS_CONIN      ; else go get char from keyboard
	CALL    BIOS_AUXOUT     ; and transmit char
        JMP     SHORT RECE

PGMSEG  ENDS
        END    RECE
RE: Z-100 Termcap [message #73891 is a reply to message #54215] Sun, 26 May 2013 20:20 Go to previous message
bruce is currently offline  bruce
Messages: 30
Registered: May 2013
Karma: 0
Member
Message-ID: <56@ssc-vax.UUCP>
Date: Thu, 16-Aug-84 19:47:12 EDT
Article-I.D.: ssc-vax.56
Posted: Thu Aug 16 19:47:12 1984
Date-Received: Sat, 18-Aug-84 00:22:32 EDT
Organization: Boeing Aerospace, Seattle
Lines: 21

There seem to be a number of Z-100 termcaps floating about the net lately, and
a number of folks complaining about the termcaps they are using.  I 
suspect that some of the trouble could be traced to the terminal S/W that is
being used.  Obviously anything that gets between the internal ROM screen
routines and the incoming ascii has the potential of making things worse.
More specifically, termcaps with extra delays may just be compensating for
particularly slow terminal S/W implementations.  If your terminal package runs 
on the CPM-85 side, or does emulation, or does not make use of the serial 
input que, then your termcap will have to compensate for the extra delays thus 
introduced.

This is not to say the Z-100 is without fault. As we all know, the screen update
speed is the main limitation on any terminal S/W written for it.  But my point
is that your favorite termcap may not be "for the Z-100" so much as "for the 
Z-100 (running some specific terminal package) (at some specific max baud 
rate)".  My experience is that I could use the "plain vanilla" VT-52 termcap
at 1200 baud with vi with no difficulty, using either a terminal package which
I wrote or YAM.
				Bruce Stock
				Boeing Aerospace
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Wanted: High-quality 68000 C compiler
Next Topic: Parity checking
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 17:46:38 EDT 2024

Total time taken to generate the page: 0.39511 seconds