Keyboard programming via the PPI

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Keyboard programming via the PPI

Post by Love4Boobies »

On old systems, before KBCs came to be they used PPIs (Programmable Peripheral Interface controllers) to control the keyboard. Did anyone here ever write a driver for such a thing? Is the keyboard the only thing PPIs were used for (I doubt it). Do you know of any emulators and/or virtual machines offer PPI support?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Keyboard programming via the PPI

Post by Combuster »

From a google query, most references go back to a 8086 era system.

In other words: don't bother :wink:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Keyboard programming via the PPI

Post by Troy Martin »

http://www.nondot.org/sabre/os/files/HC ... ardFAQ.txt has about twenty lines of PPI programming.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Keyboard programming via the PPI

Post by Love4Boobies »

Combuster wrote:From a google query, most references go back to a 8086 era system.

In other words: don't bother :wink:
It was just out of curiosity. Besides, writing a driver for that doesn't look like much of a job either.
Troy Martin wrote:http://www.nondot.org/sabre/os/files/HCI/KeyboardFAQ.txt has about twenty lines of PPI programming.
Thanks for the tip :)
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply