HP Dc7700 HP Compaq dx7300 and dc7700 Business PC Technical Reference Guide, 1 - Page 98

Table 5-15., CPU Commands to the 8042, Value, Command Description

Page 98 highlights

Input/Output Interfaces Value A9h AAh ABh ADh AEh C0h C2h C3h D0h D1h D2h D3h D4h E0h F0h-FFh Table 5-15. (Continued) CPU Commands to the 8042 Command Description Test the clock and data lines of the pointing device interface and place test results in the output buffer. 00h = No error detected 01h = Clock line stuck low 02h = Clock line stuck high 03h = Data line stuck low 04h = Data line stuck high Initialization. This command causes the 8042 to inhibit the keyboard and pointing device and places 55h into the output buffer. Test the clock and data lines of the keyboard interface and place test results in the output buffer. 00h = No error detected 01h = Clock line stuck low 02h = Clock line stuck high 03h = Data line stuck low 04h = Data line stuck high Disable keyboard command (sets bit of the 8042 command byte). Enable keyboard command (clears bit of the 8042 command byte). Read input port of the 8042. This command directs the 8042 to transfer the contents of the input port to the output buffer so that they can be read at port 60h. Poll Input Port High. This command directs the 8042 to place bits of the input port into the upper half of the status byte on a continous basis until another command is received. Poll Input Port Low. This command directs the 8042 to place bits of the input port into the lower half of the status byte on a continous basis until another command is received. Read output port. This command directs the 8042 to transfer the contents of the output port to the output buffer so that they can be read at port 60h. Write output port. This command directs the 8042 to place the next byte written to port 60h into the output port (only bit can be changed). Echo keyboard data. Directs the 8042 to send back to the CPU the next byte written to port 60h as if it originated from the keyboard. No 11-to-9 bit translation takes place but an interrupt (IRQ1) is generated if enabled. Echo pointing device data. Directs the 8042 to send back to the CPU the next byte written to port 60h as if it originated from the pointing device. An interrupt (IRQ12) is generated if enabled. Write to pointing device. Directs the 8042 to send the next byte written to 60h to the pointing device. Read test inputs. Directs the 8042 to transfer the test bits 1 and 0 into bits of the output buffer. Pulse output port. Controls the pulsing of bits of the output port (0 = pulse, 1 = don't pulse). Note that pulsing bit will reset the system. 5-20 www.hp.com Technical Reference Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

5-20
www.hp.com
Technical Reference Guide
Input/Output Interfaces
A9h
Test the clock and data lines of the pointing device interface and place test results in the output
buffer.
00h = No error detected
01h = Clock line stuck low
02h = Clock line stuck high
03h = Data line stuck low
04h = Data line stuck high
AAh
Initialization. This command causes the 8042 to inhibit the keyboard and pointing device and
places 55h into the output buffer.
ABh
Test the clock and data lines of the keyboard interface and place test results in the output buffer.
00h = No error detected
01h = Clock line stuck low
02h = Clock line stuck high
03h = Data line stuck low
04h = Data line stuck high
ADh
Disable keyboard command (sets bit <4> of the 8042 command byte).
AEh
Enable keyboard command (clears bit <4> of the 8042 command byte).
C0h
Read input port of the 8042. This command directs the 8042 to transfer the contents of the input
port to the output buffer so that
they can be read at port 60h.
C2h
Poll Input Port High. This command directs the 8042 to place bits <7..4> of the input port into the
upper half of the status byte on a continous basis until another command is received.
C3h
Poll Input Port Low. This command directs the 8042 to place bits <3..0> of the input port into the
lower half of the status byte on a continous basis until another command is received.
D0h
Read output port. This command directs the 8042 to transfer the contents of the output port to the
output buffer so that they can be read at port 60h.
D1h
Write output port. This command directs
the 8042 to place the next byte written to port 60h into
the output port (only bit <1> can be changed).
D2h
Echo keyboard data. Directs the 8042 to send back to the CPU
the next byte written to port 60h
as if it originated from the keyboard. No 11-to-9 bit translation takes place but an interrupt
(IRQ1) is generated if enabled.
D3h
Echo pointing device data. Directs the 8042 to send back to the CPU
the next byte written to port
60h as if it originated from the pointing device.
An interrupt (IRQ12) is generated if enabled.
D4h
Write to pointing device. Directs the 8042 to send the next byte written to 60h to the pointing
device.
E0h
Read test inputs. Directs the 8042 to transfer the test bits 1 and 0 into bits <1,0> of the output
buffer.
F0h-FFh
Pulse output port. Controls the pulsing of bits <3..0> of the output port (0 = pulse,
1 = don’t
pulse). Note that pulsing bit <0> will reset the system.
Table 5-15.
(Continued)
CPU Commands to the 8042
Value
Command Description