Hey
Sorry for being away, I've been having really bad headaches and not able to do much.
Getting better hopefully.
So I've decided to just have the one keyboard have indicate on its leds and any other keyboard just remain blank.
Theres also a little lock LED pattern for times when a host PC isn't connected on the ps2 port and there is a USB keyboard connected. It repeats the pattern forever happy put to itself just to let you know that it's connected and waiting for a host PC.
I got the idea from some old demo(?) software i was having some fun with in dos, the LEDs on my keyboard just started strobing and I thought it was really nifty.
AT and PS2 protocols should be working with half of the command set working. I read of non-intel keyboard controllers ignoring some commands and just sending back an ACK mimicking the keyboard ACK. So I'm not pressed to support them all.
Typematic works, enable/disable works, set scancode between set 1/2/3 should work
XT I'm still figuring out. It should send keycodes as an XT clone keyboard would but I'm convinced it does something on startup and i can't figure out what.
Tl;dr: i think the keyboard controller would spit out a keyboard error but would still get keycodes.
I did specify XTclone since ibm XT and non ibm XT are a little different. Ibm XT has the double start bit and holds the dáta líne low when idle, vs the clones which hold the dáta líne high when idle and lack that second start bit.
I think at2xt converters use the 2 start bits but leave the data líne high when idle. I don't think the data line should matter tbh since data is read on the falling edge of the clock so i might leave it high. It would make it easier to know when the host is disconnected anyway.
Plus the host can pull the data líne low to block incoming data.
Right, um ramble over for the moment. I can't believe how long this project has taken but hopefully it'll actually be good in the end.
Be Happy, it's only going to get worse.
- Projects
Limes Strange 3D models
USB-2-232