Post Reply 
HP-IL with HP 82163A Video Interface
11-08-2014, 05:32 PM
Post: #5
RE: HP-IL with HP 82163A Video Interface
(11-08-2014 03:46 PM)Sylvain Cote Wrote:  The following, is a small program extract that should get you started
Code:

01 LBL "VIS"    sub: Video Interface Selection
...
38 RTN          end sub

An improvement proposal:

Generally (including this case) it's not needed to use the HP-IL manual mode (MANIO).
In MANIO you can easily send data to the wrong device when using mass storage or printer functions at the same time.
The SELECT command is for sure needed to address the OUTA to the video display, but in this case it's easier to use ACA and PRA to avoid managing manually SELECT and SF/CF 17.

Then, if you don't have a HP-41CX or an Extended Function module, you can replace the sequence
<< 27 XTOA >> with << 27 BLDSPEC ARCL X >> to generate the escape character.

The sub 99 becomes:
Code:

07 LBL 99       sub: build the escape char
08 27           the escape code
09 ENTER      (to make sure BLDSPEC will work as expected)
10 BLDSPEC      generate the escape character
11 ARCL X       and put it in ALPHA
12 RTN          end sub

To use it, modify the CUP, CDN, etc routines like this:
Code:

21 LBL "CUP"    sub: Cursor Up
22 CLA          clear alpha
23 XEQ 99       build escape char
24 "|-A"        append char "A"
25 ACA          send the alpha string to the video device (w/o end of line)
26 RTN          end sub
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-IL with HP 82163A Video Interface - J-F Garnier - 11-08-2014 05:32 PM



User(s) browsing this thread: 8 Guest(s)