Skip to content

Correct extended DSK signature#2530

Merged
suborb merged 2 commits intoz88dk:masterfrom
damieng:patch-1
May 9, 2024
Merged

Correct extended DSK signature#2530
suborb merged 2 commits intoz88dk:masterfrom
damieng:patch-1

Conversation

@damieng
Copy link
Copy Markdown
Contributor

@damieng damieng commented May 9, 2024

The disk signature for generated .dsk files is slightly incorrect causing the image to not be loadable into various tools such as Spectaculator and Disk Image Manager.

The spec at https://www.cpcwiki.eu/index.php/Format:DSK_disk_image_file_format indicates that offset 00 should include the sequence:

"EXTENDED CPC DSK File\r\nDisk-Info\r\n"

Unfortunately it is generated with the wrong case right now as the word File has been capitalized. Manually editing the signature in generated disk images indicated the image is otherwise correct.

@suborb suborb merged commit 811d541 into z88dk:master May 9, 2024
@suborb
Copy link
Copy Markdown
Member

suborb commented May 9, 2024

Good spot, thank you.

@damieng damieng deleted the patch-1 branch May 10, 2024 06:10
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

Successfully merging this pull request may close these issues.

2 participants