Changeset 205 in xtideuniversalbios for trunk/Assembly_Library/Src


Ignore:
Timestamp:
Dec 5, 2011, 3:14:21 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Assembly Library:

  • Menu Exit event can now be send when closing menu.
File:
1 edited

Legend:

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

    r133 r205  
    8484
    8585;--------------------------------------------------------------------
     86; MenuInit_CloseMenuIfExitEventAllows
     87;   Parameters
     88;       SS:BP:  Ptr to MENU
     89;   Returns:
     90;       Nothing
     91;   Corrupts registers:
     92;       AX, BX, DX
     93;--------------------------------------------------------------------
     94%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
     95ALIGN JUMP_ALIGN
     96MenuInit_CloseMenuIfExitEventAllows:
     97    call    MenuEvent_ExitMenu
     98    jc      SHORT MenuInit_CloseMenuWindow
     99    ret
     100%endif
     101
     102
     103;--------------------------------------------------------------------
    86104; MenuInit_CloseMenuWindow
    87105;   Parameters
Note: See TracChangeset for help on using the changeset viewer.