1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 02:22:39 +00:00
Commit Graph

53 Commits

Author SHA1 Message Date
Thomas Harte 39568d2464 Run headfirst into a LinearMemory substitution brick wall. 2025-07-25 21:43:54 -04:00
Thomas Harte b5aab442f8 Template immediate-read Segments; continue fixing 8088Tests. 2025-07-24 22:24:53 -04:00
Thomas Harte f766841fad Add usage-hint concepts. 2025-04-27 14:51:34 -04:00
Thomas Harte 9162c86e21 Test, improve BitStream. 2025-02-20 22:42:02 -05:00
Thomas Harte 88ffcbc62b Work in terms of the number of bits to be handled. 2025-02-19 22:04:51 -05:00
Thomas Harte 79671890c5 Generalise and improve BitStream. 2025-02-18 23:17:39 -05:00
Thomas Harte ea81096a43 Reinstall debugging temporariness. 2025-02-07 18:09:33 -05:00
Thomas Harte 07493a6b18 Remove need for a CRC generator instance. 2025-02-04 22:54:39 -05:00
Thomas Harte ca7c1bc631 Remove redundant inlines. 2025-02-04 00:00:12 -05:00
Thomas Harte 259070c658 Unify reverse functions. 2025-02-03 23:58:41 -05:00
Thomas Harte e1a7dd9b24 Implement recursive reverse. 2025-02-03 23:50:15 -05:00
Thomas Harte d7b7152315 Apply const liberally. 2025-01-28 18:26:34 -05:00
Thomas Harte 01ddc24c02 Require overt acknowledgement of meaning. 2025-01-28 17:42:26 -05:00
Thomas Harte 53a3e88d16 Shunt CRC XOR table generation to compile time. 2025-01-28 17:36:32 -05:00
Thomas Harte 589903c43c Add safety rail. 2024-12-13 23:14:00 -05:00
Thomas Harte 389ba95e5a Template out the usual repetitive stuff of segment finding. 2024-12-11 21:30:58 -05:00
Thomas Harte ce5aae3f7d Adjust more dangling indentation changes. 2024-12-04 22:29:08 -05:00
Thomas Harte 8b88d1294d Remove errant spaces. 2024-12-01 09:04:32 -05:00
Thomas Harte b7777c9ca3 Avoid linkage warning. 2024-05-24 15:39:38 -04:00
Thomas Harte 6d769c9e89 Use string similarity as a program differentiator. 2024-05-21 21:49:30 -04:00
Thomas Harte bc5727af14 Switch to = default. 2024-02-16 21:50:15 -05:00
Thomas Harte a3d37640aa Switch include guards to #pragma once. 2024-01-16 23:34:46 -05:00
Thomas Harte 6ac66dad0c Remove stale notes. 2023-10-25 22:22:20 -04:00
Thomas Harte 6cecb84878 Add #include. 2023-10-25 09:09:51 -04:00
Thomas Harte fbd647080d Start factoring out useful ALU stuff. 2023-10-11 11:06:20 -04:00
Thomas Harte e46e42d896 This is the same test either way around. 2023-10-09 16:47:02 -04:00
Thomas Harte 1cb26cb141 Pull add/sub distinction into templates. 2023-10-09 16:40:50 -04:00
Thomas Harte 139a1a2acc Clean up decimal ADC. 2023-08-30 23:04:38 -04:00
Thomas Harte 60bec3d4c0 Eliminate trailing whitespace, fix tabs. 2023-05-12 14:03:38 -04:00
Thomas Harte ce6dd188a4 Double up on alignas. 2023-02-01 14:31:40 -05:00
Thomas Harte 0951c50e40 Further explain. 2023-01-17 20:14:32 -05:00
Thomas Harte eb51ed9ae8 Shift ownership of initial values. 2023-01-17 17:36:15 -05:00
Thomas Harte 83cf4497dd Split encode and decode for clearer naming. 2023-01-17 17:33:52 -05:00
Thomas Harte f6e601daff Introduce a template for numeric coding. 2023-01-17 13:26:11 -05:00
Thomas Harte fb0241cf6e Be overt about alignment. 2023-01-13 14:30:17 -05:00
Thomas Harte 27d37f71ec Generalise and better factor bit reversal and TMS drawing. 2023-01-05 13:18:10 -05:00
Thomas Harte 13848ddbbc Add half-and-half access for SlicedInt32. 2022-05-16 16:56:54 -04:00
Thomas Harte 824d3ae3f7 Conclusion: a union does produce better code.
(But needn't be so verbose)
2022-04-29 04:51:02 -04:00
Thomas Harte 8a18685902 Relocated RegisterSizes to Numeric. 2022-04-28 15:10:08 -04:00
Thomas Harte 955cb6411c Factor out bit spreading.
(And do a better job of it)
2021-10-12 14:49:01 -07:00
Thomas Harte 90782d3c27 Corrects for IntType != int. 2021-06-26 23:39:37 -04:00
Thomas Harte 0afa143375 Add missing include. 2021-06-22 21:31:46 -04:00
Thomas Harte 8319aca351 Correct syntax errors. 2021-06-22 20:50:03 -04:00
Thomas Harte d2ab0dd839 Adds a quick way to get the compiler to pick an integral type. 2021-06-22 19:33:29 -04:00
Thomas Harte 2574407afb Relocates MinIntTypeValue to Numeric. 2021-06-22 19:33:02 -04:00
Thomas Harte f190a1395a Enables detection of CPC-format tape data.
It turns out that the Spectrum's timings are its alone; speed autodetection added.
2021-03-10 22:02:10 -05:00
Thomas Harte 512a52e88d Increases const correctness, marks some additional constructors as constexpr, switches std::atomic construction style. 2020-05-20 23:34:26 -04:00
Thomas Harte a5d1941d28 Adds necessary standalone #imports; makes safe for signed types. 2020-04-25 22:21:10 -04:00
Thomas Harte 027af5acca Allow LFSR to be instantiated with a given value. 2020-04-05 22:58:09 -04:00
Thomas Harte 4b53f6a9f0 Renames T to the more-communicative IntType, adds some explicit constexpra. 2020-01-27 08:28:20 -05:00