1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-01-24 23:35:12 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Thomas Harte
c5dc65fc61 Resolve various whitespace errors. 2025-10-29 11:50:56 -04:00
Thomas Harte
105272630e Definitively eliminate per-logger state. 2025-09-11 23:29:47 -04:00
Thomas Harte
035713b4d3 Remove logging. 2025-09-10 23:00:42 -04:00
Thomas Harte
e07dee380d Experiment with further delays. 2025-09-10 14:18:30 -04:00
Thomas Harte
125bc5baa6 Install communication delay. 2025-09-10 13:48:51 -04:00
Thomas Harte
995444b11b Add TODO on what seems to be the current issue. 2025-09-10 11:33:38 -04:00
Thomas Harte
0cdd1c23ce Guess at another ID.
Cf. https://stanislavs.org/helppc/keyboard_commands.html
2025-09-09 23:40:55 -04:00
Thomas Harte
4765a39759 New guess: writing to the keyboard implicitly enables communications. 2025-09-09 23:38:21 -04:00
Thomas Harte
7f4047772c Continue naming things. 2025-09-09 15:36:02 -04:00
Thomas Harte
45c4ca6bec Attempt further to elide storage. 2025-09-09 13:58:37 -04:00
Thomas Harte
4a573a5aae Clarify one magic constant. 2025-09-09 13:44:31 -04:00
Thomas Harte
5125ff6a8c Combine enables, silence port 61 for now. 2025-09-09 11:16:42 -04:00
Thomas Harte
482d3301ce Avoid faulty sector access. 2025-09-08 23:14:50 -04:00
Thomas Harte
cdeec8ac47 Take various more failed swings at which bits do what. 2025-09-08 22:54:10 -04:00
Thomas Harte
3cef12b53b Reintroduce proper ordering of log comments. 2025-09-08 22:27:40 -04:00
Thomas Harte
dd098a16a8 Log more. 2025-09-08 21:54:56 -04:00
Thomas Harte
5a57958639 Reduce log repetition. 2025-09-08 17:22:53 -04:00
Thomas Harte
260336c1e5 Adopt phase as communicative of whether more bytes are expected. 2025-09-08 17:13:27 -04:00
Thomas Harte
889cb9c78f Attempt a dual-queue solution to enabling/disabling keyboard. 2025-09-08 14:40:08 -04:00
Thomas Harte
12361d2854 Adopt proper error/info distinction. 2025-09-06 23:13:33 -04:00
Thomas Harte
e0917dc734 Switch focus back to keyboard. 2025-09-04 22:21:05 -04:00
Thomas Harte
91dfd405d1 Adjust logging. 2025-09-03 13:44:30 -04:00
Thomas Harte
1ca279d99d Add keyboard command lookaside; dummy IDE read. 2025-08-25 22:49:32 -04:00
Thomas Harte
8a149a188c Store keyboard command until enabled. 2025-08-25 22:44:22 -04:00
Thomas Harte
076334bc4e Take first stab at separating keyboard & controller. 2025-08-25 22:14:51 -04:00
Thomas Harte
a07615445f Uncover likely issue: commands directly to keyboard. 2025-08-23 22:51:09 -04:00
Thomas Harte
41d30c2835 More formally designate the resets. 2025-08-23 22:41:58 -04:00
Thomas Harte
71f1635e23 Name commands, implement a couple more. 2025-08-23 22:33:19 -04:00
Thomas Harte
4922073300 Reestablish pre-AT keyboard link. 2025-08-21 16:48:05 -04:00
Thomas Harte
778a02324e Add enabled flag. 2025-08-20 22:56:04 -04:00
Thomas Harte
8e89aa97a0 Switch status bit 3; fix reading of is_tested_; guess at it self-setting. 2025-08-20 22:09:08 -04:00
Thomas Harte
dfd521e938 Attempt to reformulate keyboard controller. 2025-08-20 17:17:54 -04:00
Thomas Harte
e68a356fd0 Adjust AT switches input. 2025-08-18 23:26:58 -04:00
Thomas Harte
0a65248bf7 Add MDA status register, various notes. 2025-08-14 22:28:22 -04:00
Thomas Harte
3c04e08df2 Ensure 16-bit ins and outs always occur as two 8-bit operations.
Advances the AT to system error 108, something about timer 2.
2025-04-03 19:52:40 -04:00
Thomas Harte
d5c53ca624 Set A20 line properly. 2025-03-26 21:51:43 -04:00
Thomas Harte
387e8b04f9 Adjust reported refresh timing. 2025-03-16 15:44:05 -04:00
Thomas Harte
592cea6a27 Tweak timing to once again pass BIOS controller test. 2025-03-12 12:31:29 -04:00
Thomas Harte
e76ca304e6 Attempt to support 60 and c0. 2025-03-11 22:54:54 -04:00
Thomas Harte
d77d8df1ac Add closer-to-real keyboard command loop. 2025-03-11 22:35:13 -04:00
Thomas Harte
e927feb2d6 Reintroduce is-tested flag. 2025-03-08 21:59:40 -05:00
Thomas Harte
98f20c57c1 Attempt to support reset-by-8042, resulting in boot loop. 2025-03-08 00:47:56 -05:00
Thomas Harte
4e882e7d4d Accept uint8_ts only. 2025-03-07 23:36:47 -05:00
Thomas Harte
cee2484108 Flip input/output, perform commands instantly. 2025-03-07 23:32:07 -05:00
Thomas Harte
8caa1a9664 Experiment with dialogue. 2025-03-07 14:24:08 -05:00
Thomas Harte
e07b3da983 Add commentary; start fleshing out AT keyboard controller. 2025-03-07 14:01:59 -05:00
Thomas Harte
2c165c3873 Avoid repetition of 'PC'. 2025-03-07 13:44:49 -05:00
Thomas Harte
9135402d9e Extract keyboard controller. 2025-03-07 13:43:21 -05:00