1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-27 20:51:17 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Peter Evans
1091ec6e2a Pass image type into enc_dos; use sector_num instead of a table pointer 2018-02-20 15:36:23 -06:00
Peter Evans
98f640f0d1 Use the proper sector header length (20 bytes) 2018-02-20 14:35:07 -06:00
Peter Evans
508be6458a Pass in sector table for logical-physical orders
We were not encoding data properly, because in DOS 3.3 and ProDOS,
sectors must be interleaved on disk media (whereas in the original image
form, data is laid out in a linear fashion).

This solves a bug where we erroneously encountered a "bad" opcode (a7)
in the program code.
2018-02-19 18:49:37 -06:00
Peter Evans
c89e855559 Update to use correct encoded sector length 2018-02-18 23:46:18 -06:00
Peter Evans
7212a1041a Encoded tracks should be longer 2018-02-04 15:41:48 -06:00
Peter Evans
a6c1564747 Add fwrite function, support for streams and types 2018-02-03 20:50:08 -06:00
Peter Evans
5fc0206ff6 Add defines for track/sector sizes 2018-02-03 00:24:22 -06:00
Peter Evans
f87f77b806 Add ENC_VOLUME definition 2018-01-31 15:58:57 -06:00
Peter Evans
8a53e02f00 Rename to enc.c, add header file 2018-01-31 00:09:07 -06:00