- Timestamp:
- May 21, 2021, 4:12:01 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r601 r607 593 593 ; Standard ATA controllers, including 8-bit mode 594 594 .StandardIdeDevice: 595 ; Enable IRQ for standard ATA 596 595 597 lea ax, [di-ROMVARS.ideVars0+IDEVARS.wBasePort] 596 598 mov bl, IDEVARS_size 597 599 div bl 598 mov bx, .rgbLowByteOfStdIdeInterfacePorts 600 push ax 601 mov bx, .rgbDefaultIrqForStdIde ; Enable interrupt for primary and secondary IDE 602 xlat 603 mov [es:di+IDEVARS.bIRQ-IDEVARS.wBasePort], al 604 pop ax 605 sub bx, BYTE .rgbDefaultIrqForStdIde - .rgbLowByteOfStdIdeInterfacePorts 599 606 xlat ; DS=CS so no segment override needed 600 607 mov ah, 1 ; DEVICE_ATA_*_PORT >> 8 … … 608 615 db DEVICE_ATA_TERTIARY_PORT & 0FFh 609 616 db DEVICE_ATA_QUATERNARY_PORT & 0FFh 617 .rgbDefaultIrqForStdIde: 618 db 14 619 db 15 620 db 0 ; These can vary so lets disable by default 621 db 0 610 622 611 623 .NotStandardIdeDevice: … … 645 657 mov ax, DEVICE_XTIDE_DEFAULT_PORT ; Defaults for 8-bit XTIDE and XT-CF devices 646 658 mov bx, DEVICE_XTIDE_DEFAULT_PORTCTRL 659 660 ; XT-CF does not support IRQ so it must be disabled (IRQ setting is not visible for XT-CF) 661 ; XTIDE does not use IRQs by default 662 mov BYTE [es:di+IDEVARS.bIRQ-IDEVARS.wBasePort], 0 647 663 648 664 .WriteNonSerial:
Note:
See TracChangeset
for help on using the changeset viewer.