Changeset 589 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
- Timestamp:
- May 22, 2016, 12:26:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r580 r589 240 240 push cx 241 241 xchg ax, cx ; IRQ index to CL 242 mov ch, 1 ; Load 1 to be shifted 243 shl ch, cl ; Shift bit to correct position 244 not ch ; Invert to create bit mask for clearing 242 mov ch, ~1 ; Load bit mask to be rotated 243 rol ch, cl ; Rotate mask to correct position for clearing 245 244 in al, dx ; Read Interrupt Mask Register 246 245 and al, ch ; Clear wanted bit
Note:
See TracChangeset
for help on using the changeset viewer.