1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-04-26 21:46:57 +00:00

Commit Graph

  • 4089532f81
    Merge pull request #1505 from TomHarte/OtherC++20Improvements master Thomas Harte 2025-04-25 23:54:31 -04:00
  • 9790b4d2e9 Throw in some consts. Thomas Harte 2025-04-25 23:17:00 -04:00
  • ad37c0d2ac Use std::rotr. Thomas Harte 2025-04-25 23:10:09 -04:00
  • b7a1fd4f8f Autodetect whether shift count could be a register. Thomas Harte 2025-04-25 23:01:04 -04:00
  • be5362e393 Eliminate builtin. Thomas Harte 2025-04-25 23:00:36 -04:00
  • 4977c9bc4c Further use rotl/r. Thomas Harte 2025-04-25 22:53:11 -04:00
  • e13dbc03da Make elementary use of rotl and rotr. Thomas Harte 2025-04-25 22:37:43 -04:00
  • 16fec0679b Use std::popcount further. Thomas Harte 2025-04-25 22:24:00 -04:00
  • 55361b8552 Remove unused popcount. Thomas Harte 2025-04-25 22:18:39 -04:00
  • cc67993621 Temporarily disable, in lieu of splitting memory. Thomas Harte 2025-04-25 22:18:25 -04:00
  • 49ba4998d6 Use std::popcount for parity. Thomas Harte 2025-04-25 22:18:05 -04:00
  • 03eb381b3b Adopt std::ranges::copy where it is trivial to do so. Thomas Harte 2025-04-25 22:17:07 -04:00
  • e5161faa43
    Merge pull request #1504 from TomHarte/M_PI Thomas Harte 2025-04-25 21:43:06 -04:00
  • de78fb7a1c Eliminate all references to M_PI. Thomas Harte 2025-04-24 21:57:29 -04:00
  • a9ceb5e21a
    Merge pull request #1503 from TomHarte/C++20 Thomas Harte 2025-04-24 21:52:01 -04:00
  • e62b41f615 Avoid implicit capture of 'this' via '='. Thomas Harte 2025-04-24 21:27:23 -04:00
  • 592e339b70 Resolve syntax error, fix line lengths. Thomas Harte 2025-04-24 21:12:17 -04:00
  • 84a9138df7 Bump to C++20. Thomas Harte 2025-04-24 20:56:15 -04:00
  • 6db7c4a8eb
    Merge pull request #1502 from TomHarte/LocalFilesystemAccess Thomas Harte 2025-04-23 12:38:36 -04:00
  • 213bd09a9c Remove test trap. Thomas Harte 2025-04-23 11:36:29 -04:00
  • 8eb246cdec Improve consts, line lengths. Thomas Harte 2025-04-23 11:01:23 -04:00
  • caacf8e373 Eliminate macros. Thomas Harte 2025-04-23 10:51:49 -04:00
  • c53d42a578 Eliminate macro. Thomas Harte 2025-04-23 10:38:42 -04:00
  • cfc5ef4a3c Eliminate risk of overrun. Thomas Harte 2025-04-22 22:50:38 -04:00
  • e78c1bbec9 Improve consts, indentation. Thomas Harte 2025-04-22 22:42:13 -04:00
  • b1582d33c0 Adjust indentation, remove one macro. Thomas Harte 2025-04-22 21:45:36 -04:00
  • 5abcf28a0e
    Merge pull request #1498 from TomHarte/Descriptors Thomas Harte 2025-04-22 21:23:17 -04:00
  • 4cd57856ce Take ownership of 32-bit assumption. Thomas Harte 2025-04-22 21:10:20 -04:00
  • a826fd5c0e Add return. Thomas Harte 2025-04-21 23:14:28 -04:00
  • 7de23ec2aa Be specific about types. Thomas Harte 2025-04-21 23:03:57 -04:00
  • d7d2957319 Avoid fallthrough warning. Thomas Harte 2025-04-21 22:57:07 -04:00
  • fbd81b9930 Merge branch 'master' into Descriptors Thomas Harte 2025-04-21 22:43:30 -04:00
  • dacb52403a
    Merge pull request #1501 from TomHarte/NoVLAs Thomas Harte 2025-04-21 15:24:40 -04:00
  • e008a02b99 Shuffle further to avoid optics of a fallthrough. Thomas Harte 2025-04-21 15:13:10 -04:00
  • 9363453720 Reduce macros. Thomas Harte 2025-04-21 15:00:49 -04:00
  • 9c70615fd1 Trim maximum line length. Thomas Harte 2025-04-21 15:00:02 -04:00
  • 1c78c65816 Add missing constraint. Thomas Harte 2025-04-21 09:19:36 -04:00
  • 2a9a68ca53 Annotate further fallthroughs. Thomas Harte 2025-04-21 09:15:55 -04:00
  • fb16baab99 Add further fallthrough. Thomas Harte 2025-04-20 23:39:26 -04:00
  • 54f509c210 Enforce size restriction. Thomas Harte 2025-04-20 23:27:44 -04:00
  • 5be8e5eff3 Avoid improper fallthroughs. Thomas Harte 2025-04-20 22:55:03 -04:00
  • 29b9f129f6 Improve constness, line lengths, eliminate macros. Thomas Harte 2025-04-20 22:33:44 -04:00
  • f41629daae Add compiler-calming fallthroughs. Thomas Harte 2025-04-20 22:19:11 -04:00
  • feea6023f4 Eliminate macro. Thomas Harte 2025-04-20 12:37:14 -07:00
  • 262d8cd0d9 Enable further warnings. Thomas Harte 2025-04-20 12:31:57 -07:00
  • fbbec04f8c Update version check. Thomas Harte 2025-04-20 12:29:03 -07:00
  • 3e4eaee96b Overtly cast. Thomas Harte 2025-04-20 12:27:38 -07:00
  • 5f99a2240d Shorten lines; apply minor style fixes. Thomas Harte 2025-04-20 12:26:37 -07:00
  • 5937387e94 Overtly note fallthrough. Thomas Harte 2025-04-20 11:55:07 -07:00
  • b3099d8e71 Eliminate use of VLAs. Thomas Harte 2025-04-12 14:34:57 -04:00
  • 7721f74200 Further flesh out descriptors: decode all bits, add printf warnings. Thomas Harte 2025-04-10 17:07:45 -04:00
  • fa58cc05f3 Attempt to avoid type punning. Thomas Harte 2025-04-06 22:48:22 -04:00
  • c61a9e47b2 Slightly tweak constness. Thomas Harte 2025-04-06 22:40:29 -04:00
  • 148ee266ed Extend operator== path. Thomas Harte 2025-04-06 22:37:59 -04:00
  • 8ccec81cc6 Disable awaiting_eoi_. Thomas Harte 2025-04-06 22:24:25 -04:00
  • 668901f71d Fix comparison. Thomas Harte 2025-04-06 22:24:09 -04:00
  • ad6ad144a5 Don't regress PC for external interrupts. Thomas Harte 2025-04-05 21:39:37 -04:00
  • d5997a30b2 Reset output on latch write in applicable modes. Thomas Harte 2025-04-04 12:30:08 -04:00
  • ecc7501377 Avoid explicit instantiation, precedence error. Thomas Harte 2025-04-03 22:09:49 -04:00
  • 45262a1a46 Copy reload value to latch. Thomas Harte 2025-04-03 21:59:26 -04:00
  • 3c04e08df2 Ensure 16-bit ins and outs always occur as two 8-bit operations. Thomas Harte 2025-04-03 19:52:40 -04:00
  • 7c7675179e Restrict shift operand size, causing text output at last. Thomas Harte 2025-04-03 17:42:15 -04:00
  • 88ed49a833 Enable A20 at reset; fully propagate return to real mode. Thomas Harte 2025-04-03 16:14:49 -04:00
  • 0c88e62815 Add various caveman debugging comments. Thomas Harte 2025-04-02 23:28:20 -04:00
  • 88d34012c4 Continue trying to flesh out exceptions. Thomas Harte 2025-04-02 23:27:02 -04:00
  • 3be8de6fb0 Enforce set-only nature of protected mode bit. Thomas Harte 2025-04-02 23:26:21 -04:00
  • 804fbf5d5f Add [S/L]MSW. Thomas Harte 2025-04-02 23:24:28 -04:00
  • 1a68dcbc14 PUSH always pushes a word. Thomas Harte 2025-04-02 23:24:00 -04:00
  • a9a72a767d Improve fault pathways. Thomas Harte 2025-04-01 09:13:41 -04:00
  • afc3a8d373 Correct header path. Thomas Harte 2025-03-31 09:54:11 -04:00
  • da00e6588c Consolidate on class. Thomas Harte 2025-03-31 09:34:17 -04:00
  • d6376d0ddf Remove improper header. Thomas Harte 2025-03-31 09:33:30 -04:00
  • 1cca711560 Name MSW bits. Thomas Harte 2025-03-30 14:04:43 -04:00
  • 552f9196af Convert INTO, AAM; map which instructions post their IP. Thomas Harte 2025-03-30 13:39:52 -04:00
  • c6fa72cd83 Bring bound inside new orthodoxy. Thomas Harte 2025-03-30 13:31:39 -04:00
  • 42edc46887 Add invalid-opcode exception; transcribe has-code table. Thomas Harte 2025-03-30 13:29:20 -04:00
  • ec7e343673 Start to establish throw/catch of 80286 exceptions. Thomas Harte 2025-03-30 13:23:36 -04:00
  • 69d4d8acb0 Switch to construct and copy. Thomas Harte 2025-03-29 17:27:29 -04:00
  • a7eab8df22 Add getter for local descriptor table. Thomas Harte 2025-03-29 17:24:30 -04:00
  • 4247da9118 Add notes to self on exceptions. Thomas Harte 2025-03-27 18:08:09 -04:00
  • cfba8aeb89 Make style improvements. Thomas Harte 2025-03-27 18:07:52 -04:00
  • db26a26926 Fix decoding of PUSH immediate. Thomas Harte 2025-03-27 13:07:13 -04:00
  • 1551fbeb1f Make some stab at descriptor fetch. Thomas Harte 2025-03-27 12:50:50 -04:00
  • d5c53ca624 Set A20 line properly. Thomas Harte 2025-03-26 21:51:43 -04:00
  • b34702e370 Set an initial A20 state. Thomas Harte 2025-03-26 07:35:17 -04:00
  • 8b1543d9c9 Fuzz memory, setup FS and GS. Thomas Harte 2025-03-25 17:16:36 -04:00
  • e264375a97 Attempt to reintroduce 80286 support (as was). Thomas Harte 2025-03-25 09:24:55 -04:00
  • fd31d07f41 Begin division of memory into linear and segmented mappings. Thomas Harte 2025-03-24 22:58:19 -04:00
  • fac15f5539 Introduce a linear-memory holder. Thomas Harte 2025-03-24 21:23:08 -04:00
  • 6ad88101f1 Saunter up to a circular issue: segments needs memory access. Thomas Harte 2025-03-24 17:31:17 -04:00
  • 2768b66d10 Propagate mode change. Thomas Harte 2025-03-22 23:00:51 -04:00
  • d10164be26 Merge branch 'Descriptors' of github.com:TomHarte/CLK into Descriptors Thomas Harte 2025-03-22 22:09:50 -04:00
  • ce7ff13bbe Proceed to a local assert on LMSW. Thomas Harte 2025-03-22 21:57:56 -04:00
  • c1d2c159f3 Reenable backdoor AT. Thomas Harte 2025-03-21 11:22:09 -04:00
  • d3dbdb153c Use indexed descriptors. Thomas Harte 2025-03-21 11:20:33 -04:00
  • e7218c0321 Add means for indexed segment access. Thomas Harte 2025-03-21 11:16:25 -04:00
  • 48d8fdb875 Adopt descriptors in memory handling. Thomas Harte 2025-03-21 10:18:26 -04:00
  • b387ca921a Merge branch 'master' into Descriptors Thomas Harte 2025-03-20 21:09:09 -04:00
  • 53c1a322ed Increase version number. 2025-03-20 Thomas Harte 2025-03-20 15:39:42 -04:00
  • 0c502fc9cf Adopt more consistent 'Pointer' naming; eliminate size warning. Thomas Harte 2025-03-20 15:33:07 -04:00