[comp.sys.handhelds] Programming request

edp@jareth.enet.dec.com (Always mount a scratch monkey.) (10/24/90)

I've got a problem for the HP-48 hackers (or for HP).  I'm using C-Kermit on
VMS, and I haven't been able to send a binary object from the 48 to VMS and
back.  My guess is that VMS always sends an object with a multiple of 512
bytes, the block size it uses for binary files.  The HP-48 doesn't like this
and makes the received object into a string.

So here is the challenge:  Write an HP-48 program that takes the string,
truncates the garbage at the end, and makes it into the appropriate binary
object.  Is there sufficient information in the string to do this --
particularly to determine the proper length? 


				-- edp (Eric Postpischil)
				"Always mount a scratch monkey."
				edp@jareth.enet.dec.com

ibrodie@untadi.dec.com (Iain Brodie) (10/25/90)

    edp - after your speedy and helpful assistance with VAX <-> HP-48SX
    transfers I was hoping I could help with the binary transfer problem.
    So far no luck though.

    I downloaded MSHOW, Jeff Kuhn's  Mandelbrot pattern sampler, using VMS
    C-Kermit. The byte count on the VAX was 82. The HP made it a string
    object. BYTES said 87. The +5 seems usual for a string; "ABC" gives 8.

    Hence I don't think C-Kermit is sending too many bytes. There must be
    some other reason for the HP making it a string.

    Iain.

Iain Brodie      iain.brodie@unt.mts.dec.com