6:07:27fitzsimOK, progress, I reset the PS/2 controller at the start of probe-ps/2
6:07:45fitzsimnow the mouse works reliably no matter what I do in GRUB
6:08:20fitzsimI need to write the keyboard probing logic next and confirm that works reliably
6:10:03fitzsim(right now the keyboard doesn't work at all because Mezzano is assuming the bootcode has configured it, and that configuration is wiped out by resetting the controller)
12:08:19froggeyiirc it expects keyboard scancode set 1, with translation enabled in the controller
13:29:27fitzsim;; FIXME: Wait 1ms or something instead of this.
13:29:44fitzsimwhile I'm at it, should I fix those using (safe-sleep 0.001)?
13:32:21froggeyno, they shouldn't sleep. they should poll the status port until the timeout has elapsed
13:34:26fitzsimOK, the buffer cleaning code I added sleeps 1ms between polls, and polls up to 400 times before giving up