mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Overhaul the TPI stuff; now both the drive and the layout have a TPI setting,
which must be set.
This commit is contained in:
@@ -27,7 +27,12 @@ static void load_config(const std::string s)
|
||||
static void test_physical_sectors()
|
||||
{
|
||||
load_config(R"M(
|
||||
drive {
|
||||
tpi: 96
|
||||
}
|
||||
|
||||
layout {
|
||||
tpi: 96
|
||||
tracks: 78
|
||||
sides: 2
|
||||
layoutdata {
|
||||
@@ -54,7 +59,12 @@ static void test_physical_sectors()
|
||||
static void test_logical_sectors()
|
||||
{
|
||||
load_config(R"M(
|
||||
drive {
|
||||
tpi: 96
|
||||
}
|
||||
|
||||
layout {
|
||||
tpi: 96
|
||||
tracks: 78
|
||||
sides: 2
|
||||
layoutdata {
|
||||
@@ -87,7 +97,12 @@ static void test_logical_sectors()
|
||||
static void test_both_sectors()
|
||||
{
|
||||
load_config(R"M(
|
||||
drive {
|
||||
tpi: 96
|
||||
}
|
||||
|
||||
layout {
|
||||
tpi: 96
|
||||
tracks: 78
|
||||
sides: 2
|
||||
layoutdata {
|
||||
@@ -120,7 +135,12 @@ static void test_both_sectors()
|
||||
static void test_skew()
|
||||
{
|
||||
load_config(R"M(
|
||||
drive {
|
||||
tpi: 96
|
||||
}
|
||||
|
||||
layout {
|
||||
tpi: 96
|
||||
tracks: 78
|
||||
sides: 2
|
||||
layoutdata {
|
||||
|
||||
Reference in New Issue
Block a user