I was meaning to disassemble Olivetti bios anyway at some point, and now is as good as any excuse 😀
Reading Olivetti bios is a pleasure, most likely because it was developed on 8086 in pure assembly with great care about code quality. Of course I still dont understand a lot of things, like for example whole hardware testing and error handling - the thing I was suppose to look up here 😀 This part is clever aka convoluted and will take some pondering.
Things I can say for sure about this Olivetti bios :
- It can take Boot Sector over SERIAL PORT 😮 at B482 it sends lone letter 't' (maybe for Trasmissione?) to first Serial port, receives 512 bytes into 7C00 <- standard bootsector loading address and size, and executes it. Neato!
- it does output some debug info 049F over first serial port. Too lazy to write what the numbers mean or to trace how to trigger it, but when engaged it expects * to output current maybe error number and after that * executes CPU test while g continues doing something.
- Dead code: Keyboard Controller takes custom commands I dont know (A8).
- Dead code: EA78 minor bug Keyboard Controller test function, writes wrong error status, but mostly works.
- Dead code: F177 totally broken Keyboard test function that 1 disables Keybaord clock so no data will come back and 2 doesnt wait for command ACK (FA). WTF is this 😀 thankfully its all in dead (as far as I can tell) unused code so doesnt concern you.
- finally real Keyboard test 9DA6. Its fine. can return 9 different statuses from 0 to 8. With any luck what you are seeing is this number. 8 means Bios requested BAT (Basic Assurance Test), Keyboard responded with 3x Resend (FE) = KBC parity/timeout error.
TLDR Keyboard is unable to cleanly read Commands send by the KBC on the mobo, but modo has no problem interpreting Resend reply. My first guess would be noisy power supply. Test 5V at PS2 connector, preferably with scope, maybe multimeter set to AC. You could also try sniffing PS2 data/clock pins to see if the communication is clean with no distortions.
Ill upload disassembly in a bit
Which pins did you connect 5V/powergood to on the Riser connector? Maybe it needs some additional capacitors on that rail, they were on teh riser after all.