1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Okay, so this file format wasn't what I hoped it was. It's another hack. Lots of work to do.

This commit is contained in:
Thomas Harte 2016-11-26 10:19:10 +08:00
parent 7613755f94
commit b180f04c87
2 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,10 @@ std::shared_ptr<Track> OricMFMDSK::get_track_at_position(unsigned int head, unsi
}
fseek(file_, (offset * 6400) + 256, SEEK_SET);
// TODO: upon review, the file format actually seems to omit clock bits. So it's not an MFM capture.
// A consumer must contextually guess when an FB, FC, etc is meant to be a control mark. So turfing
// the data over directly as below isn't correct.
PCMSegment segment;
segment.number_of_bits = 6250*8;
segment.data.resize(6250);

View File

@ -16,7 +16,7 @@ namespace Storage {
namespace Disk {
/*!
Provies a @c Disk containing an Oric MFM-stype disk image an MFM bit stream.
Provies a @c Disk containing an Oric MFM-stype disk image a stream of the MFM data bits with clocks omitted.
*/
class OricMFMDSK: public Disk, public Storage::FileHolder {
public: