Changeset 133 in xtideuniversalbios for trunk/Assembly_Library/Src/Display


Ignore:
Timestamp:
Mar 12, 2011, 1:48:48 PM (14 years ago)
Author:
krille_n_@…
google:author:
krille_n_@hotmail.com
Message:

Size optimizations in various files in the Assembly Library. Also a very small change to a string in XTIDE_Universal_BIOS_Configurator_v2/Src/Strings.asm

Location:
trunk/Assembly_Library/Src/Display
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Display/Display.asm

    r101 r133  
    6363    at  DISPLAY_LIB.InitializeDisplayContext,                       dw  DisplayContext_Initialize
    6464
     65%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    6566    at  DISPLAY_LIB.SetCharacterPointerFromBXAX,                    dw  DisplayContext_SetCharacterPointerFromBXAX
     67%endif
    6668    at  DISPLAY_LIB.SetCharOutputFunctionFromAXwithAttribFlagInBL,  dw  DisplayContext_SetCharOutputFunctionFromAXwithAttribFlagInBL
    6769    at  DISPLAY_LIB.SetCharacterOutputParameterFromAX,              dw  DisplayContext_SetCharacterOutputParameterFromAX
     
    7274    at  DISPLAY_LIB.SynchronizeDisplayContextToHardware,            dw  DisplayContext_SynchronizeToHardware
    7375
     76%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    7477    at  DISPLAY_LIB.GetCharacterPointerToBXAX,                      dw  DisplayContext_GetCharacterPointerToBXAX
     78%endif
    7579    at  DISPLAY_LIB.GetSoftwareCoordinatesToAX,                     dw  DisplayCursor_GetSoftwareCoordinatesToAX
    7680    at  DISPLAY_LIB.GetColumnsToALandRowsToAH,                      dw  DisplayPage_GetColumnsToALandRowsToAH
  • trunk/Assembly_Library/Src/Display/DisplayContext.asm

    r115 r133  
    148148;       AX, DI
    149149;--------------------------------------------------------------------
     150%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    150151ALIGN JUMP_ALIGN
    151152DisplayContext_PrepareOffScreenBufferInESBXwithLengthInCX:
     
    165166    pop     ds
    166167    ret
     168%endif
    167169
    168170
     
    177179;       AX
    178180;--------------------------------------------------------------------
     181%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    179182ALIGN JUMP_ALIGN
    180183DisplayContext_SetCharacterPointerFromBXAX:
     
    184187    mov     es, bx
    185188    ret
     189%endif
    186190
    187191
     
    195199;       Nothing
    196200;--------------------------------------------------------------------
     201%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    197202ALIGN JUMP_ALIGN
    198203DisplayContext_GetCharacterPointerToBXAX:
     
    200205    mov     bx, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition+2]
    201206    ret
     207%endif
    202208
    203209
     
    261267;   Corrupts registers:
    262268;       Nothing
    263 ;--------------------------------------------------------------------   
     269;--------------------------------------------------------------------
     270%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS   ; This appears to be completely unused
    264271ALIGN JUMP_ALIGN
    265272DisplayContext_GetCharacterOutputParameterToDX:
    266273    mov     dx, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCharOutParam]
    267274    ret
     275%endif
    268276
    269277
     
    277285;   Corrupts registers:
    278286;       Nothing
    279 ;--------------------------------------------------------------------   
     287;--------------------------------------------------------------------
    280288ALIGN JUMP_ALIGN
    281289DisplayContext_GetCharacterOffsetToAXfromByteOffsetInAX:
     
    294302;   Corrupts registers:
    295303;       Nothing
    296 ;--------------------------------------------------------------------   
     304;--------------------------------------------------------------------
    297305ALIGN JUMP_ALIGN
    298306DisplayContext_GetByteOffsetToAXfromCharacterOffsetInAX:
Note: See TracChangeset for help on using the changeset viewer.