Bona Fide OS Developer
View unanswered posts | View active topics It is currently Fri Oct 15, 2021 9:19 pm



Post new topic Reply to topic  [ 1 post ] 
 PS/2 Keyboard Information 
Author Message

Joined: Sun Sep 19, 2010 9:45 am
Posts: 24
Post PS/2 Keyboard Information
I wanted to finally be able to use the keyboard of newer machines like an eMachines M6805 laptop with AMD64 3000+ x64 CPU from before 2007, wondering if it's USB, but many are still PS/2.

https://www.win.tue.nl/~aeb/linux/kbd/scancodes-11.html#kccd1
KBC command 0xD1 with value 0xFF (write output port and enable all) locks up some machines and it's not vital as it's used for resetting, enabling A20 and enabling keyboard/mouse clocks, but those things can be done in other ways.

Command 0xAE (enable keyboard) as used by VisOpSys (src/kernel/KernelPs2KeyboardDriver.c where it says outPort64(0xAE);) is not normally needed, at least for initialization.

_________________
Image ~
Image


Tue Nov 24, 2020 11:06 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.