mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Adding IBM PC 8-sector formats
This commit is contained in:
2
Makefile
2
Makefile
@@ -198,6 +198,8 @@ $(call do-encodedecodetest,ibm1200)
|
||||
$(call do-encodedecodetest,ibm1232)
|
||||
$(call do-encodedecodetest,ibm1440)
|
||||
$(call do-encodedecodetest,ibm180)
|
||||
$(call do-encodedecodetest,ibm160)
|
||||
$(call do-encodedecodetest,ibm320)
|
||||
$(call do-encodedecodetest,ibm360)
|
||||
$(call do-encodedecodetest,ibm720)
|
||||
$(call do-encodedecodetest,mac400,scripts/mac400_test.textpb)
|
||||
|
||||
@@ -46,7 +46,9 @@ FORMATS = \
|
||||
ibm1232 \
|
||||
ibm1440 \
|
||||
ibm180 \
|
||||
ibm160 \
|
||||
ibm360 \
|
||||
ibm320 \
|
||||
ibm720 \
|
||||
icl30 \
|
||||
mac400 \
|
||||
|
||||
48
src/formats/ibm160.textpb
Normal file
48
src/formats/ibm160.textpb
Normal file
@@ -0,0 +1,48 @@
|
||||
comment: 'PC 160kB 5.25" 40-track 8-sector SSDD'
|
||||
|
||||
image_reader {
|
||||
filename: "ibm160.img"
|
||||
type: IMG
|
||||
}
|
||||
|
||||
image_writer {
|
||||
filename: "ibm160.img"
|
||||
type: IMG
|
||||
}
|
||||
|
||||
layout {
|
||||
tracks: 40
|
||||
sides: 1
|
||||
layoutdata {
|
||||
sector_size: 512
|
||||
physical {
|
||||
start_sector: 1
|
||||
count: 8
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
encoder {
|
||||
ibm {
|
||||
trackdata {
|
||||
target_rotational_period_ms: 167
|
||||
target_clock_period_us: 3.333
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
decoder {
|
||||
ibm {}
|
||||
}
|
||||
|
||||
drive {
|
||||
high_density: false
|
||||
}
|
||||
|
||||
tpi: 48
|
||||
|
||||
filesystem {
|
||||
type: FATFS
|
||||
}
|
||||
|
||||
|
||||
44
src/formats/ibm320.textpb
Normal file
44
src/formats/ibm320.textpb
Normal file
@@ -0,0 +1,44 @@
|
||||
comment: 'PC 320kB 5.25" 40-track 8-sector DSDD'
|
||||
|
||||
image_reader {
|
||||
filename: "ibm320.img"
|
||||
type: IMG
|
||||
}
|
||||
|
||||
image_writer {
|
||||
filename: "ibm320.img"
|
||||
type: IMG
|
||||
}
|
||||
|
||||
layout {
|
||||
tracks: 40
|
||||
sides: 2
|
||||
layoutdata {
|
||||
sector_size: 512
|
||||
physical {
|
||||
start_sector: 1
|
||||
count: 8
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
encoder {
|
||||
ibm {
|
||||
trackdata {
|
||||
target_rotational_period_ms: 167
|
||||
target_clock_period_us: 3.333
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
decoder {
|
||||
ibm {}
|
||||
}
|
||||
|
||||
tpi: 48
|
||||
|
||||
filesystem {
|
||||
type: FATFS
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user