DIR Return Create A Forum - Home
---------------------------------------------------------
Firestart Developer space
HTML https://firestartdev.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Driver development
*****************************************************
#Post#: 8--------------------------------------------------
Driver development
DIR By: Ceo
Date: May 31, 2026, 7:17 am
---------------------------------------------------------
I have a task here it is:Create the FireStart PS/2 Keyboard
Driver
Goal:
Write a basic keyboard driver that reads scancodes from the PS/2
controller and prints keys to the screen.
What the driver must do:
Read scancodes from port 0x60
Handle key press events
Convert scancodes to characters
Print characters using the kernel’s VGA text function
Ignore key releases for now
Requirements:
Must use inb() to read from I/O ports
Must NOT use libc or external libraries
Must run in QEMU
Must not crash the kernel
What to do:
Create a file named keyboard.c
Add a function to read from port 0x60
Add a scancode → ASCII conversion table
Add an interrupt handler for IRQ1
Print characters to the screen
Reply to this post with your code when finished
If someone already claimed this task, choose another one
*****************************************************
Page 1 of 1