Ignore:
Timestamp:
May 26, 2014, 1:25:15 PM (10 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Changes:

  • Renamed MODULE_FEATURE_SETS to MODULE_POWER_MANAGEMENT.
  • Renamed MODULE_VERY_LATE_INITIALIZATION to MODULE_VERY_LATE_INIT and removed it from the official builds.
  • Removed the code that skips detection of slave drives on XT-CF controllers since slave drives can be used with Lo-tech ISA CompactFlash boards.
  • Added autodetection of the SVC ADP50L controller to XTIDECFG.
  • The autodetection of XT-CF controllers now requires MODULE_8BIT_IDE_ADVANCED in the loaded BIOS.
  • Fixed a bug in XTIDECFG from r502 where the "Base (cmd block) address" menu option would be displayed when a serial device was selected as the IDE controller.
  • XTIDECFG would display the "Enable interrupt" menu option for the XTIDE r1 but not for the XTIDE r2. It's now displayed for both controller types.
  • Disabled the "Internal Write Cache" menu option in the Master/Slave Drive menus for serial device type drives.
  • Optimizations and other fixes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/ConfigurationMenu.asm

    r526 r567  
    217217.DisableAllIdeControllerMenuitems:
    218218    mov     cx, MAX_ALLOWED_IDE_CONTROLLERS-1
    219     mov     bx, g_MenuitemConfigurationSecondaryIdeController
    220 ALIGN JUMP_ALIGN
    221 .DisableNextIdeControllerMenuitem:
    222     call    .DisableMenuitemFromCSBX
    223     add     bx, BYTE MENUITEM_size
    224     loop    .DisableNextIdeControllerMenuitem
    225     ret
     219    mov     ax, DisableMenuitemFromCSBX
     220    jmp     SHORT .Go
    226221
    227222ALIGN JUMP_ALIGN
     
    230225    dec     cx          ; Primary always enabled
    231226    jz      SHORT .PrimaryControllerAlreadyEnabled
     227    mov     ax, EnableMenuitemFromCSBX
     228.Go:
    232229    mov     bx, g_MenuitemConfigurationSecondaryIdeController
    233230ALIGN JUMP_ALIGN
    234 .EnableNextIdeControllerMenuitem:
    235     call    .EnableMenuitemFromCSBX
     231.EnableOrDisableNextIdeControllerMenuitem:
     232    call    ax
    236233    add     bx, BYTE MENUITEM_size
    237     loop    .EnableNextIdeControllerMenuitem
     234    loop    .EnableOrDisableNextIdeControllerMenuitem
    238235.PrimaryControllerAlreadyEnabled:
    239236    ret
     
    288285    call    Buffers_GetRomvarsFlagsToAX
    289286    mov     bx, g_MenuitemConfigurationIdleTimeout
    290     test    ax, FLG_ROMVARS_MODULE_FEATURE_SETS
     287    test    ax, FLG_ROMVARS_MODULE_POWER_MANAGEMENT
    291288    jz      SHORT .DisableMenuitemFromCSBX
    292289    ; Fall to .EnableMenuitemFromCSBX
     
    305302ALIGN JUMP_ALIGN
    306303.EnableMenuitemFromCSBX:
    307     or      BYTE [cs:bx+MENUITEM.bFlags], FLG_MENUITEM_VISIBLE
    308     ret
     304    jmp     EnableMenuitemFromCSBX
    309305
    310306ALIGN JUMP_ALIGN
    311307.DisableMenuitemFromCSBX:
    312     and     BYTE [cs:bx+MENUITEM.bFlags], ~FLG_MENUITEM_VISIBLE
    313     ret
    314 
     308    jmp     DisableMenuitemFromCSBX
    315309
    316310
     
    419413    jnz     .next
    420414    mov     si, di
    421     jmp     .next
     415    SKIP2B  f
    422416
    423417.notSerial:
Note: See TracChangeset for help on using the changeset viewer.