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

13946 Commits

Author SHA1 Message Date
Thomas Harte 2cf0c4f8aa Switch horses only when certain. 2026-02-21 22:42:22 -05:00
Thomas Harte ea3e9a96f1 Detect and expose is-interlaced flag.
With plenty of exposition to avoid confusing the reader into thinking that the emulator is predicated on this in an unrealistic fashion.
2026-02-21 21:17:35 -05:00
Thomas Harte f156265318 Add mask optimisation. 2026-02-21 21:17:18 -05:00
Thomas Harte 5170ae7abc Merge pull request #1706 from TomHarte/MacJoystickContention
Put keyboard-as-joystick within an @synchronize.
2026-02-19 14:05:58 -05:00
Thomas Harte f5b20e6c23 Put keyboard-as-joystick within an @synchronize. 2026-02-19 13:43:26 -05:00
Thomas Harte ffb7aa8834 Merge pull request #1705 from TomHarte/MetalRangeModifies
Metal: correct values passed to `didModifyRange`.
2026-02-19 12:53:07 -05:00
Thomas Harte c62dabd6f5 Eliminate 'BufferWidth' entirely as a non-descriptive name. 2026-02-19 12:45:13 -05:00
Thomas Harte 5947a857c2 Correct byte address calculation. 2026-02-19 12:44:03 -05:00
Thomas Harte 0f5e20e859 Merge pull request #1704 from TomHarte/UndefinedBehaviourRedux
Resolve minor instances of undefined behaviour.
2026-02-19 12:43:31 -05:00
Thomas Harte 69b9aa9b57 Remove done TODO. 2026-02-19 12:31:45 -05:00
Thomas Harte 9cd68c956a Avoid taking offset from nullptr. 2026-02-19 12:31:45 -05:00
Thomas Harte fafae46fac Eliminate out-of-bounds risk. 2026-02-19 12:31:45 -05:00
Thomas Harte 6df2ee1427 Avoid potential out-of-bounds accesses. 2026-02-19 12:31:45 -05:00
Thomas Harte ff0fa8b7c0 Merge pull request #1702 from TomHarte/ThreadSanitiser
Resolve random selection of thread-sanitiser-revealed issues.
2026-02-18 18:13:19 -05:00
Thomas Harte 4f114d8370 Add header for std::lock_guard. 2026-02-18 16:02:44 -05:00
Thomas Harte 742480d2a4 Switch to overt atomic-pointer-read form, clearly to avoid deadlock. 2026-02-18 15:24:35 -05:00
Thomas Harte 224d039405 Take refreshPeriod outside scheduled work, to avoid deadlock. 2026-02-18 14:12:22 -05:00
Thomas Harte fa9bae55d8 Add lock for using scan_target_. 2026-02-18 14:12:05 -05:00
Thomas Harte b49e78975f Use mutex; guard strongSelf references. 2026-02-18 13:23:17 -05:00
Thomas Harte 205e21ba21 Avoid synchronisation issues on inputs_. 2026-02-18 13:18:24 -05:00
Thomas Harte 91a735e4a0 Avoid potential unsafe access of updater. 2026-02-18 13:06:22 -05:00
Thomas Harte 455f40c6ef Ensure safe access to use_fast_tape_hack_. 2026-02-18 13:05:55 -05:00
Thomas Harte 9b65349908 Ensure safe usage of force_horizontal_scans.load. 2026-02-18 13:01:56 -05:00
Thomas Harte bc3be5e42c Force serialisation of callback responses. 2026-02-18 12:58:06 -05:00
Thomas Harte 1d3cf801e6 Add some drive-by consts. 2026-02-18 12:55:55 -05:00
Thomas Harte 56969484c8 Ensure safe access to joystick inputs. 2026-02-18 12:53:56 -05:00
Thomas Harte 92b49afada Ensure atomic access to actions_. 2026-02-18 12:53:31 -05:00
Thomas Harte 3de16e28c9 Merge pull request #1698 from TomHarte/IncludedROMs
Include Amstrad and Sinclair ROMs in repository and executable.
2026-02-17 12:39:19 -05:00
Thomas Harte 3f05a975f9 Fix project membership. 2026-02-17 11:56:28 -05:00
Thomas Harte 0fa67d525e Exclude ROM catalogue from macOS build.
I can be confident of an application bundle with resources included there.
2026-02-17 11:31:00 -05:00
Thomas Harte a1eefd9dfa Use ROM library from Qt and SDL. 2026-02-17 10:41:26 -05:00
Thomas Harte 588633985f Inaugurate the ROM library; correct SpectrumPlus2 typo. 2026-02-17 09:56:18 -05:00
Thomas Harte 7c75f4031c Add Amstrad ROMs to repository. 2026-02-17 09:29:46 -05:00
Thomas Harte b0e6164171 Merge pull request #1697 from TomHarte/ParallelLines
Force strictly-horizontal scan lines.
2026-02-17 07:27:22 -05:00
Thomas Harte 406fc85186 First blush: force always-horizontal, always. 2026-02-16 23:35:30 -05:00
Thomas Harte 717235cede Add a delegate route for requesting exactly-horizontal scans. 2026-02-16 23:07:14 -05:00
Thomas Harte f493c5160c Merge pull request #1696 from TomHarte/MOOF
Support MOOF files.
2026-02-16 20:05:06 -05:00
Thomas Harte c75dcf2f44 Walk towards writing, without doing it. 2026-02-16 18:19:09 -05:00
Thomas Harte 70292f6c7f Implement 'clone'. 2026-02-16 18:12:49 -05:00
Thomas Harte 2c31d1fbe1 Attempt flux tracks. 2026-02-16 14:27:37 -05:00
Thomas Harte 99bafb1733 Attempt GCR (i.e. non-Flux) support. 2026-02-16 11:39:11 -05:00
Thomas Harte 2e7582e0ee Remove unused header. 2026-02-15 22:43:20 -05:00
Thomas Harte d64ce62652 Add missing header. 2026-02-15 22:42:40 -05:00
Thomas Harte 752d18fcc6 Start importing code from WOZ, preparatory to a refactoring. 2026-02-15 22:42:14 -05:00
Thomas Harte 1f9445c45c Update comment; commute static_assert to requires. 2026-02-15 22:41:59 -05:00
Thomas Harte 3283e3313a Correct typo; check CRC. 2026-02-15 21:06:56 -05:00
Thomas Harte 57121470c8 Add container for MOOF files. 2026-02-15 21:00:27 -05:00
Thomas Harte e64462ade4 Merge pull request #1692 from TomHarte/BufferingScanTargetFrames
Further unify usage of BufferingScanTarget
2026-02-15 17:59:28 -05:00
Thomas Harte d9b05bcd87 Merge pull request #1695 from TomHarte/ClampRange
Correct clamping when converting to a type with a wider range.
2026-02-15 17:54:56 -05:00
Thomas Harte 2f9748414e Avoid further accidental scope expansion in the future. 2026-02-15 17:42:24 -05:00