4DQSAR
Bluelighter
- Joined
- Feb 3, 2025
- Messages
- 793
I'm old enough to recall floppy discs. Due to how they work, each 4-bit symbol had to be encoded into a 5-bit symbol due to a simple rule:
-No symbol can have more than two consecutive 0 bits.
There were a number of approaches but broadly they fell into GCR (as explained above) or the brute-force method (MFM) of simply taking each symbol, performing an XOR on all the bits and interleaving the result of the two. So while GCR converted four bits to five, MFM DOUBLED the amount of data stored.
I later learnt that someone had figured out that in fact the hardware worked with three 0 bits in a row and someone came up with what was termed ans 8.3 format i.e. eight bits could be encoded as eleven bits while ensuring no more than three 0 bits occurred in a row.
Now, I had to write down EVERY symbol to check that this was indeed prectical - but isn't their a simple function that would provide for any run-length of any symbol(s) as a limit?
Sorry if I haven't explained this well. I had a C64 and am told it will indeed support 8.3 but I'm uncertain if my longhand method is reliable.
-No symbol can have more than two consecutive 0 bits.
There were a number of approaches but broadly they fell into GCR (as explained above) or the brute-force method (MFM) of simply taking each symbol, performing an XOR on all the bits and interleaving the result of the two. So while GCR converted four bits to five, MFM DOUBLED the amount of data stored.
I later learnt that someone had figured out that in fact the hardware worked with three 0 bits in a row and someone came up with what was termed ans 8.3 format i.e. eight bits could be encoded as eleven bits while ensuring no more than three 0 bits occurred in a row.
Now, I had to write down EVERY symbol to check that this was indeed prectical - but isn't their a simple function that would provide for any run-length of any symbol(s) as a limit?
Sorry if I haven't explained this well. I had a C64 and am told it will indeed support 8.3 but I'm uncertain if my longhand method is reliable.