Re: HPIB bus commands

From: Larry Mollica (
Date: 2004-04-20 02:36:42

At 2:41 PM -0400 4/19/04, Greg King wrote:
>You can put any eight-bit number into a string-expression by using the
>CHR$() function.
>OPEN 6, 27, 0, CHR$(1): CLOSE 6

Eh, yeah I had that in the back of my mind, but for some reason was 
probably thinking the OPEN statement might be a special case or 
something. Don't know what exactly I was thinking, actually.

This will be a neat trick if it works, can't wait to try it.

>But, I see another problem:  different sets of character-codes.  The CBM
>uses PETSCII, while HP's devices use ASCII.  So, your BASIC programs must
>translate letters.

Already familiar with that mess, though it's something I've not had 
to deal with for twenty years.

Thanks all,

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.