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
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
Thomas Daede
0c3c08db36
SCP: Only write the last continuous fluxmap.
2021-12-06 11:47:42 -08:00
Thomas Daede
bb5d62fe69
Remove per-track sector check from D88.
...
It's no longer needed to be this strict.
2021-12-06 10:13:30 -08:00
Thomas Daede
9056b23eaa
Set FM gap fill byte in D88.
2021-12-06 08:10:02 -08:00
Thomas Daede
634be4ae51
Fix SCP writer to always write complete revolutions.
...
There were a couple of problems that needed to be fixed:
- Fluxmaps can be produced with zero index pulses by encoders.
This is somewhat ambiguous but it's assumed that this means there
is exactly one revolution.
- The SCP unindexed mode wasn't properly supported, as it should
create equal-length revolutions not aligned to indexes. However,
fluxmaps don't contain any information on rotation speed. Therefore,
drop the ability to create unindexed SCPs and slightly change the
meaning of the option to not include pre-index data.
- Real flux reads can potentially produce duplicate index pulses.
Avoid creating zero-length revs.
- Fix off-by-one error for rev count.
2021-12-06 07:41:16 -08:00
dg
27fceb3f41
Make the new FL2 flux format the default.
2021-12-05 17:09:02 +00:00
David Given
709e300960
More typo fixing.
2021-12-05 17:17:03 +01:00
David Given
d2f677d84e
Typo fix.
2021-12-05 17:00:28 +01:00
dg
18d90c44dd
Rework the flux decoders to add a desync opcode for separating multiple reads
...
in a flux stream. Finally add a unit test for the flux decoder.
2021-12-05 14:42:57 +00:00
dg
298f77f52e
Add the FL2 reader.
2021-12-05 11:33:19 +00:00
Thomas Daede
66f82f764d
Set media density automatically for D88 format.
2021-12-04 10:31:17 -08:00
dg
d36a18c17a
Add the experimental FL2 encoder.
2021-12-04 12:39:36 +00: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
04b91377c9
Use per-track encoding specified in D88 files.
...
This supports varying sector sizes, counts, and modulation on
a per-track basis. It also supports writing sectors in the
original order.
2021-12-04 03:36:06 -08:00
David Given
f5d04d989c
Merge pull request #366 from davidgiven/victor9k
...
Add a Victor 9000 encoder.
2021-12-03 23:03:46 +00:00
David Given
5d76eec0f6
Merge pull request #361 from tdaede/autodim
...
Automatically configure format for DIM when no format is specified.
2021-12-03 21:38:47 +00:00
Thomas Daede
7822325866
Automatically configure format for DIM when no format is specified.
2021-12-03 13:34:35 -08:00
David Given
521123f139
Merge from master.
2021-12-03 22:34:31 +01:00
dtrg
8d6a811204
Correctly write the number of revolutions in SCP files.
2021-12-03 18:13:17 +00:00
Thomas Daede
8a3cd14723
Add minimal D88 image format reader.
...
This implements a subset of D88, only supporting the first floppy
in an image. It only supports images with equal sector sizes,
equal numbers of sectors per track, and no bad sectors.
2021-12-03 02:18:29 -08:00
dg
9c98caf21d
Remove the prototype IMD automatic encoder code, because it needs a lot more
...
work.
2021-12-02 22:44:33 +00:00
dg
f97c42017f
Instead of preloading the image, just explicitly load it in fe-write and change
...
the writeDiskCommand interface to take an Image rather than an ImageReader.
2021-12-01 19:58:24 +00:00
dg
3033a2cb95
Add semi-functioning prototype code to set the encoder and decoder
...
automatically with IMD files. Also make the IMD reader work properly again.
2021-12-01 18:18:48 +00:00
dg
bcf6f48d46
In fe-read, load the image before constructing the encoder, decoder etc so as
...
to allow the image reader to modify the config if necessary.
2021-12-01 17:55:05 +00:00
David Given
4c97f15a65
Merge pull request #355 from tdaede/lowercase
...
Make filename endings case insensitive.
2021-12-01 17:23:08 +01:00
Thomas Daede
6ab5c4012a
Make filename endings case insensitive.
2021-12-01 06:35:15 -08:00
Thomas Daede
1d50e45777
Fix reported size of DIM and FDI images.
...
The computation for size accidentally included header size.
2021-12-01 06:32:18 -08:00
Thomas Daede
ea407b2182
Add FDI format reader.
...
This format is common for NEC PC-98 disk images.
2021-12-01 03:44:18 -08:00
Thomas Daede
676845aaf3
Add DIM format reader.
...
This format is common for Japanese PC floppy images.
2021-12-01 00:07:02 -08:00
Thomas Daede
406a433c3f
Add alias for XDF image files.
...
This is a common extension for Sharp X68000 bare disk images.
2021-11-30 00:40:54 -08: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
6247d3c5e6
Don't print lots of digits after the decimal point in the amount of read data.
2021-11-27 23:38:25 +01:00
David Given
3795abc19e
Add the Victor9k boilerplate.
2021-11-27 19:44:53 +01:00
David Given
a2f51b36ec
Check in missing file...
2021-11-26 21:36:22 +01:00