Changeset 129 in xtideuniversalbios for trunk/Assembly_Library


Ignore:
Timestamp:
Mar 4, 2011, 5:16:19 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Assembly Library:

  • MenuInit_DisplayMenuWithHandlerInBXandUserDataInDXAX now properly returns highlighted item in AX.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/MenuInit.asm

    r116 r129  
    2626    call    Memory_ZeroSSBPwithSizeInCX
    2727    call    MenuInit_EnterMenuWithHandlerInBXandUserDataInDXAX
    28     mov     ax, [bp+MENUINIT.wHighlightedItem]
     28    mov     dx, [bp+MENUINIT.wHighlightedItem]
    2929
    3030    eLEAVE_STRUCT MENU_size
    3131    pop     ax
    3232    CALL_DISPLAY_LIBRARY SetCursorShapeFromAX
     33    xchg    ax, dx          ; Return highlighted item in AX
    3334    pop     ds
    3435    pop     es
Note: See TracChangeset for help on using the changeset viewer.