Menu

#44 Reading PRG files of file sizes 1 or 2 produces extra bytes

uncategorized
closed
Womo
cbmcopy (1)
4
2020-06-26
2011-05-13
Womo
No

Reading PRG files of file sizes 1 or 2 produces with e.g. "cbmcopy -@xum1541 -v -r 9 file-1-byte" (PRG file) creates a file of size 4 on the host side. Beside the single byte contained within the PRG file, the bytes 0x00 0x02 and then again the first byte are appended.

Currently only PRG files were tested, no investigations were done, if this also happens with SEQ files or what's the result, when a PRG file is opened as SEQ file or read by using other parameters changed (alternative secondary address or so).

Presumably this bug has something to do with PRG load addresses. On the other side, writing such 1-byte files or 2-byte files from the host to disk does work fine as verified with a d64copy dump and checking the contents with a HEX editor.

Discussion

  • Spiro Trikaliotis

    • Group: --> uncategorized
     
  • Spiro Trikaliotis

    • status: open --> closed
    • discussion: enabled --> disabled
     
MongoDB Logo MongoDB