cmoore@space.mit.edu (Christopher B. Moore) (08/25/90)
I'm new to the hp48 world and I'm having trouble downloading programs from ASCII files to the calculator. The file I'm trying at the moment is of Eric Postpischil's timekeeping program. The file begins with the following few lines: CDP @ Clock Data Put CRC #AF13h 52.5 @ %%HP: T(2); \<< \-> V L \<< 'CLKDAT' L V PUT \>> \>> CDG @ Clock Data Get CRC #4B28h 29.5 @ %%HP: T(2); \<< 'CLKDAT' SWAP GET \>> PA @ PreAmble CRC #D892h 56 @ %%HP: T(2); \<< RCLF 64 STWS 2 CDG TICKS 1 CDG - OVER - B\->R \>> ... I'm setting ASCII mode and then using the calculator as a server. The transfer aborts with a 'SYNTAX ERROR' right at the beginning. From the looks of things, the \<< codes were not being translated. If I change the %%HP: T(2) lines to %%HP: T(3), things work until it gets confused and gives a syntax error at the last line shown above. This time it looks like it is trying to interpret the %%HP: T(3) line as a command of some sort.... What am I doing wrong? Thank you for your assistance, Christopher Moore cmoore@space.mit.edu
vervalin@AUSTIN.LOCKHEED.COM (Paul Vervalin) (08/25/90)
In article <1990Aug25.065759.28079@mintaka.lcs.mit.edu>, cmoore@space.mit.edu (Christopher B. Moore) writes: > I'm new to the hp48 world and I'm having trouble downloading programs > from ASCII files to the calculator. The file I'm trying at the moment > is of Eric Postpischil's timekeeping program. > I think the problem is that there is more than one %%HP: T(3) in the file that you are trying to send. Try breaking the file into indivual files, each one having a separate %%HP: T(3) at the top. Gook Luck. _______ ********************************* +------+ / _____ \ * * |+----+|]-+ || || +-----------+ * Paul Vervalin * ||HP48|| | || || | | * * |+----+| | ||_____|| +-[| THE WORLD | * vervalin@AUSTIN.LOCKHEED.COM * |......| | \_______/ | | | * * |......| | +---------+ | +-----------+ * * |......| +-[| AMIGA |]-+ ********************************* +------+ +---------+
edp@jareth.enet.dec.com (Eric Postpischil (Always mount a scratch monkey.)) (08/26/90)
When I wrote the timekeeping routines and submitted them to the net, I did not have the cable, so I just typed in the routines and prefaced each with what I figured was the necessary %%HP line. You should not send all the entire text of my posting to the 48; the lines that have the name of the function just tell you what the routine is. Send each object individually -- just the lines from the %%HP to the end of the object. If you still have trouble, let me know. I have the cable now, and I will upload the timekeeping routines and post them again as one directory object, so you can download the whole thing with minimal editing. -- edp
jurjen@cwi.nl (Jurjen NE Bos) (08/27/90)
cmoore@space.mit.edu (Christopher B. Moore) writes: >I'm new to the hp48 world and I'm having trouble downloading programs >from ASCII files to the calculator. The file I'm trying at the moment >is of Eric Postpischil's timekeeping program. The file begins with the >following few lines: >CDP @ Clock Data Put CRC #AF13h 52.5 @ >%%HP: T(2); >\<< \-> V L \<< 'CLKDAT' L V PUT \>> \>> >I'm setting ASCII mode and then using the calculator as a server. The transfer >aborts with a 'SYNTAX ERROR' right at the beginning. From the looks of things, It is not supposed to be downloaded as a single file. Interpret it as <Filename> <File, beginning with %%HP, until closing delimiter> <Next filename> and so on. -- | | "Never imagine yourself not to be otherwise than what | | Jurjen N.E. Bos | it might appear to others that what you were or might | | | have been was not otherwise than what you had been | | jurjen@cwi.nl | would have appeared to them to be otherwise." |