Is PACK on the HP-71 buggy?
|
08-06-2014, 04:16 AM
Post: #9
|
|||
|
|||
RE: Is PACK on the HP-71 buggy?
(07-15-2014 06:13 PM)rprosperi Wrote: Probably the worst case scenario is packing a volume whose directory has only 1 or 2 open slots. The bogus entries might conceivably get written past the end of the directory table and into the file data area? Turns out you're exactly right. The INDX89 swap disk (in the MoHPC ftp archive) has 0 free directory entries, which means its file contents begin immediately after the end of the directory. Performing a PACKDIR on INDX89 destroys the contents of the first file on the disk, namely NOTICE71 (a notice from Mark Cracknell, 1 March 1989, forbidding commercial use of the disk) by overwriting its first 256 bytes with garbage. If the file is then copied into an HP-71, attempting to print it can cause a crash. Furthermore, if PACK is used (instead of PACKDIR) on INDX89, the PACK operation bombs out before finishing, possibly resulting in loss of the entire disk's contents. Bottom line: Don't use the HP-71's PACK or PACKDIR unless (a) you can see with a hex editor that there is at least one entire free record (256 bytes) between the last directory entry and the beginning of the contents of the first file, and (b) you will NEVER afterwards add anything to the medium using the HP-41 HP-IL module. Otherwise data loss will occur. <0|ΙΈ|0> -Joe- |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Is PACK on the HP-71 buggy? - Joe Horn - 07-14-2014, 11:11 PM
RE: Is PACK on the HP-71 buggy? - Dave Frederickson - 07-14-2014, 11:27 PM
RE: Is PACK on the HP-71 buggy? - Joe Horn - 07-15-2014, 12:46 AM
RE: Is PACK on the HP-71 buggy? - rprosperi - 07-15-2014, 06:13 PM
RE: Is PACK on the HP-71 buggy? - Tim Wessman - 07-15-2014, 09:01 PM
RE: Is PACK on the HP-71 buggy? - Dave Frederickson - 07-15-2014, 10:52 PM
RE: Is PACK on the HP-71 buggy? - rprosperi - 07-16-2014, 12:58 AM
RE: Is PACK on the HP-71 buggy? - rprosperi - 07-16-2014, 12:53 AM
RE: Is PACK on the HP-71 buggy? - Joe Horn - 08-06-2014 04:16 AM
RE: Is PACK on the HP-71 buggy? - rprosperi - 08-06-2014, 01:23 PM
RE: Is PACK on the HP-71 buggy? - Joe Horn - 08-07-2014, 03:41 AM
RE: Is PACK on the HP-71 buggy? - rprosperi - 08-06-2014, 06:42 PM
RE: Is PACK on the HP-71 buggy? - Dave Frederickson - 08-06-2014, 08:21 PM
RE: Is PACK on the HP-71 buggy? - rprosperi - 08-07-2014, 12:40 AM
|
User(s) browsing this thread: 1 Guest(s)