1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/programs/ps2_driver
2024-11-17 19:11:13 +01:00
..
src more work 2024-11-17 19:11:13 +01:00
meta.toml PS/2 work 2024-11-10 21:24:19 +01:00
README.md Driver workkkk 2024-11-17 17:57:06 +01:00

Unified PS/2 Driver

Te entire thing is heavily documented with comments because I'm not sure how else to make this understandable.

!!Assumptions!!

Anyone who works on this should work to keep this list as small as possible/remove as many of these as possible.

  • Bit 5 of the response form 0x64 indicates which port the data is coming from. (Not true on all systems)
  • A parity or timeout error never occurs.
  • PS/2 controller exists.
  • Both PS/2 ports being broken doesn't need handling.
  • One PS/2 port being broken doesn't need special attention.
  • PS/2 controller doesn't need to perform a self-check.
  • Stack overflows aren't a thing