Changeset 596 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
- Timestamp:
- Jul 10, 2018, 1:20:11 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/Interrupts.asm
r594 r596 65 65 mov ax, [es:BIOS_DISK_INTERRUPT_13h*4] ; Load old INT 13h offset 66 66 mov [RAMVARS.fpMFMint13h], ax ; Store old INT 13h offset 67 67 68 68 mov [RAMVARS.fpOldI13h+2], cs 69 mov WORD [RAMVARS.fpOldI13h], Int13hMFMcompatibilityHandler 69 mov WORD [RAMVARS.fpOldI13h], Int13hMFMcompatibilityHandler 70 70 %else 71 71 mov ax, [es:BIOS_DISK_INTERRUPT_13h*4+2]; Load old INT 13h segment … … 252 252 xchg cx, ax ; IRQ index to CL 253 253 in al, dx ; Read Interrupt Mask Register 254 %ifdef USE_NEC_V 255 eCLR1 al, cl ; Clear wanted bit 256 %else 254 257 mov ch, ~1 ; Load bit mask to be rotated 255 258 rol ch, cl ; Rotate mask to correct position for clearing 256 259 and al, ch ; Clear wanted bit 260 %endif 257 261 out dx, al ; Write modified Interrupt Mask Register 258 262 pop cx
Note:
See TracChangeset
for help on using the changeset viewer.