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

Catalog update not flushed #119

Closed
tomcw opened this issue May 23, 2014 · 3 comments
Closed

Catalog update not flushed #119

tomcw opened this issue May 23, 2014 · 3 comments

Comments

@tomcw
Copy link
Contributor

tomcw commented May 23, 2014

BerliOS Bug #17456

Date: 2010-August-23 01:35
Submitted By: dmolony
Category: 1.17.2
Bug Group: Future request
Assigned To: none
Priority: 5

When changing a file (say, writing a Basic program), the file's data sectors appear to be written and flushed immediately after the SAVE command. However if the file size increases and and extra data sector is written, the Sector Count change is written to the catalog but it is not flushed.

Similarly, if I create a (very small) new program in AppleWin and save it, the catalog is written (and flushed) with a sector count = 1, then the sector count is increased to 2 but the change is not flushed to the disk. Presumably the catalog sector is flushed after the T/S sector is added, but not after the data sector is added.

Note that this doesn't have any effect within AppleWin, you will only notice it if you are using a Disk Browser to view the files at the same time as you make the changes to the disk image. But it makes my DiskBrowser program appear to be broken.

I would also guess that if AppleWin crashes for some reason, you will be leaving a corrupted disk image behind.

@tomcw
Copy link
Contributor Author

tomcw commented May 23, 2014

[2010-August-23 01:59, by: dmolony]

I just checked it under 1.18.2 - same problem.

Also, any changes to the Free Space Table in the VTOC are not being flushed either.

I should also add that I am testing this on a DOS3.3 disk image.

@tomcw
Copy link
Contributor Author

tomcw commented Feb 5, 2019

@dmolony - Is this the same as #73?
EG. use Swap Disk button to flush the dirty track image to the Windows file.
NB. #73 was fixed by #543.

@tomcw tomcw added the Won't fix label Apr 6, 2019
@tomcw
Copy link
Contributor Author

tomcw commented Apr 6, 2019

Closing old issue.

@tomcw tomcw closed this as completed Apr 6, 2019
markjfisher pushed a commit to markjfisher/AppleWin that referenced this issue Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant