Skip to content
/ spf Public

Stress ProDOS Filesystem (SPF) - exercises for ProDOS and SOS

Notifications You must be signed in to change notification settings

ADTPro/spf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPF - Stress ProDOS Filesystem

The purpose of SPF is simple: to stress-test the ProDOS filesystem. It can do that in two ways:

  • Writes, reads and verifies every byte of a volume
  • Benchmarks the time to read and write files and complete volume block-by-block reads

SPF comes on a virtual disk image that can be reconstituted to a physical floppy via ADTPro, or mounted as a virtual floppy disk image on the CFFA3000. The disk a bootable ProDOS volume, and will start up with a simple menu that lets you either start SPF, or quit to Applesoft BASIC.

Timing Functionality

SPF has the ability to do some rough timing calculations for what might loosely be termed "benchmarking." An internal clock on the Apple side is required for this functionality to be enabled. Supported clock protocols include:

  1. IIgs built-in clock
  2. NoSlotClock
  3. Thunderclock
  4. ROMX family

The reason why SPF can't/doesn't use the built-in ProDOS clock interface is it only gives information to the minute resolution - and we need seconds. (More resolution would be nice, but seconds seems to be the best we can hope for in the universe of Apple II clocks.) SPF has a compatibility layer that can identify and use various clocks and their particular protocols.

Additional slot-based clocks (such as the Thunderclock) can be added as long as firmware can be detectected and the time-getting routine is added. All clock functionality is implemented in src/prodos/gettime.asm.

About

Stress ProDOS Filesystem (SPF) - exercises for ProDOS and SOS

Resources

Stars

Watchers

Forks

Packages

No packages published