Interface NibbleDiskCodec

All Superinterfaces:
CapabilityProvider
All Known Implementing Classes:
Nibble53Disk525Codec, Nibble62Disk525Codec

public interface NibbleDiskCodec extends CapabilityProvider
Interface for the disk nibbilization routines.
  • Method Details

    • encodedSize

      int encodedSize()
      Number of bytes in the raw (encoded) buffer.
    • decodedSize

      int decodedSize()
      Number of bytes in the decoded buffer. For Disk II devices, this is 256 bytes.
    • decode

      DataBuffer decode(DataBuffer rawData)
      Decode the buffer from the raw disk bytes to actual data.
    • encode

      DataBuffer encode(DataBuffer data)
      Encode the data buffer into disk bytes.
    • readTranslateTable

      int[] readTranslateTable()
      The read translation table.
    • writeTranslateTable

      int[] writeTranslateTable()
      The write translation table.