Thomas Harte
|
25bd811867
|
Avoid strcpy due to probable false positive analyser warning.
|
2025-12-21 22:46:03 -05:00 |
|
Thomas Harte
|
67171f348a
|
Use std::copy_n where it more directly matches intent.
|
2025-12-10 22:23:42 -05:00 |
|
Thomas Harte
|
461239e2e9
|
Further reduce memcpy reliance.
|
2025-12-06 14:03:00 -06:00 |
|
Thomas Harte
|
6ac6157d06
|
Eliminate memset from C++ files.
|
2025-12-06 10:55:32 -06:00 |
|
Thomas Harte
|
105272630e
|
Definitively eliminate per-logger state.
|
2025-09-11 23:29:47 -04:00 |
|
Thomas Harte
|
ac204aadd2
|
Clean up, better constify SCSI innards.
|
2025-08-31 10:56:01 -04:00 |
|
Thomas Harte
|
03eb381b3b
|
Adopt std::ranges::copy where it is trivial to do so.
|
2025-04-25 22:17:07 -04:00 |
|
Thomas Harte
|
b654c2e170
|
Avoid potential out-of-bounds access.
|
2025-03-18 20:23:31 -04:00 |
|
Thomas Harte
|
2c2216afae
|
Further eliminate file-relative includes.
|
2025-02-28 13:18:48 -05:00 |
|
Thomas Harte
|
0823fc32fe
|
Eliminate file-relative paths.
|
2025-02-28 12:30:25 -05:00 |
|
Thomas Harte
|
c5bffc38f4
|
Switch typedefs to usings.
|
2025-01-03 21:35:34 -05:00 |
|
Thomas Harte
|
d3ed485e7a
|
Take another big swing at indentation, some consts.
|
2024-12-01 21:44:14 -05:00 |
|
Thomas Harte
|
cb125e6336
|
Use constexpr functions rather than macros.
|
2024-01-22 21:17:00 -05:00 |
|
Thomas Harte
|
a1df2ef401
|
Use updated logger.
|
2024-01-19 14:24:40 -05:00 |
|
Thomas Harte
|
70a753d8a8
|
Update to latest logging.
|
2024-01-19 10:41:59 -05:00 |
|
Thomas Harte
|
53d6d311a7
|
Use constexpr functions in preference to macros.
|
2024-01-16 23:40:40 -05:00 |
|
Thomas Harte
|
a3d37640aa
|
Switch include guards to #pragma once.
|
2024-01-16 23:34:46 -05:00 |
|
Thomas Harte
|
8578dfbf22
|
Eliminate various other errant spaces.
|
2023-05-16 16:40:09 -04:00 |
|
Thomas Harte
|
50343dec43
|
Eliminate all whitespace-only lines.
|
2023-05-12 14:16:39 -04:00 |
|
Thomas Harte
|
28c79b2885
|
Eliminate redundant [space][tab] pairs.
|
2023-05-12 14:14:45 -04:00 |
|
Thomas Harte
|
2b56b7be0d
|
Simplify namespace syntax.
|
2023-05-10 16:02:18 -05:00 |
|
Thomas Harte
|
5ed60f9153
|
Mark get_state as const.
|
2022-09-15 16:13:54 -04:00 |
|
Thomas Harte
|
acc82546c4
|
Further avoid use of null pointer.
|
2022-08-31 16:03:01 -04:00 |
|
Thomas Harte
|
50ea56e908
|
Adds support for Macintosh SCSI device images.
This is now in addition to the single-partition images previously supported.
|
2021-05-13 19:06:00 -04:00 |
|
Thomas Harte
|
2a8e8a4982
|
Slightly increases logging.
|
2021-02-02 20:24:19 -05:00 |
|
Thomas Harte
|
906b6ccdb7
|
This appears to be sufficient for the Electron to _read_ SCSI.
So that's step one.
|
2021-01-31 18:36:29 -05:00 |
|
Thomas Harte
|
0bf7de9d43
|
Advances to actually completing a build.
Many more warnings to iron out, however.
|
2020-05-30 00:47:43 -04:00 |
|
Thomas Harte
|
267006782f
|
Starts to add Qt target; resolves many build warnings.
|
2020-05-30 00:37:06 -04:00 |
|
Thomas Harte
|
f7c10ef9e9
|
Replaces POSIX stpncpy with ANSI strlen, memcpy and memset.
|
2020-05-27 21:31:46 -04:00 |
|
Thomas Harte
|
31c6faf3c8
|
Adds a bunch of consts.
|
2020-05-09 21:23:52 -04:00 |
|
Thomas Harte
|
5456a4a39d
|
Eliminates static where constexpra aren't class members; adds some if constexprs for clarity.
|
2019-12-22 13:42:24 -05:00 |
|
Thomas Harte
|
274867579b
|
Deploys constexpr as a stricter const.
|
2019-12-22 00:22:17 -05:00 |
|
Thomas Harte
|
1c154131f9
|
Expands size of storage in Cycles/HalfCycles; adjusts widely to compensate.
|
2019-10-29 22:36:29 -04:00 |
|
Thomas Harte
|
776b819a5a
|
Adds the SCSI bus as an Activity::Source.
|
2019-09-19 19:31:22 -04:00 |
|
Thomas Harte
|
3d54d55dbb
|
Adds missing #include for assert.
|
2019-09-18 22:06:13 -04:00 |
|
Thomas Harte
|
4f0f1dcf18
|
Corrects accidental use of #import.
|
2019-09-18 21:53:22 -04:00 |
|
Thomas Harte
|
8d4a96683a
|
Reduces output noise.
|
2019-09-18 21:41:29 -04:00 |
|
Thomas Harte
|
962275c22a
|
Removes clock for NCR 5380.
It doesn't have one in real life, and now can live off the time counting that occurs on the SCSI bus.
|
2019-09-18 20:17:47 -04:00 |
|
Thomas Harte
|
3002ac8a4a
|
Adds mapping of READ(8) size 0 to size 256.
|
2019-09-17 21:59:32 -04:00 |
|
Thomas Harte
|
2f6c366668
|
Makes a concerted effort at properly wrapping a hard disk image.
|
2019-09-17 21:30:04 -04:00 |
|
Thomas Harte
|
2ce1f0a3b1
|
Implements multi-sector read/write.
This once again unblocks Apple HD SC Setup. Progress!
|
2019-09-16 22:20:42 -04:00 |
|
Thomas Harte
|
934901447a
|
Adds a temporary version of block access writing.
Whatever I'm doing, it's still not correct. The Macintosh ostensibly appears to 0-fill the direct-access device, then reads a sector back and hangs.
|
2019-09-15 22:06:45 -04:00 |
|
Thomas Harte
|
c849188016
|
Adds format and write to the SCSI target.
Now I think I need to switch back to the 5380 to ensure proper DMA mode interactions when writing.
|
2019-09-12 21:58:09 -04:00 |
|
Thomas Harte
|
87e8dade2f
|
Implements READ BUFFER to do, you know, *something*. Plus READ CAPACITY.
The HD SC utility now offers up drive 6 for formatting. That's progress.
|
2019-09-11 21:52:02 -04:00 |
|
Thomas Harte
|
6fc5b4e825
|
Simplifies INQUIRY for future targets; implements enough of SENSE MODE to advance.
The HD SC setup utility is now looking to read buffer.
|
2019-09-08 21:59:56 -04:00 |
|
Thomas Harte
|
00ce7f8ae0
|
Takes a first shot at INQUIRY.
|
2019-09-07 22:04:44 -04:00 |
|
Thomas Harte
|
6e0e9afe2f
|
Fixed: to post a message, I want message in, not message out.
|
2019-09-07 13:35:38 -04:00 |
|
Thomas Harte
|
bee782234a
|
Ensures no state transitions while acknowledge is still asserted.
|
2019-09-07 13:17:34 -04:00 |
|
Thomas Harte
|
cbd1a8cf78
|
Factors out command termination, adds a default implementation of test unit ready.
|
2019-09-03 22:40:18 -04:00 |
|
Thomas Harte
|
a4ab0afce3
|
Takes a shot at completing a full SCSI interaction.
|
2019-09-03 21:15:30 -04:00 |
|