David Given
89688394f8
Replace the upgradefluxfile builtin with a seperate upgrade-flux-file tool.
...
This allows us to remove all the SQL stuff from the main program, and restores
the ability to upgrade from version 2 SQL files.
2022-02-04 21:27:24 +01:00
Thomas Daede
dfb461b05c
D88: Add 2D (40 track double density) support.
...
This assumes a 360rpm drive, and double stepping.
If fluxengine supports the concept of 40 vs 80 track drives in the
future, it might make sense for this to assume a 300rpm drive
instead.
2022-01-28 10:50:36 -08:00
David Given
4946909c6d
Merge pull request #436 from davidgiven/dim
...
Fix some autoconfigure issues.
2022-01-27 00:07:23 +01:00
David Given
2439736cb4
When autoconfiguring, set up the decoder to allow disk verification.
2022-01-26 23:53:44 +01:00
David Given
8fb2ad1986
Automatically set the number of heads and cylinders where appropriate.
2022-01-26 23:53:16 +01:00
David Given
1d7bbcec66
Merge pull request #435 from davidgiven/brother
...
Don't use signed values for track/sector/side values
2022-01-26 23:29:51 +01:00
David Given
3369029e9a
Don't use signed ints for the track/side/sector values.
2022-01-26 23:13:22 +01:00
David Given
9bb6e15900
Don't crash when trying to read flux from a fl2 file where there isn't any
...
flux.
2022-01-26 22:09:50 +01: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
David Given
dbfc0f98c3
Merge pull request #422 from tdaede/nfdr0
...
Add NFD r0 image reader.
2022-01-22 23:28:55 +01:00
David Given
ca15bf4a92
Merge pull request #417 from tdaede/fluxsink_ratio
...
Add option to rescale flux source pulses.
2022-01-22 23:27:53 +01:00
David Given
3e4d4cc002
Hotfix for Windows build.
2022-01-22 22:29:34 +01:00
David Given
4257544402
Merge.
2022-01-22 21:20:48 +01:00
David Given
745e0685a4
Allow specifying the GreaseWeazle serial port directly (for devices which don't
...
have the GreaseWeazle VID/PID).
2022-01-22 20:41:27 +01:00
David Given
d6db2128df
Toggle DTR on Unixes as well as on Windows.
2022-01-22 20:39:20 +01:00
Thomas Daede
a4f44933ec
Add NFD r0 image reader.
...
This format is very similar to D88, but used mostly for PC-98
rather than PC-88.
2022-01-22 08:33:43 -08:00
David Given
fe080e1d90
Merge from master.
2022-01-21 19:36:18 +01:00
David Given
c751810b84
Don't use string::contains.
2022-01-20 20:24:10 +01:00
Thomas Daede
de8f8b7d91
FDI: Add support for automatically setting format.
2022-01-17 17:02:26 -08:00
Thomas Daede
b8c58b12fd
Add option to rescale flux source pulses.
...
This actually scales by the reciprotal of the flux sink, to
allow the same value to be set for both options.
2022-01-17 16:53:50 -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
c4e29e74b2
Support HCS as well as CHS format in the image reader/writer.
2022-01-10 23:49:25 +01:00
David Given
40bca8b38c
Merge pull request #370 from tdaede/rescale
2022-01-10 23:02:18 +01:00
David Given
18af881fe5
Attach the underlying raw records to Sector structures; add a .raw exporter for
...
getting the MFM/FM/GCR stream.
2022-01-04 23:49:39 +01:00
David Given
ebd2c329ff
Merge pull request #397 from hharte/master
...
reader: Fix conflicting sector error message.
2022-01-02 17:38:11 +01:00
David Given
a32ea6e5f8
Add support for selecting the Shugart or IBMPC GreaseWeazle bus types.
2022-01-01 22:45:27 +01:00
Howard M. Harte
5ada533b06
reader: Fix conflicting sector error message.
...
The conflicting sector error message incorrectly displays the track instead
of the sector in conflict.
2021-12-25 09:10:53 -08:00
Howard M. Harte
9ee5b3eaf3
Windows: Support serial ports > COM9
...
Windows requires the use of the DOS UNC path name for COM ports
greater than COM9. Prefix the port name with \\.\
2021-12-17 14:21:19 -08:00
David Given
5768a766b8
Silence stray warnings.
2021-12-16 14:27:18 +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
5d3002f118
Announce the device serial number on connection again.
2021-12-13 23:24:02 +01:00
David Given
3dfafaa278
GreaseWeazle autodetection now works (at least on Linux).
2021-12-13 23:09:33 +01:00
David Given
c9d1d72ba3
Merge in the libusbp changes.
2021-12-12 19:50:33 +00:00
David Given
ccf5d513d2
Merge from master.
2021-12-12 19:49:32 +00:00
David Given
d157b7b05d
Make libusbp work on Windows; rework the Microsoft-specific bits of the
...
firmware to match. This does at least allow us to get rid of the patcher.
2021-12-12 17:25:24 +00:00
dg
05981ac46c
Make work on OSX.
2021-12-12 15:40:12 +00:00
David Given
08615a5954
Make libusbp build, at least on Linux; port fluxengineusb to use it.
2021-12-12 16:29:51 +01:00
David Given
4b815846ee
...and fix for OSX.
2021-12-10 23:35:58 +00:00
David Given
fe8be18c4c
Fix the serial port code on Windows.
2021-12-10 23:29:20 +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
David Given
3d1ee7a43e
Don't spin in an infinite loop if the decoder tries to find a data record and
...
the matcher fails to find anything, leaving the seek point unchanged.
2021-12-10 19:56:00 +00:00
David Given
7b0a4a057d
Merge pull request #376 from tdaede/scpfix2
...
Fix SCP writer to always write complete revolutions.
2021-12-09 22:26:36 +00:00
Thomas Daede
ce1daf6a2b
Add option to rescale flux sink pulses.
...
Note that this does not affect the decoder used for verify,
but at least for tame rescaling the decoders are still able to
lock.
This is a precursor to automatic scaling via the disk speed
measurement.
2021-12-07 14:45:32 -08:00
David Given
17787b97d4
Merge pull request #371 from tdaede/d88hd
...
Set media density automatically for D88 format.
2021-12-07 21:54:58 +00:00
David Given
da84297b2c
Merge pull request #380 from tdaede/last_fluxmap
...
SCP: Only write the last continuous fluxmap.
2021-12-07 21:47:54 +00:00
David Given
e3e3bb770d
Merge pull request #379 from tdaede/no_disk_sector_check
...
Remove per-track sector check from D88.
2021-12-07 21:45:47 +00:00
David Given
9d4f180741
Merge pull request #381 from hharte/fixnorthstar
...
Fix North Star after decoder update
2021-12-07 21:44:26 +00:00
Michael D
aa3b0a117a
Fix a small typo in proto.cc
...
Also add long-forms "yes" and "no" as valid options
2021-12-07 18:10:53 +01:00
Howard M. Harte
0f7df3281f
NorthStar: Fix nsiimagewriter image size in informational message.
2021-12-06 17:57:08 -10:00
David Given
28068d8d31
Merge pull request #375 from davidgiven/fl2
...
Make the new FL2 format the default.
2021-12-06 22:14:33 +00:00