Two Questions About 80-Col HP-IL Video
|
06-18-2024, 10:36 AM
(This post was last modified: 06-18-2024 10:53 AM by toml_12953.)
Post: #1
|
|||
|
|||
Two Questions About 80-Col HP-IL Video
I was lucky enough to grab an HP-92198 80-Column Interface on eBay for my HP-71B. On reading the manual, however, I have a couple questions.
1. I'm trying to find the best way to print a word in reverse video. I've written a function which works but I'd like to know if there's a better, faster way: Code: DEF FNR$(X$) 2. The manual says the result of the memory test can be found in the status word but I don't see a way to read the status word. What am I missing? Tom L Cui bono? |
|||
06-18-2024, 12:11 PM
(This post was last modified: 06-18-2024 12:16 PM by J-F Garnier.)
Post: #2
|
|||
|
|||
RE: Two Questions About 80-Col HP-IL Video
Your code looks fine.
A small improvement, replace X$[I9,I9]=CHR$(NUM(X$[I9,I9])+128) with X$[I9,I9]=CHR$(BINIOR(NUM(X$[I9,I9]),128)) in case X$ already holds a character >= 128 If you want to be faster, you can use the HGL$ function, present in the LEX3421 from the Data Acquisition Pac. A standalone HGLLEX file is described here (slides 5, 6). The name HGL$ (Highlight) comes from the equivalent function of the HP Series 80. J-F |
|||
06-18-2024, 02:06 PM
Post: #3
|
|||
|
|||
RE: Two Questions About 80-Col HP-IL Video
(06-18-2024 12:11 PM)J-F Garnier Wrote: Your code looks fine. Thanks! I'll use BINIOR but I have no way of getting LEX files to the 71. Tom L Cui bono? |
|||
06-19-2024, 02:06 AM
Post: #4
|
|||
|
|||
RE: Two Questions About 80-Col HP-IL Video
(06-18-2024 02:06 PM)toml_12953 Wrote: ... I have no way of getting LEX files to the 71. In the old days we used a BASIC program that would create the LEX file from a HEX dump. The listing for MAKELEX can be found here: https://www.hpmuseum.org/cgi-sys/cgiwrap...read=29678 |
|||
06-19-2024, 01:08 PM
Post: #5
|
|||
|
|||
RE: Two Questions About 80-Col HP-IL Video
(06-18-2024 02:06 PM)toml_12953 Wrote: Thanks! I'll use BINIOR but I have no way of getting LEX files to the 71. Hi Tom, Just as Dave suggested, there is the MAKELEX way of entering LEX-files without any additional accessories. Check e.g. page 120 in the book HP-71 Basic Made Easy. The code for HGLLEX is provided below - with the disclaimer that I have not tested it myself! Cheers, Thomas Code: HGLLEX ID#FE 84 bytes [35/45/55/65/67/97/80 21/25/29C 31E/32E/33E|C/34C/38E 41C|CV|CX 71B 10C/11C/12C/15C|CE/16C 32S|SII/42S 28C|S 48GX/49G/50G 35S 41X] |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)