Incorrect dates?
Hello! I extracted some files from Total Replay using CADIUS EXTRACTFILE, and for some reason the dates are showing up as 100 years off.
MacOS Sequoia 15.0.1. Cadius installed via Homebrew.
Just commentary here - ProDOS technically has only 2 digit dates, in a 7-bit field. There are a couple ways to encode dates over 1999 in common use:
- Encode/decode values 100-127 as 2000-2027.
- Follow ProDOS 8 Technical Note #28 and encode/decode values 00-39 as 2000-2039.
Decoding using both approaches simultaneously should be harmless (i.e. translate 124 to 2024, and also translate 24 to 2024). But I would refrain from encoding using the former, since a value > 99 may result in the "19100" problem for tools that were not tested beyond 1999, and erroneously giving a year of 1924 is probably better than a crash or latent data corruption.