Commit Graph

391 Commits

Author SHA1 Message Date
David Given
a6275dc811 Fix uninitialised variable. 2019-03-07 11:02:00 +01:00
David Given
38f740c50f Fix build error on machines where sizeof(size_t) != sizeof(long). 2019-03-07 10:57:05 +01:00
David Given
6c23b6284a Merge from trunk. 2019-03-07 00:33:52 +01:00
David Given
1be18441be Merge pull request #39 from davidgiven/index
This updates the firmware and changes the bytecode syntax to allow capturing and playback of index hole information; this should allow reading and writing hard-sectored disks. The bytecode syntax is now much clearer and more expandable (should anything else come up) but uses twice the bandwidth, sadly. The client software hasn't changed but in order to take advantage of this, I'm going to have to refactor a lot of the flux->bits pipeline.
2019-03-07 00:33:27 +01:00
David Given
d02e6b5936 Update cwftoflux to handle index information from CWF files. 2019-03-07 00:22:43 +01:00
David Given
29b66086ea The sequencer now (I hope, untested) supports waiting for the index hole. It's
certainly no more non-functional than it was before, i.e. it writes Brother
disks fine.
2019-03-07 00:10:12 +01:00
David Given
c8e3910b20 Creating Brother images works again. 2019-03-06 22:52:42 +01:00
David Given
a41f0f3ff4 Allow upgrading of flux files to the new format. 2019-03-06 22:23:57 +01:00
David Given
379985c2bc Rework the sampler state machine, with new, better, simpler bytecode at twice
the bandwidth; we now record the state of the index hole.
2019-03-06 21:09:07 +01:00
David Given
f3640aa153 Show transfer bandwidth. 2019-03-06 19:44:27 +01:00
David Given
d59e7f0fc4 Skeleton Zilog Mcz support. 2019-03-06 00:00:06 +01:00
David Given
58bf460e6d Merge pull request #35 from davidgiven/bytes
Rework the way byte buffers are handled
2019-03-05 21:33:57 +01:00
David Given
f3b3cc4532 Fix the Mac decoder. 2019-03-05 21:25:59 +01:00
David Given
3a931afa60 Fix CRC checking for IBM (both FM and MFM). 2019-03-05 21:09:28 +01:00
David Given
0ae1623afc Clean up the IBM decoder (still not right). 2019-03-05 20:57:45 +01:00
David Given
4d8c43731f Ooops, forgot to rename the flux upgrade tool. 2019-03-05 20:42:23 +01:00
David Given
76d905878a Rework the Brother decoder again. 2019-03-05 20:36:37 +01:00
David Given
38bea6b22e I somehow broke the CRC algorithm. Damned if I can see it. 2019-03-05 20:36:25 +01:00
David Given
cca901825e Resizing small doesn't reallocate the buffer. 2019-03-05 20:36:13 +01:00
David Given
8212adf84f Temporary lifespan doesn't work intuitively. Fix it. 2019-03-05 19:17:06 +01:00
David Given
94fb10eb02 Behemoth change to rework everything to use Bytes rather than vectors of
uint8_t. The tests pass, but of course, nothing decodes any more.
2019-03-05 00:10:20 +01:00
David Given
3835afd022 Add a reasonably comprehensive bytes library. 2019-03-04 21:41:41 +01:00
David Given
1d4b8fdd4f Merge pull request #34 from davidgiven/docs
Move the assembly instructions into its own page
2019-03-04 00:52:58 +01:00
David Given
bea21fb77d Break out the assembly instructions into a separate page. 2019-03-04 00:49:01 +01:00
David Given
b312437916 Remember to set the version when creating flux files. 2019-03-04 00:48:41 +01:00
David Given
6d530c332e Tweak signal floor: the Brother disk doesn't read any more. 2019-03-03 22:12:13 +01:00
David Given
9e9d8b0a34 Acorn ADFS is a unicorn, not a dinosaur. 2019-03-03 21:15:32 +01:00
David Given
07c4a18171 Merge pull request #33 from davidgiven/gzip
Flux files now compress their data.
2019-03-03 21:10:27 +01:00
David Given
3be0931c2d Update documentation. Change the name to something more sensible. 2019-03-03 21:04:16 +01:00
David Given
dfc818ff73 You now have to explicitly upgrade flux files --- much cleaner. Added a tool to
do this.
2019-03-03 20:52:53 +01:00
David Given
b1368fff64 Hack in compressed flux streams; I don't like this much. 2019-03-03 19:11:13 +01:00
David Given
560d3e1fba Merge pull request #32 from davidgiven/trs80
Add TRS-80 support.
2019-03-03 18:16:47 +01:00
David Given
6eed5daa82 Add the properties interface to the SQL stuff. 2019-03-03 17:37:40 +01:00
David Given
fd960b8778 Add TRS-80 support. 2019-03-03 17:25:38 +01:00
David Given
1e1d4317ec Merge pull request #31 from davidgiven/docs
Reorganise disk format documentation.
2019-03-03 17:02:17 +01:00
David Given
b2a9858b29 Reorganise disk format documentation. 2019-03-03 14:41:00 +01:00
David Given
ee2c463552 Merge pull request #30 from davidgiven/aeslanier
Add incredibly experimental support for the AES Superplus / Lanier No Problem
2019-03-03 12:54:23 +01:00
David Given
654f250341 No, wait. The AES Lanier sectors are clearly 256 bytes, but include the sector
header.
2019-03-03 12:43:18 +01:00
David Given
3d72e79969 Update AES Lanier documentation. 2019-03-03 12:25:12 +01:00
David Given
162176f00d I think the sectors are actually 253 bytes. Could be wrong. 2019-03-03 12:03:56 +01:00
David Given
c5df9b2d54 Apparently the AES Lanier used *252* byte sectors. Luckily the checksum is
standard; we now get mostly good reads off the image I have.
2019-03-03 11:40:27 +01:00
David Given
0eb7620854 Conflicted sectors are now treated as bad. 2019-03-03 11:39:54 +01:00
David Given
8d74861c4f Add reflected and MODBUS CRC variants. 2019-03-03 11:39:25 +01:00
David Given
34163e56c3 The AES Lanier decoder now assembles disk images. The checksum is a complete
mystery, though.
2019-03-03 01:19:53 +01:00
David Given
9db1fbd7d2 Merge from trunk. 2019-03-02 22:45:18 +01:00
David Given
410d56e707 Add AES Lanier documentation. 2019-03-02 22:41:48 +01:00
David Given
4eaca91a44 Add a skeleton for the AES Lanier disks. 2019-03-02 22:40:59 +01:00
David Given
cf81acd8a5 Add Kryoflux stream decoder tests --- sadly, no bugs. Add a tool to convert CWF
format files to FluxEngine files.
2019-03-02 20:02:24 +01:00
David Given
d8f34f74d5 Add a Kryoflux stream reader unit test. 2019-03-02 19:11:50 +01:00
David Given
003690cf6e Amiga disks work! Why are they not in the table? 2019-03-02 14:12:19 +01:00