Post Reply 
(HP71B) Speed experience with Video (EMU71 and Video80 screen)
11-15-2023, 04:43 PM
Post: #20
RE: (HP71B) Speed experience with Video (EMU71 and Video80 screen)
(11-15-2023 03:06 PM)Sylvain Cote Wrote:  Example: the following example generate the same set of HP-IL messages

SEND UNL LISTEN 1 MTA DATA "HELLO!" UNT UNL
or
PRINT "HELLO!";
(assuming: PRINTER IS :1 @ PWIDTH INF)

Code:
UNL    (43F)  unlisten
RFC    (500)  ready for command
LAD 01 (421)  listen address 1
RFC    (500)  ready for command
UNT    (45F)  untalk
RFC    (500)  ready for command
DAB 48 (048)  data byte 'H'
DAB 45 (045)  data byte 'E'
DAB 4C (04C)  data byte 'L'
DAB 4C (04C)  data byte 'L'
DAB 4F (04F)  data byte 'O'
DAB 21 (021)  data byte '!'
UNT    (45F)  untalk
RFC    (500)  ready for command
UNL    (43F)  unlisten
RFC    (500)  ready for command

A third (and intermediate) way is to use the OUTPUT statement:
OUTPUT :1 ;"HELLO!";
that should do the same thing.

I don't know which method is the fastest, the SEND method may be slower due to the individual command decoding, but that may be marginal relative the the intrinsic slowness of the HP-IL devices.

J-F
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (HP71B) Speed experience with Video (EMU71 and Video80 screen) - J-F Garnier - 11-15-2023 04:43 PM



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