Changeset 502 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages
- Timestamp:
- Feb 9, 2013, 5:25:53 PM (12 years ago)
- google:author:
- aitotat@gmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS_Configurator_v2/Src/Menupages/IdeControllerMenu.asm
r491 r502 83 83 at MENUITEM.szQuickInfo, dw g_szNfoIdeCmdPort 84 84 at MENUITEM.szHelp, dw g_szHelpIdeCmdPort 85 at MENUITEM.bFlags, db NULL85 at MENUITEM.bFlags, db FLG_MENUITEM_VISIBLE 86 86 at MENUITEM.bType, db TYPE_MENUITEM_HEX 87 87 at MENUITEM.itemValue + ITEM_VALUE.wRomvarsValueOffset, dw NULL … … 357 357 push cs 358 358 pop ds 359 call .EnableOrDisableCommandBlockPort360 359 call .EnableOrDisableControlBlockPort 361 360 call .DisableIRQchannelSelection … … 368 367 369 368 ;-------------------------------------------------------------------- 370 ; .EnableOrDisableCommandBlockPort371 ; Parameters:372 ; SS:BP: Menu handle373 ; Returns:374 ; Nothing375 ; Corrupts registers:376 ; AX, BX377 ;--------------------------------------------------------------------378 ALIGN JUMP_ALIGN379 .EnableOrDisableCommandBlockPort:380 mov bx, [cs:g_MenuitemIdeControllerDevice+MENUITEM.itemValue+ITEM_VALUE.wRomvarsValueOffset]381 call Buffers_GetRomvarsValueToAXfromOffsetInBX382 mov bx, g_MenuitemIdeControllerCommandBlockAddress383 cmp al, DEVICE_8BIT_XTCF_PIO8384 jb SHORT .EnableMenuitemFromCSBX385 cmp al, DEVICE_SERIAL_PORT386 je SHORT .DisableMenuitemFromCSBX387 cmp al, DEVICE_8BIT_XTCF_MEMMAP388 ja SHORT .EnableMenuitemFromCSBX389 jmp SHORT .DisableMenuitemFromCSBX390 391 392 ;--------------------------------------------------------------------393 369 ; .EnableOrDisableControlBlockPort 394 370 ; Parameters: … … 405 381 mov bx, g_MenuitemIdeControllerControlBlockAddress 406 382 cmp al, DEVICE_8BIT_XTCF_PIO8 407 jb SHORT .EnableMenuitemFromCSBX 383 jb SHORT .EnableMenuitemFromCSBX ; Not needed for XT-CF and JR-IDE/ISA 408 384 jmp SHORT .DisableMenuitemFromCSBX 409 385
Note:
See TracChangeset
for help on using the changeset viewer.