mirror of
https://github.com/paulhagstrom/dsk2po.git
synced 2024-12-23 07:29:42 +00:00
Add po2dsk
This commit is contained in:
parent
57658950f7
commit
742aa4b901
10
README.md
10
README.md
@ -6,15 +6,19 @@ into those of a .po (ProDOS-order) file. Most Apple II emulators can handle bot
|
|||||||
but certain utilities (with which I wanted to use existing .dsk images) assume
|
but certain utilities (with which I wanted to use existing .dsk images) assume
|
||||||
ProDOS-ordered files.
|
ProDOS-ordered files.
|
||||||
|
|
||||||
Usage is just (assuming you've done chmod 755 dsk2po.py, else precede with python command):
|
Usage is just (assuming you've done `chmod 755 dsk2po.py`, else precede with python command):
|
||||||
|
|
||||||
./dsk2po.py image.dsk
|
./dsk2po.py image.dsk
|
||||||
|
|
||||||
This will create image.dsk.po alongside it. Pretty much no checking is done.
|
This will create image.dsk.po alongside it. Pretty much no checking is done.
|
||||||
It just goes through 35 tracks and converts them, then ends.
|
It just goes through 35 tracks and converts them, then ends.
|
||||||
|
|
||||||
This can be used as an action for find, like so:
|
This can be used as an action for find, like so:
|
||||||
|
|
||||||
find imagefolders/\*/\*.dsk -exec ./dsk2po.py {} \;
|
find imagefolders/\*/\*.dsk -exec ./dsk2po.py {} \;
|
||||||
|
|
||||||
...which was mostly the point.
|
...which was mostly the point.
|
||||||
|
|
||||||
|
You can also go the opposite direction:
|
||||||
|
|
||||||
|
./po2dsk.py image.po
|
||||||
|
Loading…
Reference in New Issue
Block a user