Changeset 75233 in vbox
- Timestamp:
- Nov 2, 2018 6:22:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/orgs.asm
r75229 r75233 214 214 endif 215 215 216 ;; Keyboard related constants 217 KBDC_DISABLE EQU 0ADh 218 KBDC_ENABLE EQU 0AEh 219 KBC_CMD EQU 64h 220 KBC_DATA EQU 60h 221 222 216 223 ;; NOTE: The last 8K of the ROM BIOS are peppered with fixed locations which 217 224 ;; must be retained for compatibility. As a consequence, some of the space is … … 250 257 251 258 eoi_jmp_post: 252 call eoi_both_pics 259 ;; Calling eoi_both_pics can't be done because it writes to stack, potentially 260 ;; corrupting memory. AT BIOS also only clears the master PIC, not both. 261 ;; clear keyboard buffer (and possible interrupt) 262 in al, KBC_DATA 263 mov al, PIC_CMD_EOI 264 out PIC_MASTER, al 265 253 266 no_eoi_jmp_post: 254 xor ax, ax267 mov ax, 40h 255 268 mov ds, ax 256 jmp dword ptr ds:[ 0467h]269 jmp dword ptr ds:[67h] 257 270 258 271 seg_40_value: dw 40h ;; Replaces a push 40; pop ds. … … 353 366 check_next_std: 354 367 368 mov sp, 400h 355 369 ;; 05h = EOI + jump through 40:67 356 370 cmp al, 5 … … 945 959 946 960 947 KBDC_DISABLE EQU 0ADh948 KBDC_ENABLE EQU 0AEh949 KBC_CMD EQU 64h950 KBC_DATA EQU 60h951 952 961 ;; -------------------------------------------------------- 953 962 ;; INT 09h handler - Keyboard ISR (IRQ 1)
Note:
See TracChangeset
for help on using the changeset viewer.