Commit Graph

4 Commits

Author SHA1 Message Date
Zellyn Hunter
844ea47435 Re-thread errors through sector marshaling code
I'm still not sure what underlying errors might need to be reported
up, and calling panic in a library was definitely a mistake. (Added a
TODO to supermon.go to remove panics there too.)
2016-11-12 22:31:14 -05:00
Zellyn Hunter
68ee8a493c Refactored towards a better design for sector maps
- Loading a .dsk (or any other file type) should yield a SectorMap
  interface, which reads and writes *physical*
  sectors. (Auto-detection of sector mapping will come later.)
- The various filesystem packages (dos33, supermon, etc.) are
  responsible for logical sector mapping.
- The weird part about this is that .dsk images are already mapped to
  dos33 logical sector order, so they have to be un-mapped, then
  re-mapped by the dos33 package. It's still cleaner that way.
2016-11-12 22:15:45 -05:00
Zellyn Hunter
fe96da5d48 Add initial support for dos33 disk .dsk files 2016-11-07 22:09:17 -05:00
Zellyn Hunter
9ac6ab5962 Working on dos 3.3 data structures 2016-10-31 23:00:56 -04:00