David Given
e1f2494966
Create a config module containing all the configuration, proto and flags
...
stuff.
2024-10-13 11:57:18 +02:00
David Given
9ddfa5a56b
Move the logger into core.
2024-10-13 11:39:33 +02:00
David Given
ca940d1599
Refactor core libraries into their own library.
2024-10-01 20:36:53 +02:00
David Given
2d717af4db
The flux and image file pickers can now create new files.
2023-10-30 23:07:36 +01:00
David Given
533b217c8f
Eliminate the broken tpi system for a simple drive/format type field.
2023-10-29 21:10:14 +01:00
dg
a03478b011
Don't store the actual DriveProto in FL2 files, because it makes the proto tags
...
significant.
2023-05-15 21:59:24 +00:00
dg
5c428e1f07
Don't require the user to specify the drive TPI if they don't want to.
2023-05-15 21:51:05 +00:00
dg
5568ac382f
Eliminate Environment --- we don't use it and Config contains this
...
functionality.
2023-05-13 00:04:42 +00:00
dg
42e6c11081
Migrate to a new global config object.
2023-05-10 23:13:33 +00:00
dg
9ba3f90f1e
Change the global config variable to a globalConfig() function.
2023-05-10 22:07:17 +00:00
dg
6b990a9f51
Overhaul the TPI stuff; now both the drive and the layout have a TPI setting,
...
which must be set.
2023-05-10 19:58:44 +00: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
dg
e4c67f18bd
Fix the sector skew stuff, again. Modify the mac400 format to emit sectors in
...
the right order.
2022-12-05 20:22:01 +00:00
dg
a91dee27e7
Rework the layout stuff to be more correct. Physical skew no longer affects the
...
order in the resulting images.
2022-12-04 19:19:37 +00:00
dg
2b1a6dbb03
Make the scp flux sink use the layout to determine which tracks and sectors are
...
being written rather than the range flags directly.
2022-11-27 11:52:16 +00:00
Thomas Daede
d20ce3dde7
Remove the layout cache and rename layout -> trackInfo.
...
The layout cache is busted and seems not worth the effort.
Fixes #603 .
2022-10-02 09:43:48 -07:00
David Given
81cbd00cc8
Rename Track to TrackInfo, which better describes what it is.
2022-09-16 00:09:39 +02:00
David Given
4a565b5ea0
Split the Layout class.
2022-09-16 00:07:22 +02:00
David Given
82f61eee12
Eliminate Location in favour of Layout.
2022-09-15 23:52:07 +02:00
David Given
88fc7ff9c3
Begin cleaning up the Layout stuff.
2022-09-15 21:45:12 +02:00
David Given
9a8fc80220
Massive overhaul of how the physical/logical layout mapping is done, to make it
...
more consistent and bidirectional everywhere and just generally better.
Hopefully this fixes that pesky 1581 problem.
2022-09-15 20:23:33 +02:00
David Given
49b6bbff37
Add sector skew support to SectorListProto; add a partial definition for the
...
Victor 9000.
2022-09-12 23:10:24 +02:00
David Given
538a22e2f7
Another attempt at making filesystem sector ordering work again.
2022-09-11 19:53:18 +02:00
David Given
0c40a3e79c
File system mapping now sort of works in the filesystem, but there are
...
problems. These are potentially due to an incorrect Prodos mapping but I'm not
sure.
2022-09-11 19:01:25 +02:00
David Given
3cb098f9ba
Rip out the old approach to soft sector remapping as it wasn't working.
2022-09-11 17:05:40 +02:00
David Given
63a7340c21
Realise that I was actually applying sector mappings _twice_, resulting in them
...
all cancelling out...
2022-09-10 23:29:00 +02:00
David Given
dda713a6be
Remove the rest of the mapper.
2022-09-10 22:47:35 +02:00
David Given
4ae664fd93
Sanitise the layout structure somewhat. Fix ADFS and Apple II formats.
2022-09-10 22:08:23 +02:00
David Given
6b228d7a0a
Add functionality for clearing the cache between runs.
2022-09-10 21:27:14 +02:00
David Given
085ad5f2a4
Actually start using the new physical sector stuff.
2022-09-10 20:43:24 +02:00
David Given
a6db36e7b3
Convert from LayoutData to Layout.
2022-09-10 19:53:05 +02:00
David Given
7f1017ebd9
Remove some obsolete mapper code.
2022-09-10 18:47:55 +02:00
David Given
db1a84b490
Copy the sector mapping stuff into Layout.
2022-08-28 00:15:46 +02:00
David Given
3256b4f627
Eliminate the IBM trackdata sector layout stuff in favour of the layout{}
...
clause.
2022-08-27 23:23:28 +02:00