Michaelangel007 / apple2_dos33

Apple ][ DOS 3.3
17 stars 3 forks source link

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

Open TommyGH opened 6 years ago

TommyGH commented 6 years ago

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.