;; - 40 track single sided disc drive ONLY
;; - Vendor and Data formats ONLY
;;
;; Comment Nworc, 23.02.2022:
;; This code is useful as a learning experience, but be careful not to use it in a productive environment, because
;; the formatting routine formats the sectors consecutively (e.g. C1 C2 C3 C4 ... for Data format). While this works,
;; read and write performance is poor on a disk with such a format, as the disk needs to spin 9 times to write a full
;; track instead of just 2 turns if the format would be interleaved. The format_track method need be changed to produce
;; an interleaved format (e.g. C1 C6 C2 C7 ... for Data format) in order to fix this. Changing that is a nice exercise.
org &2000