Post Reply 
[go67/97 for Android] Creating .pck files in a text editor?
08-08-2015, 07:02 PM
Post: #8
RE: [go67/97 for Android] Creating .pck files in a text editor?
(08-08-2015 06:51 PM)Bill (Smithville NJ) Wrote:  I've spent a little time reviewing the layout of the PCK file and think I have it all figured out with the exception of the "Header Record" - the first record of the data stream. From reading the HP-67 manual and a HP Digest article, I see that the 28 bit record stores the data on whether it's one or two sided, data or program, status of Flags, status of Trig Mode, display format, etc. But I haven't found any reference to how the bits are stored and what each bit means.

And the Emulator may also be storing some data in this header.

Does anyone knows the format of the Header Record that is stored on a Card?

With that info, I could then create a program to read the PCK file to generate a text file program listing, and vise versa.

As I just suggested to you in our emails, I am learning that a program that not only translates the program steps to hex code but also generates the correct checksum is necessary. I tried to fiddle with Olivier's provided .pck files myself, or with my own generated files of very simple programs, and found quickly that if I edit the hex code directly, translating manually according to the key in the PPC journal, trying to use the revised card in the emulator throws an error--presumably because the old checksum doesn't match my changes.

As I admitted to you, I probably don't really understand the basics of a checksum in this context...

Les
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [go67/97 for Android] Creating .pck files in a text editor? - lcwright1964 - 08-08-2015 07:02 PM



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