Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not converting disk images created with CiderPress or AppleCommander #7

Open
nerun opened this issue Aug 11, 2024 · 0 comments
Open

Comments

@nerun
Copy link

nerun commented Aug 11, 2024

Running Python 3.12.4.

  1. Create a ProDOS disk with CiderPress 4.1.1 or AppleCommander 1.9.0
  2. Execute: ./po2dsk.py test.po
  3. Check in Linux with command "file":
$ file test*                         
test.dsk: Apple ProDOS Image, Volume /NEW.DISK, 280 Blocks
test.po:  Apple ProDOS Image, Volume /NEW.DISK, 280 Blocks

Both files are still ProDOS, but they are different:

$ sha1sum test*
aa6797610379f37f66c34680429802dc50e1bc40  test.dsk
3b03054b88b2d4b7bde1db247476e6511c605798  test.po

Addendum

I decided to test with CiderPress 2 command line utility for Linux to list content and check both files:

$ ./cp2 v test.po   
File: test.po
Disk image (Unadorned, order=pdos/blk) - 140KB ProDOS "NEWDISK", 273 blocks free
Type Auxtyp Modified          Length  Storage *Name                             
---- ------ --------------- -------- -------- ----------------------------------

$ ./cp2 v test.dsk
File: test.dsk
Disk image (Unadorned, order=dos/sect) - 140KB ProDOS "NEWDISK", 273 blocks free
Type Auxtyp Modified          Length  Storage *Name                             
---- ------ --------------- -------- -------- ----------------------------------

We can see here that conversion is PARTIAL. Disk is now order=dos/sect, but it's still ProDOS "NEWDISK", 273 blocks free as you can see.

Here a test in a DOS ordered disk:

$ ./cp2/cp2 v test.dsk           
File: test.dsk
Disk image (Unadorned, order=dos/sect) - 140KB DOS 3.3 Vol 254, 528 sectors free
Type Auxtyp Modified          Length  Storage *Name                             
---- ------ --------------- -------- -------- ----------------------------------

Info after 140KB is different: DOS 3.3 Vol 254, 528 sectors free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant