mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-04-24 13:16:40 +00:00
Fixing bug for 6&2 decoding - was trying to populate the sector as 410 bytes instead of 256.
This commit is contained in:
@@ -70,7 +70,7 @@ public class Nibble62Disk525Codec implements NibbleDiskCodec {
|
||||
// Decode data field
|
||||
DataBuffer sectorData = DataBuffer.create(SECTOR_SIZE);
|
||||
final int[] reverseValues = { 0x0, 0x2, 0x1, 0x3 };
|
||||
for (int i=0; i<RAW_BUFFER_SIZE; i++) {
|
||||
for (int i=0; i<sectorData.limit(); i++) {
|
||||
int b1 = buffer.getUnsignedByte(i);
|
||||
int lowerBits = RAW_BUFFER_SIZE - (i % 86) - 1;
|
||||
int b2 = buffer.getUnsignedByte(lowerBits);
|
||||
|
||||
Reference in New Issue
Block a user