Changeset 177 in xtideuniversalbios for trunk/Assembly_Library/Inc


Ignore:
Timestamp:
Oct 22, 2011, 9:31:12 PM (13 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Optimiztion, replaced the jump tables for MENU_LIB and DISPLAY_LIB with direct jump offsets

Location:
trunk/Assembly_Library/Inc
Files:
2 edited

Legend:

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

    r134 r177  
    2525        call    DisplayContext_PrepareOffScreenBufferInESBXwithLengthInCX
    2626    %else
    27         mov     di, DISPLAY_LIB.%1
     27        mov     di, %1
    2828        call    Display_FunctionFromDI
    2929    %endif
    3030%endmacro
    3131
     32%if 0
     33;;;
     34;;; struc no longer needed with direct calls to functions
     35;;;
    3236
    3337; Display library functions
     
    7074    .ClearScreenWithCharInALandAttrInAH             resb    2
    7175endstruc
     76%endif
    7277
    7378; Attribute flags for DISPLAY_LIB.SetCharacterOutputFunctionFromAXwithAttributeFlagInDL
  • trunk/Assembly_Library/Inc/Menu.inc

    r105 r177  
    4848
    4949    %else
    50         mov     di, MENU_LIB.%1
     50        mov     di, %1
    5151        call    Menu_FunctionFromDI
    5252    %endif
    5353%endmacro
     54
     55%if 0
     56;;;
     57;;; struc no longer needed with direct call to function
     58;;;
    5459
    5560; Menu library functions
     
    8994%endif
    9095endstruc
    91 
     96%endif
    9297
    9398; Menu initialization parameters
Note: See TracChangeset for help on using the changeset viewer.