mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Consolidate (and typo fix) the ampro format.
This commit is contained in:
@@ -19,13 +19,15 @@ Reading discs
|
|||||||
Just do:
|
Just do:
|
||||||
|
|
||||||
```
|
```
|
||||||
fluxengine read ampro400
|
fluxengine read ampro <format>
|
||||||
```
|
```
|
||||||
|
|
||||||
You should end up with an `ampro.img` which is 409600. If you have a
|
...where `<format>` is one of `--400` for a 40-track disk or `--800` for an
|
||||||
double-sided disk, use `ampro800`, which will give you a file819200 bytes long.
|
80-track disk. These are an alias for `fluxengine read ibm` with preconfigured
|
||||||
These is an alias for `fluxengine read ibm` with preconfigured parameters. You
|
parameters.
|
||||||
can pass this straight into [cpmtools](http://www.moria.de/~michael/cpmtools/):
|
|
||||||
|
FluxEngine has direct filesystem support for these disks, or you can pass the
|
||||||
|
disk images into [cpmtools](http://www.moria.de/~michael/cpmtools/):
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cpmls -f ampdsdd ampro.img
|
$ cpmls -f ampdsdd ampro.img
|
||||||
|
|||||||
58
src/formats/ampro.textpb
Normal file
58
src/formats/ampro.textpb
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
comment: 'Ampro 5.25" family'
|
||||||
|
|
||||||
|
image_writer {
|
||||||
|
filename: "ampro.img"
|
||||||
|
type: IMG
|
||||||
|
}
|
||||||
|
|
||||||
|
layout {
|
||||||
|
sides: 2
|
||||||
|
layoutdata {
|
||||||
|
sector_size: 1024
|
||||||
|
physical {
|
||||||
|
start_sector: 17
|
||||||
|
count: 5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
decoder {
|
||||||
|
ibm {}
|
||||||
|
}
|
||||||
|
|
||||||
|
filesystem {
|
||||||
|
type: CPMFS
|
||||||
|
cpmfs {
|
||||||
|
filesystem_start {
|
||||||
|
track: 1
|
||||||
|
}
|
||||||
|
block_size: 2048
|
||||||
|
dir_entries: 128
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
option_group {
|
||||||
|
comment: "Format variant"
|
||||||
|
|
||||||
|
option {
|
||||||
|
name: "400"
|
||||||
|
comment: "400kB 40-track DSDD"
|
||||||
|
|
||||||
|
config {
|
||||||
|
layout {
|
||||||
|
tracks: 40
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
option {
|
||||||
|
name: "800"
|
||||||
|
comment: "800kB 80-track DSDD"
|
||||||
|
|
||||||
|
config {
|
||||||
|
layout {
|
||||||
|
tracks: 80
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
comment: 'Ampro 400kB/800kB 5.25" 40/80 track SSDD/DSDD (ro)'
|
|
||||||
|
|
||||||
image_writer {
|
|
||||||
filename: "ampro.img"
|
|
||||||
type: IMG
|
|
||||||
}
|
|
||||||
|
|
||||||
layout {
|
|
||||||
tracks: 80
|
|
||||||
sides: 1
|
|
||||||
layoutdata {
|
|
||||||
sector_size: 1024
|
|
||||||
physical {
|
|
||||||
start_sector: 17
|
|
||||||
count: 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
decoder {
|
|
||||||
ibm {}
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
comment: 'Ampro 400kB/800kB 5.25" 40/80 track SSDD/DSDD (ro)'
|
|
||||||
|
|
||||||
image_writer {
|
|
||||||
filename: "ampro.img"
|
|
||||||
type: IMG
|
|
||||||
}
|
|
||||||
|
|
||||||
layout {
|
|
||||||
tracks: 80
|
|
||||||
sides: 2
|
|
||||||
layoutdata {
|
|
||||||
sector_size: 1024
|
|
||||||
physical {
|
|
||||||
start_sector: 17
|
|
||||||
count: 5
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
decoder {
|
|
||||||
ibm {}
|
|
||||||
}
|
|
||||||
@@ -5,8 +5,7 @@ FORMATS = \
|
|||||||
aeslanier \
|
aeslanier \
|
||||||
agat840 \
|
agat840 \
|
||||||
amiga \
|
amiga \
|
||||||
ampro400 \
|
ampro \
|
||||||
ampro800 \
|
|
||||||
apple2_drive \
|
apple2_drive \
|
||||||
apple2 \
|
apple2 \
|
||||||
atarist \
|
atarist \
|
||||||
|
|||||||
Reference in New Issue
Block a user