David Given
15a69f6dcb
Make build with the new ab --- but the tests fail.
2025-03-17 22:33:54 +01:00
David Given
c42e73f17a
Modularise fluxsink and usb.
2024-10-16 00:41:57 +02:00
David Given
c5373480ba
Move a lot of the data-handling utilities into their own module.
2024-10-13 13:35:48 +02:00
David Given
8b124e5ced
Merge.
2024-10-01 23:58:48 +02:00
David Given
33f3c97b03
Crudely hack in a lock against writing, as I'll have to wait for the v3
...
firmware.
2024-10-01 21:30:53 +02:00
David Given
ca940d1599
Refactor core libraries into their own library.
2024-10-01 20:36:53 +02:00
David Given
d00fba02a0
Rename greaseWeazle to greaseweazle (as it needs doing).
2024-09-30 22:03:17 +02:00
David Given
6b28f36b97
getVersion() doesn't need to be a public USB method.
2024-09-28 23:44:33 +02:00
David Given
8fa1a887ce
Initial work towards Applesauce support --- you can connect to the device and
...
test bandwidth.
2024-09-28 20:04:54 +02:00
David Given
7095c03e28
Fix a whole pile of missing 'override' keywords.
2024-01-22 20:55:38 +01:00
David Given
d4c0853e1f
Reset the Greaseweazle data stream when connecting.
2023-05-25 22:23:28 +02:00
David Given
53adcd92ed
Spell (and capitalise) Greaseweazle correctly.
2023-05-25 19:50:05 +02:00
dg
466c3c34e5
Replace the Error() object with an error() function which takes fmt
...
formatspecs, making for much cleaner code. Reformatted everything.
This actually happened in multiple steps but then I corrupted my local
repository and I had to recover from the working tree.
2023-05-09 20:59:44 +00: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
86c5cccb08
Rename cylinder to track throughout (mostly).
2022-03-25 20:16:12 +01:00
lady ada
9ec56f1dfa
fix 2 byte pack for revolution count
2022-02-08 11:43:20 -05:00
Thomas Daede
77257b0989
Support time-based reads for Greaseweazle V24+.
...
This substantially speeds up read and verify operations, allowing
only 1.2 revs rather than 2 revs to be read.
Fixes #426
2022-01-26 08:02:30 -08:00
lady ada
45d7b284e3
1) update CI to add zip on commit for quick testing
...
2) fix gw readflux command (should be 8 bytes long but was packed as 10)
3) add support for non-gw VID/PID (generic serial port that is gw compatible)
4) manually set/clear DTR on serial port devices - this seems to be essential for tinyusb/arduino CDC
not tested with a gw but ought not to have broken anything!
2022-01-16 12:43:47 -05:00
David Given
a32ea6e5f8
Add support for selecting the Shugart or IBMPC GreaseWeazle bus types.
2022-01-01 22:45:27 +01:00
David Given
53c8ec864c
Clean up the GreaseWeazle bandwidth tester. Sometimes it doesn't read the right
...
amount of data from the device?
2021-12-14 18:01:53 +00:00
David Given
519c30321d
Split the serial port code off into its own file so we can use it for the SCP
...
driver.
2021-12-11 00:06:14 +01:00
dg
78a070bd99
Add a simple warning if you're using OSX with a GreaseWeazle and select a
...
/dev/tty file rather than a /dev/cu one (the /dev/tty files usually don't work).
2021-12-04 20:57:53 +00:00
Thomas Daede
ad96c9bb9f
Fix inverted density select in Greaseweazle driver.
...
Pin 2 should be set high when high density is selected.
2021-11-28 19:31:26 -08:00
David Given
b2d7ba1a65
Treat all GreaseWeazle versions from 24 or above the same, as the USB protocol
...
has been frozen.
2021-07-08 10:50:31 +02:00
David Given
0d59d3d195
Typo fix on the Linux/OSX side of things.
2021-06-04 23:36:25 +02:00
David Given
192427cf80
Finally figure out why Windows wasn't working --- the Win32 ReadFile / ::read
...
call waits until _all_ bytes are read, rather than returning as soon as any
bytes are read. Fixed.
2021-06-04 22:03:44 +01:00
David Given
98e4094d70
Set up the GreaseWeazle termios properly.
2021-06-02 22:51:57 +02:00
David Given
4f0a5e854c
Attempt to rework the USB handling to make the GreaseWeazle work on Windows and
...
Mac --- we abandon autodetection for anything other that FluxEngines as libusb
is painfully inconsistent with serial devices.
2021-05-23 18:53:25 +01:00
David Given
c669a9c808
Add libudev autodetect for GreaseWeazle devices.
2021-05-23 17:44:01 +02:00
David Given
1c1ad2725e
Port the Greaseweazle driver to use the serial port rather than raw libusb.
2021-05-23 12:39:41 +02:00
David Given
d18e54c5a3
Add Greaseweazle support for firmwares 22 and 24.
2021-05-23 12:01:29 +02:00
hpingel
31e2ad8cba
Enforce usage of Greaseweazle firmware v0.24 after adapting CMD_READ_FLUX and CMD_WRITE_FLUX
2021-01-21 23:44:13 +01:00
David Given
c2c51bbe33
Fix after merge.
2021-01-09 00:02:14 +01:00
David Given
6e1f264e6a
Make --sync-with-index and --revolutions work properly on the GreaseWeazle.
2021-01-08 21:36:50 +01:00
David Given
082be14232
Add GreaseWeazle support for --high-density.
2021-01-08 21:20:33 +01:00
David Given
e831ee8b44
Add erase support.
2021-01-07 22:46:11 +01:00
David Given
53cec292d0
Refactor the GreaseWeazle converter to allow it to be tested.
2021-01-07 22:06:45 +01:00
David Given
3f85309ee5
Commit non-functioning GreaseWeazle write support.
2021-01-07 20:42:06 +01:00
David Given
70944f8521
Reading flux now correctly handles index markers.
2021-01-07 20:02:51 +01:00
David Given
2ab00c42ff
Handle index pulses on read.
2021-01-07 01:05:23 +01:00
David Given
a572742caa
I read my first disk using the GreaseWeazel!
2021-01-07 00:58:19 +01:00
David Given
400e5f8580
The bandwidth tester works.
2021-01-06 23:24:28 +01:00
David Given
74f0fd89b6
We can successfully seek on the GreaseWeazle.
2021-01-06 22:52:52 +01:00
David Given
09f9bea7a2
Add boilerplate for the GreaseWeazle driver.
2021-01-06 20:39:13 +01:00