Commit Graph

39 Commits

Author SHA1 Message Date
Zellyn Hunter
118944b512 Add data/ directory and go-bindata generate cmds 2017-03-19 21:55:32 -04:00
Zellyn Hunter
2d0d2773a4 refactor to make more disk/device agnostic 2017-03-17 22:26:15 -04:00
Zellyn Hunter
570bf171ac prodos: test struct marshal/unmarshal roundtrips 2017-03-14 21:28:02 -04:00
Zellyn Hunter
4b4612c31f Add (untested) ProDOS marshaling and unmarshaling 2017-03-13 22:20:29 -04:00
Zellyn Hunter
40d39fe78f Starting work on ProDOS data structures 2017-03-12 17:47:18 -04:00
Zellyn Hunter
0b7db8d43d add mksd command 2016-12-19 23:51:20 -05:00
Zellyn Hunter
e376f8ee41 Add go report card; fix vet, lint, etc. warnings 2016-12-10 16:29:41 -05:00
Zellyn Hunter
34a26dd1d6 add nakedos mkhello command; export more things 2016-12-09 23:08:47 -05:00
Zellyn Hunter
bf77cdc029 Remove debug prints and add FHELLO FWORLD notes 2016-12-05 22:22:41 -05:00
Zellyn Hunter
7d0151d490 supermon: add ParseCompoundSymbol 2016-12-01 22:51:56 -05:00
Zellyn Hunter
55e515554f supermon: add first simple test for writing a file
Also removes op.symbols, since the map was computed at operator
construction time, and never updated to match the actual symbol table
as it changed.
2016-11-30 22:29:42 -05:00
Zellyn Hunter
b9a838400c add concept of full and short filenames 2016-11-30 22:12:01 -05:00
Zellyn Hunter
10d2a1e027 Add filetypes, and filetypes and put commands 2016-11-30 21:42:42 -05:00
Zellyn Hunter
300358e9bd wip 2016-11-29 22:53:40 -05:00
Zellyn Hunter
d0144f9468 supermon: add initial implementation of WriteRaw 2016-11-28 22:31:52 -05:00
Zellyn Hunter
b3818430ab supermon: fix WriteFile; add symbol table tests 2016-11-28 21:15:15 -05:00
Zellyn Hunter
3fdce93143 supermon: add WriteSymbolTable, implement Delete 2016-11-27 22:31:51 -05:00
Zellyn Hunter
821c2c5bb0 Add error helper, supermon write/delete 2016-11-27 20:23:31 -05:00
Zellyn Hunter
a74a047d55 Add initial impl of Delete/Add symbols 2016-11-25 20:56:54 -05:00
Zellyn Hunter
0fdf6f05c4 Add stubbed-out delete, supermon symbol encoding 2016-11-22 22:38:20 -05:00
Zellyn Hunter
e6508a39b4 Add first pass of integer basic decoding
It doesn't do proper spacing yet - the intbasic code listing is
extremely tricky to undestand.
2016-11-22 21:01:51 -05:00
Zellyn Hunter
5dac18f5e7 Add an Integer BASIC test file 2016-11-18 22:56:55 -05:00
Zellyn Hunter
76f229ac2f dos3: implement GetFile. Also add StartAddress 2016-11-17 22:49:08 -05:00
Zellyn Hunter
8eb11c7b93 Add Contents to dos3.FileDesc to retrieve data 2016-11-16 22:06:46 -05:00
Zellyn Hunter
d738d0a2b2 supermon: return Type in Catalog results 2016-11-16 21:44:37 -05:00
Zellyn Hunter
9991af82bc Rename dos33 to dos3 2016-11-16 21:44:37 -05:00
Zellyn Hunter
ba7574e7d1 supermon: set filetype, add test for GetFile 2016-11-15 21:05:22 -05:00
Zellyn Hunter
ff196d4638 Add disk.Filetype, and move notes.org to lib 2016-11-15 21:04:54 -05:00
Zellyn Hunter
2cf6d2d4a3 Initial implementation of NakeOS/Super-Mon GetFile 2016-11-14 22:55:54 -05:00
Zellyn Hunter
d901a9a0ba Add FTOBE to supermon test disk image 2016-11-14 22:54:32 -05:00
Zellyn Hunter
f57c3a0c06 Implemented cat command for dos3.3 and NakedOS
- Added a generic `Operator` registry and implemented Operators for
  dos3.3 and NakeOS/Super-Mon disks.
- Currently Operators implement only the `Catalog` command.
2016-11-13 17:01:32 -05:00
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
692414ab6d Working on NakedOS/Super-Mon data structures 2016-11-08 23:37:15 -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
Zellyn Hunter
81fca862de Minor updates to applesoft notes 2016-10-31 23:00:37 -04:00
Zellyn Hunter
4b82079b75 Update applesoft notes 2016-10-29 22:27:41 -04:00
Zellyn Hunter
7aa075b594 Initial commit
Includes "applesoft decode" command to convert Applesoft bytes to
listings.
2016-10-28 21:20:20 -04:00