mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-02 16:04:59 +00:00
39 lines
621 B
C++
39 lines
621 B
C++
|
//
|
||
|
// AppleIIVolume.hpp
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 24/08/2022.
|
||
|
// Copyright © 2022 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef AppleIIVolume_h
|
||
|
#define AppleIIVolume_h
|
||
|
|
||
|
#include "ApplePartitionMap.hpp"
|
||
|
|
||
|
namespace Storage {
|
||
|
namespace MassStorage {
|
||
|
namespace Encodings {
|
||
|
namespace AppleII {
|
||
|
|
||
|
struct VolumeProvider {
|
||
|
static constexpr bool HasDriver = false;
|
||
|
|
||
|
const char *name() const {
|
||
|
return "ProDOS";
|
||
|
}
|
||
|
|
||
|
const char *type() const {
|
||
|
return "Apple_PRODOS";
|
||
|
}
|
||
|
};
|
||
|
|
||
|
using Mapper = Storage::MassStorage::Encodings::Apple::PartitionMap<VolumeProvider>;
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* AppleIIVolume_h */
|