apple2_dos33 icon indicating copy to clipboard operation
apple2_dos33 copied to clipboard

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

Open TommyGH opened this issue 6 years ago • 0 comments

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.

TommyGH avatar Oct 12 '17 20:10 TommyGH