Commit Graph

716 Commits

Author SHA1 Message Date
David Given
c8e6795a90 Merge pull request #546 from wybren1971/IMDwriter
Im dwriter
2022-08-07 20:45:36 +02:00
David Given
89953d9e84 Allow specifying which track in a group to write (rather than the lowest). 2022-08-04 23:10:02 +02:00
wybren1971
eb9d0dbbd4 Added real time and not the compiletime of fluxengine 2022-07-29 03:09:29 +02:00
Thomas Daede
416c70f5e5 Fix D88 writer regression caused by 4ba30fcf. 2022-07-07 01:47:52 -07:00
wybren1971
30681dfa2c Corrected spelling error 2022-07-02 16:04:54 +02:00
wybren1971
4470fb4312 add breaks to the switch statements 2022-06-26 18:26:03 +02:00
wybren1971
45e0946b6b remove debuglines 2022-06-20 15:47:20 +02:00
wybren1971
b57af55b8a Updating the documentation. cleanup code 2022-06-20 13:10:14 +02:00
wybren1971
677ee5da91 update to IMD writer to accept PROTO input for comment and encoding 2022-06-19 23:45:42 +02:00
wybren1971
a6526ccc13 adding comment in IMD file 2022-06-19 17:28:04 +02:00
wybren1971
4d7ddf3d9e add writing IMD images functionality 2022-06-19 16:49:31 +02:00
wybren1971
fbc39a41f8 Add writing IMD images functionality 2022-06-19 16:45:03 +02:00
David Given
fa760b702c Fix C automatic dependencies to actually work. 2022-06-16 19:39:47 +02:00
David Given
2a6ebe2c04 Avoid overzealous bounds check assertions. 2022-06-16 19:37:19 +02:00
David Given
3e97faa704 Fix bounds checking assertion failure caused by overzealous glibc. 2022-06-16 19:30:43 +02:00
David Given
b55ebe95d9 Reformat. 2022-06-15 23:37:50 +02:00
David Given
cb5c0d5ebe Make the a2r flux sink build. Tracks are now always in the native numbering. 2022-06-15 23:33:00 +02:00
David Given
404f583dc2 Merge from master. 2022-06-15 23:27:33 +02:00
David Given
82fe952d7f Merge from master. 2022-06-14 20:50:57 +02:00
David Given
b025e6bb88 Remove dep/fmt completely. 2022-06-14 20:12:55 +02:00
David Given
07b1719b17 Let's try an actual vanilla Makefile. 2022-06-13 23:21:06 +02:00
David Given
4ba30fcfec Don't require C++20 as it's still too new. 2022-06-12 21:35:13 +02:00
wybren1971
c4603e1230 Clean up code IMD imagereader 2022-06-10 09:02:20 +02:00
wybren1971
c6fd31564d update in skewsettings 2022-06-09 23:26:28 +02:00
wybren1971
c4d72d3c11 Write IMD file to floppy 2022-06-09 07:57:11 +02:00
David Given
d7ce10001b Merge pull request #510 from davidgiven/groups
Allow an option to force the reader to read all tracks in a group.
2022-06-03 22:15:32 +02:00
Thomas Daede
65100a18d2 Add D88 image writer.
This is currently a very minimal implementation and does not
support deleted sectors, CRC errors, etc.
2022-06-01 20:46:37 -07:00
Thomas Daede
968184fa7a Greaseweazle: Fix RPM measurement in some circumstances.
Accumulate number of ticks returned in FLUXOP_SPACE so that they
count towards the total track time.
2022-05-29 23:17:35 -07:00
David Given
7e2d300017 Allow an option to force the reader to read all tracks in a group. 2022-04-23 12:37:52 +02:00
Jeff Epler
6cf86a4797 fix some whitespace 2022-04-22 11:03:51 -05:00
Jeff Epler
feb5eac02e Never write via structures, always write via a ByteWriter 2022-04-22 11:03:46 -05:00
Jeff Epler
5e4c7719ff Add support for the interfacing to an Apple Disk ][
Some folks may want to use interfaces besides PC/Shugart ones.
Together with https://github.com/adafruit/Adafruit_Floppy/pull/15
and a hand wired board I'm able to read flux from an Apple Disk ][
2022-04-19 08:51:16 -05:00
Jeff Epler
00d30fe26b fix several missing override declarations 2022-04-12 11:20:46 -05:00
Jeff Epler
f2083ed5e9 fix macos-only build error (narrowing diagnostic) 2022-04-12 11:20:40 -05:00
Jeff Epler
6ac98d02a7 Merge remote-tracking branch 'origin/master' into applea2r 2022-04-12 10:53:17 -05:00
Jeff Epler
5e8f35c94e Fix review items, try again on applesauce compatibility
After these changes, applesauce accepts the image but produces a
non-working result.  passport.py still likes the files just fine, if
they're of the limited sorts that it can handle.

(applesauce wants just one STRM chunk with all the flux from all the
tracks; the whole STRM ends with an extra FF, which is not counted in the
size of any of the TIMING blocks. passport.py / a2archery is considerably
more forgiving)
2022-03-29 10:54:15 -05:00
David Given
15eb88e922 Convert, hopefully, the remaining encoders to do automatic disk sizing. Ther e
may be bugs.
2022-03-29 01:23:35 +02:00
David Given
21afc26b68 Fix sigsegv on non-standard sector sizes. 2022-03-28 22:41:27 +02:00
David Given
adff739a5d Partial conversion to do automatic scaling of flux based on the disk rotation
speed. Although, something seems to have broken for 5.25" disks.
2022-03-27 23:50:32 +02:00
David Given
3c17e74f6d Bump the protocol version to ensure people upgrade. 2022-03-26 21:54:29 +00:00
David Given
bf35983ebb Merge from master. 2022-03-26 21:39:32 +00:00
David Given
b062582d15 Multiple reads from flux files now work again. 2022-03-26 00:35:35 +01:00
David Given
79e37f2c18 Format. 2022-03-26 00:19:22 +01:00
David Given
9ab1dae553 Correctly support retrying on hardware. 2022-03-26 00:19:07 +01:00
David Given
c5ad0b4bec Fix track display in the visualiser when reading and writing. 2022-03-25 23:01:34 +01:00
David Given
606d1012d3 Don't use <=>. Sigh. 2022-03-25 22:10:27 +01:00
David Given
45f2d98f3c Typo fix? 2022-03-25 21:57:02 +01:00
David Given
5cf15a9b11 Try to work around the issue with <compare>. 2022-03-25 21:37:39 +01:00
David Given
178aa9d32f Remove the obsolete reader.* and rename writer.* to readerwriter.*. 2022-03-25 20:57:42 +01:00
David Given
29f181f9bf Change the readers to correctly set the physical track for each sector using
the mapper (where appropriate).
2022-03-25 20:50:57 +01:00