Post Reply 
HP-71 Compu-LS module
03-23-2017, 09:49 PM (This post was last modified: 03-23-2017 09:59 PM by Dave Frederickson.)
Post: #100
RE: HP-71 Compu-LS module
So the answer is no. aLIFhdr does not handle binary file sizes correctly, half the time.

Here's the LIF file header from the LEX file ALPHANUM.
Code:
41 4c 50 48 41 4e 55 4d 20 20 e2 08 00 00 00 02
00 00 00 01 88 08 28 22 03 20 80 01 bf 00 00 00

The last four bytes are the Implementation Bytes and for a binary file these are the file size in nibbles. The bytes are in reverse order so the size is 0xBF, 191 nibbles, or 95.5 bytes. The 71 and DOS round this up to 96 bytes.

I exported the file, using pyILPER and LIFUTILS, then using aLIFhdr created the 32-byte LIF file header.
Code:
41 4c 50 48 41 20 20 20 20 20 e2 08 00 00 00 00 
00 00 00 01 00 00 00 00 00 00 80 01 c0 00 00 00

As you can see the file size has been rounded up to 0xC0, or 192 nibbles. Obviously this is incorrect, but what are the consequences?

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


Messages In This Thread
HP-71 Compu-LS module - twa14 - 03-05-2017, 02:31 PM
RE: HP-71 Compu-LS module - twa14 - 03-06-2017, 11:31 AM
RE: HP-71 Compu-LS module - twa14 - 03-06-2017, 09:48 PM
RE: HP-71 Compu-LS module - twa14 - 03-06-2017, 10:00 PM
RE: HP-71 Compu-LS module - twa14 - 03-07-2017, 10:00 AM
RE: HP-71 Compu-LS module - twa14 - 03-07-2017, 07:28 PM
RE: HP-71 Compu-LS module - twa14 - 03-08-2017, 07:49 AM
RE: HP-71 Compu-LS module - twa14 - 03-08-2017, 08:07 PM
RE: HP-71 Compu-LS module - rprosperi - 03-15-2017, 12:53 AM
RE: HP-71 Compu-LS module - twa14 - 03-11-2017, 11:10 AM
RE: HP-71 Compu-LS module - twa14 - 03-14-2017, 10:16 AM
RE: HP-71 Compu-LS module - rprosperi - 03-16-2017, 12:17 AM
RE: HP-71 Compu-LS module - twa14 - 03-19-2017, 05:13 PM
RE: HP-71 Compu-LS module - Sylvain Cote - 03-19-2017, 07:57 PM
RE: HP-71 Compu-LS module - HP-Collection - 03-19-2017, 08:52 PM
RE: HP-71 Compu-LS module - twa14 - 03-19-2017, 08:52 PM
RE: HP-71 Compu-LS module - rprosperi - 03-19-2017, 11:52 PM
RE: HP-71 Compu-LS module - J-F Garnier - 03-20-2017, 08:13 AM
RE: HP-71 Compu-LS module - rprosperi - 03-20-2017, 01:17 PM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 08:37 AM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 08:54 AM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 12:39 PM
RE: HP-71 Compu-LS module - rprosperi - 03-20-2017, 01:14 PM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 04:28 PM
RE: HP-71 Compu-LS module - rprosperi - 03-20-2017, 05:36 PM
RE: HP-71 Compu-LS module - J-F Garnier - 03-20-2017, 05:53 PM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 08:40 PM
RE: HP-71 Compu-LS module - HP-Collection - 03-20-2017, 09:37 PM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 09:43 PM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 10:52 PM
RE: HP-71 Compu-LS module - twa14 - 03-20-2017, 11:34 PM
RE: HP-71 Compu-LS module - twa14 - 03-21-2017, 07:34 AM
RE: HP-71 Compu-LS module - twa14 - 03-21-2017, 11:23 AM
RE: HP-71 Compu-LS module - rprosperi - 03-21-2017, 01:09 PM
RE: HP-71 Compu-LS module - twa14 - 03-21-2017, 01:22 PM
RE: HP-71 Compu-LS module - J-F Garnier - 03-21-2017, 02:59 PM
RE: HP-71 Compu-LS module - J-F Garnier - 03-21-2017, 03:32 PM
RE: HP-71 Compu-LS module - twa14 - 03-21-2017, 02:23 PM
RE: HP-71 Compu-LS module - rprosperi - 03-21-2017, 02:57 PM
RE: HP-71 Compu-LS module - twa14 - 03-21-2017, 04:25 PM
RE: HP-71 Compu-LS module - twa14 - 03-21-2017, 04:27 PM
RE: HP-71 Compu-LS module - twa14 - 03-21-2017, 06:37 PM
RE: HP-71 Compu-LS module - J-F Garnier - 03-21-2017, 09:22 PM
RE: HP-71 Compu-LS module - J-F Garnier - 03-22-2017, 07:52 AM
RE: HP-71 Compu-LS module - twa14 - 03-22-2017, 07:23 PM
RE: HP-71 Compu-LS module - twa14 - 03-22-2017, 08:46 PM
RE: HP-71 Compu-LS module - twa14 - 03-22-2017, 09:35 PM
RE: HP-71 Compu-LS module - floppy - 10-16-2023, 01:50 PM
RE: HP-71 Compu-LS module - rprosperi - 03-23-2017, 09:13 PM
RE: HP-71 Compu-LS module - rprosperi - 03-23-2017, 09:37 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 11:37 AM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 11:54 AM
RE: HP-71 Compu-LS module - J-F Garnier - 03-23-2017, 01:27 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 01:48 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 02:49 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 02:51 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 03:02 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 05:03 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 06:40 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 08:23 PM
RE: HP-71 Compu-LS module - Dave Frederickson - 03-23-2017 09:49 PM
RE: HP-71 Compu-LS module - rprosperi - 03-23-2017, 10:01 PM
RE: HP-71 Compu-LS module - twa14 - 03-23-2017, 10:06 PM
RE: HP-71 Compu-LS module - rprosperi - 03-23-2017, 11:04 PM
RE: HP-71 Compu-LS module - rprosperi - 03-23-2017, 11:53 PM
RE: HP-71 Compu-LS module - rprosperi - 03-24-2017, 01:47 AM
RE: HP-71 Compu-LS module - rprosperi - 03-24-2017, 02:34 AM
RE: HP-71 Compu-LS module - twa14 - 03-24-2017, 03:21 PM
RE: HP-71 Compu-LS module - twa14 - 03-25-2017, 08:16 PM
RE: HP-71 Compu-LS module - twa14 - 03-25-2017, 09:04 PM
RE: HP-71 Compu-LS module - rprosperi - 03-26-2017, 12:55 AM
RE: HP-71 Compu-LS module - twa14 - 03-26-2017, 09:43 AM
RE: HP-71 Compu-LS module - twa14 - 03-26-2017, 11:51 AM
RE: HP-71 Compu-LS module - rprosperi - 03-26-2017, 04:02 PM
RE: HP-71 Compu-LS module - twa14 - 03-26-2017, 07:07 PM
RE: HP-71 Compu-LS module - floppy - 10-17-2023, 07:59 AM
RE: HP-71 Compu-LS module - hesc - 03-28-2024, 10:26 PM
RE: HP-71 Compu-LS module - rprosperi - 03-29-2024, 01:32 AM
RE: HP-71 Compu-LS module - hesc - 03-29-2024, 09:46 AM
RE: HP-71 Compu-LS module - rprosperi - 03-29-2024, 12:38 PM
RE: HP-71 Compu-LS module - hesc - 03-29-2024, 05:41 PM
RE: HP-71 Compu-LS module - hesc - 03-29-2024, 06:36 PM
RE: HP-71 Compu-LS module - rprosperi - 03-30-2024, 02:37 AM



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