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

Discovery: Excessive reads of VTOC (Volume Table of Contents) #12

Open
TommyGH opened this issue Oct 12, 2017 · 0 comments
Open

Discovery: Excessive reads of VTOC (Volume Table of Contents) #12

TommyGH opened this issue Oct 12, 2017 · 0 comments

Comments

@TommyGH
Copy link

TommyGH commented Oct 12, 2017

I continue to examine DiversiDos changes to DOS3.3 and have discovered an interesting enhancement, which speaks "volumes" about the DOS3.3 poor design.

  1. Boot a DOS3.3 disk (APPLEII+ emulation)
  2. F7

Put a breakpoint at DOS3.3 symbol VTIO ($AFFD). This is the common path for reading and writing the VTOC.

  1. BP AFFD

  2. F7

  3. NEW

  4. 10 PRINT "VTIO TEST"

  5. SAVE VTIOTEST

  6. Count how often the breakpoint is triggered, and each time press F7.

When VTIOTEST is not already on the disk, the VTOC is read/written 7 times.

With DiversiDos there is 1 read and 1 write of the VTOC.

You may want to document this behavior.

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