HP-IL with HP 82163A Video Interface
05-20-2015, 06:46 AM
Post: #7
 Vincent Weber Member Posts: 255 Joined: May 2015
RE: HP-IL with HP 82163A Video Interface
(11-08-2014 05:32 PM)J-F Garnier Wrote:
(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
Thanks JF.
I tried to use the video display in Emu41 and I have the following questions:
1/it seems that neither 32 nor 80 column are emulated, but 40.
Why ?
2/it seems that video inverse characters and cursor blinking is not emulated. why ? Is it what you mean by "partially emulated" for the escape sequences in Emu41 doc ?
3/what is the use of emulating the 82143a printer over emulating the video interface since you don't emulate the graphics ? To get a longer "paper" ? But I have not found how to control the paper length, nor how to scroll it...
4/why not emulating the 82162a printer ? Can you confirm that its new FMT instruction is dedicated to it and cannot be used with the video interface ?
5/you say in emu41 doc that the escape sequences "are not used with the hp-41, except with the paname rom". Can you confirm that you are not aware of significant applications that would make use of these features ?