First post, by Greyhawk
I found out why it wasn't working. 7CoG uses a direct method of resetting the keyboard at the port level. The method, which is actually shown in my Asm book, 7CoG uses is:
in al,20h ; read current value of port 20h
or al, 80h ; set 7th bit to 1
jmp $+2 ; delay
out 20h, al ; send value with 7th bit set to port 20h
and al, 7Fh ; clear 7th bit
jmp $+2 ; delay
out 20h, al ; send value with 7th bit clear to port 20h
(Quoted from my ASM book)
(Took out hack fix because it won't fly)