Hi!
I found an old IBM Model M keyboard in the dumpster of my university.
The keyboard works fine, every key still has its legendary click...
This Keyboard has a speaker, and I'd like to access it.
I wrote this tiny x86 Assembler program some time ago, to set the LEDs
on it:
section .text
global _start
_start:
mov al, 0EDh ; command to set LEDs to keyboard
out 60h, al ; write command
mov al, 111b ; set flags
out 60h, al ; write flags
mov al,1 ; system call number (sys_exit)
int 0x80 ; call kernel
I don't know much about I/O-Registers, obviously 60h is for the keyboard.
Now I'd like to know two things:
1. What is the command code (sequence) to access the speaker of an old
IBM Model M (1993 made)
2. How can I read keyboard data (what register and how should I access it)
Regards,
--polemon
--
-EOF-


|