1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-03 23:52:28 +00:00
CLK/Storage/Disk/Encodings/AppleGCR/SegmentParser.hpp

24 lines
525 B
C++
Raw Normal View History

//
// SegmentParser.hpp
// Clock Signal
//
// Created by Thomas Harte on 04/05/2018.
// Copyright 2018 Thomas Harte. All rights reserved.
//
#pragma once
#include "Sector.hpp"
#include "../../Track/PCMSegment.hpp"
#include <map>
2023-05-10 21:02:18 +00:00
namespace Storage::Encodings::AppleGCR {
/*!
Scans @c segment for all included sectors, returning a set that maps from location within
the segment (counted in bits from the beginning) to sector.
*/
2019-07-11 20:28:52 +00:00
std::map<std::size_t, Sector> sectors_from_segment(const Disk::PCMSegment &segment);
}