Refactor disk layout information out of ImgReaderWriterProto into a new

top-level config paragraph.
This commit is contained in:
David Given
2022-08-25 22:51:26 +02:00
parent e733dc90d8
commit 1dd94a7d82
49 changed files with 883 additions and 1458 deletions

View File

@@ -1,96 +1,7 @@
image_reader {
img {
tracks: 80
sides: 1
trackdata {
sector_size: 524
sector_range {
start_sector: 0
}
}
trackdata {
track: 0
up_to_track: 15
sector_range {
sector_count: 12
}
}
trackdata {
track: 16
up_to_track: 31
sector_range {
sector_count: 11
}
}
trackdata {
track: 32
up_to_track: 47
sector_range {
sector_count: 10
}
}
trackdata {
track: 48
up_to_track: 63
sector_range {
sector_count: 9
}
}
trackdata {
track: 64
up_to_track: 79
sector_range {
sector_count: 8
}
}
}
img {}
}
image_writer {
img {
tracks: 80
sides: 1
trackdata {
sector_size: 524
sector_range {
start_sector: 0
}
}
trackdata {
track: 0
up_to_track: 15
sector_range {
sector_count: 12
}
}
trackdata {
track: 16
up_to_track: 31
sector_range {
sector_count: 11
}
}
trackdata {
track: 32
up_to_track: 47
sector_range {
sector_count: 10
}
}
trackdata {
track: 48
up_to_track: 63
sector_range {
sector_count: 9
}
}
trackdata {
track: 64
up_to_track: 79
sector_range {
sector_count: 8
}
}
}
img {}
}

View File

@@ -1,97 +1,9 @@
image_reader {
img {
tracks: 80
sides: 2
trackdata {
sector_size: 524
sector_range {
start_sector: 0
}
}
trackdata {
track: 0
up_to_track: 15
sector_range {
sector_count: 12
}
}
trackdata {
track: 16
up_to_track: 31
sector_range {
sector_count: 11
}
}
trackdata {
track: 32
up_to_track: 47
sector_range {
sector_count: 10
}
}
trackdata {
track: 48
up_to_track: 63
sector_range {
sector_count: 9
}
}
trackdata {
track: 64
up_to_track: 79
sector_range {
sector_count: 8
}
}
}
img {}
}
image_writer {
img {
tracks: 80
sides: 2
trackdata {
sector_size: 524
sector_range {
start_sector: 0
}
}
trackdata {
track: 0
up_to_track: 15
sector_range {
sector_count: 12
}
}
trackdata {
track: 16
up_to_track: 31
sector_range {
sector_count: 11
}
}
trackdata {
track: 32
up_to_track: 47
sector_range {
sector_count: 10
}
}
trackdata {
track: 48
up_to_track: 63
sector_range {
sector_count: 9
}
}
trackdata {
track: 64
up_to_track: 79
sector_range {
sector_count: 8
}
}
}
img {}
}