Changeset 390 in xtideuniversalbios for trunk/Assembly_Library/Inc


Ignore:
Timestamp:
Apr 17, 2012, 2:35:52 PM (12 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Assembly Library:

  • Menu library now stores and restores display context.
  • Added couple of new eCMOVx macros.
Location:
trunk/Assembly_Library/Inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Inc/Display.inc

    r370 r390  
    8282%endif
    8383
    84 ; Attribute flags for DISPLAY_LIB.SetCharacterOutputFunctionFromAXwithAttributeFlagInDL
     84; Attribute flags for DISPLAY_LIB.SetCharacterOutputFunctionFromAXwithAttributeFlagInBL
    8585ATTRIBUTES_NOT_USED                         EQU     0
    8686ATTRIBUTES_ARE_USED                         EQU     FLG_CONTEXT_ATTRIBUTES
    8787
    88 ; Character output functions for DISPLAY_LIB.SetCharacterOutputFunctionFromAXwithAttributeFlagInDL
     88; Character output functions for DISPLAY_LIB.SetCharacterOutputFunctionFromAXwithAttributeFlagInBL
    8989TELETYPE_OUTPUT_WITH_ATTRIBUTE              EQU     DisplayCharOut_TeletypeOutputWithAttribute
    9090TELETYPE_OUTPUT_WITHOUT_ATTRIBUTE           EQU     DisplayCharOut_TeletypeOutput
  • trunk/Assembly_Library/Inc/Emulate.inc

    r293 r390  
    164164%endmacro
    165165
     166%macro eCMOVNC 2
     167    jc      SHORT %%Return
     168    mov     %1, %2
     169%%Return:
     170%endmacro
     171
    166172%macro eCMOVZ 2
    167173    jnz     SHORT %%Return
     
    186192%macro eCMOVB 2
    187193    jnb     SHORT %%Return
     194    mov     %1, %2
     195%%Return:
     196%endmacro
     197
     198%macro eCMOVS 2
     199    jns     SHORT %%Return
    188200    mov     %1, %2
    189201%%Return:
Note: See TracChangeset for help on using the changeset viewer.