Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
back2root:ibm-pc-ms-dos:hardware:8042 [2022/12/29 16:43] – [8042 Commands Related to PC Systems (Port 64h)] frater | back2root:ibm-pc-ms-dos:hardware:8042 [2023/01/05 03:12] (Version actuelle) – [Keyboard Responses to System (read port 60h)] frater | ||
---|---|---|---|
Ligne 54: | Ligne 54: | ||
- | < | + | < |
command F7h through FDh are NOP's on the AT and are ACK'ed but not acted upon | command F7h through FDh are NOP's on the AT and are ACK'ed but not acted upon | ||
</ | </ | ||
Ligne 60: | Ligne 60: | ||
see [[back2root: | see [[back2root: | ||
- | ===== 8042 - Speaker Controller (AT,PS/2) - Port 61h ===== | + | ===== 8042 - Speaker Controller |
+ | This register can be Write and Read | ||
+ | |||
+ | ^ bit ^ Description | ||
+ | | 0 | PIT Channel 2 enabled (see [[back2root: | ||
+ | | 1 | Speaker Position\\ < | ||
+ | | 2 | | | ||
+ | | 3 | | | ||
+ | | 4 | | | ||
+ | | 5 | | | ||
+ | | 6 | | | ||
+ | | 7 | Reset Keyboard status (scan code readed) | ||
+ | |||
+ | === Speaker === | ||
The speaker itself has two possible positions, " | The speaker itself has two possible positions, " | ||
- | This position can be set through bit 1 of port 0x61 on the Keyboard Controller. If this bit is set (=1), the speaker will move to the " | + | This position can be set through bit 1 of port 0x61 on the Keyboard Controller. |
+ | |||
+ | If this bit is set (=1), the speaker will move to the " | ||
+ | |||
+ | Moving in and out repeatedly produces audible tones if the speed of repetition (the frequency) is within the range the speaker can reproduce and the human ear can hear. Also, a single movement in or out makes a click sound because it's so fast. Thus, a frequency which is too low to be heard as a tone may be heard as a rattle or buzz. (In fact, any frequency produced by this system also produces higher frequencies; | ||
==== 8042 Status Register (port 64h read) ==== | ==== 8042 Status Register (port 64h read) ==== | ||