HP-IL with HP 82163A Video Interface
|
11-08-2014, 03:52 AM
Post: #1
|
|||
|
|||
HP-IL with HP 82163A Video Interface
Hi,
I'm am a bit of a novice when it comes to this hardware but I tinker with it as a hobby. I have an HP 82160A Interface Loop plugged into my HP41 and connected HP 82163A video interface. I have read in the manual about controlling the video interface with Data Byte messages in the form of excape sequences that are interpreted as instructions. There are no examples in the manual so I am struggling to understand the syntax/use of these codes. Any help would be appreciated. Kind regards, Gary |
|||
11-08-2014, 09:33 AM
Post: #2
|
|||
|
|||
RE: HP-IL with HP 82163A Video Interface
If you have a 41CX, or the Extended Function module on a 41C or 41CV (but NOT in a 41CX, it's built in), you can use XTOA to append any character by character code to the ALPHA register, though you can't use NUL characters (code 0) at the beginning of a string. If you needed a string ESC "7@" to send (not including the quotation marks), you could use CLA 27 XTOA ALPHA append 7 ALPHA 64 XTOA to compose it in ALPHA, since 27 is the character code of escape, and 64 is the character code of "@". All of the character codes are listed in an appendix in the Extended Function ROM manual and in the 41CX manual.
|
|||
11-08-2014, 10:42 AM
Post: #3
|
|||
|
|||
RE: HP-IL with HP 82163A Video Interface
Thanks for your prompt reply. I tried your example and I can display the @ character on the screen as you described. I take it the 7 refers to displaying the character on the screen?
I now have a better understanding of the codes but I still don't understand the manual when it says "Escape Sequence 'EC A' Character Codes 27 65 Moves the cursor up one line..." I am reading this from the 82163 manual. |
|||
11-08-2014, 03:46 PM
(This post was last modified: 11-08-2014 03:56 PM by Sylvain Cote.)
Post: #4
|
|||
|
|||
RE: HP-IL with HP 82163A Video Interface
(11-08-2014 10:42 AM)institches Wrote: Thanks for your prompt reply. I tried your example and I can display the @ character on the screen as you described. I take it the 7 refers to displaying the character on the screen? Just in case, ESC or EC or Escape or character code 27 is all the same. The following, is a small program extract that should get you started Code:
From the run mode ... XEQ "VIS" will setup the interface and the calculator XEQ "VCD" will clear the video device XEQ "DTL" will display on video the alpha content and go to the beginning of the next line XEQ "DT" will display on video the alpha content XEQ "CUP" will move the cursor up by one line XEQ "CDN" will move the cursor down by one line Have fun! Sylvain edit: typo |
|||
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 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:
To use it, modify the CUP, CDN, etc routines like this: Code:
|
|||
11-08-2014, 06:33 PM
Post: #6
|
|||
|
|||
RE: HP-IL with HP 82163A Video Interface
or use synthetic programming to embed any character directly in an alpha string. It executes much faster. I did synthetic programming the more tedious way (with the byte grabber) before I got the ZENROM which makes synthetic instructions and operations natural, as if they had never been synthetic.
http://WilsonMinesCo.com (Lots of HP-41 links at the bottom of the links page, http://wilsonminesco.com/links.html ) |
|||
05-20-2015, 06:46 AM
Post: #7
|
|||
|
|||
RE: HP-IL with HP 82163A Video Interface
(11-08-2014 05:32 PM)J-F Garnier Wrote:Thanks JF.(11-08-2014 03:46 PM)Sylvain Cote Wrote: The following, is a small program extract that should get you started 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 ? Thanks in advance and regards |
|||
12-28-2015, 09:17 PM
Post: #8
|
|||
|
|||
RE: HP-IL with HP 82163A Video Interface
Thank you all for your assistance. After revisiting this I'm able to do all I need at this stage.
Cheers Gary |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)