Changeset 106 in xtideuniversalbios


Ignore:
Timestamp:
Feb 17, 2011, 3:11:31 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Some utility functions are now included only when including menu dialogs.
Location:
trunk/Assembly_Library/Src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Menu/Dialog/DialogFile.asm

    r105 r106  
    4545.ItemSelectedFromCX:
    4646    call    LoadItemStringBufferToESDI
    47     COPY_ESDI_to_DSSI
     47    call    Registers_CopyESDItoDSSI
    4848    call    ItemLineSplitter_GetLineToDSSIandLengthToCXfromStringInDSSIwithIndexInCX
    4949    jmp     ParseSelectionFromItemLineInDSSI
     
    128128    call    RemoveLastLFandTerminateESDIwithNull
    129129
    130     COPY_SSBP_TO_DSSI
     130    call    Registers_CopySSBPtoDSSI
    131131    xor     ax, ax
    132132    call    Dialog_EventInitializeMenuinitFromDSSIwithHighlightedItemInAX
     
    198198ALIGN JUMP_ALIGN
    199199.ClearDLifInRootDirectory:
    200     COPY_ESDI_to_DSSI
     200    call    Registers_CopyESDItoDSSI
    201201    call    Directory_WriteCurrentPathToDSSI
    202202    mov     dl, [si]
     
    374374ALIGN JUMP_ALIGN
    375375SortDirectoryContentsStringFromESDIwithCountInCX:
    376     COPY_ESDI_to_DSSI
     376    call    Registers_CopyESDItoDSSI
    377377    call    .AddDirectoryContentsStringLengthToDI
    378378    mov     bx, .FileStringComparator
  • trunk/Assembly_Library/Src/Time/TimerTicks.asm

    r85 r106  
    1 ; File name     :   TimerTicks.asm
    21; Project name  :   Assembly Library
    3 ; Created date  :   24.7.2010
    4 ; Last update   :   22.11.2010
    5 ; Author        :   Tomi Tilli
    62; Description   :   Functions for system timer related operations.
    73
     
    2723;       CX
    2824;--------------------------------------------------------------------
     25%ifdef INCLUDE_MENU_DIALOGS
     26
    2927ALIGN JUMP_ALIGN
    3028TimerTicks_GetHoursToAXfromTicksInDXAX:
     
    4038    div     cx      ; Divide DX:AX by CX, Minutes to AX, remainder ticks to DX
    4139    ret
     40
     41%endif
    4242
    4343ALIGN JUMP_ALIGN
  • trunk/Assembly_Library/Src/Util/Registers.asm

    r105 r106  
    2727;--------------------------------------------------------------------
    2828; Registers_CopySSBPtoESDI
    29 ; Registers_CopySSBPtoDSSI (uncommented to save bytes)
    30 ; Registers_CopyDSSItoESDI (uncommented to save bytes)
    31 ; Registers_CopyESDItoDSSI (uncommented to save bytes)
     29; Registers_CopySSBPtoDSSI
     30; Registers_CopyDSSItoESDI
     31; Registers_CopyESDItoDSSI
    3232;   Parameters
    3333;       Nothing
     
    4242    ret
    4343
    44 ;ALIGN JUMP_ALIGN
    45 ;Registers_CopySSBPtoDSSI:
    46 ;   COPY_SSBP_TO_DSSI
    47 ;   ret
     44%ifdef INCLUDE_MENU_DIALOGS
    4845
    49 ;ALIGN JUMP_ALIGN
    50 ;Registers_CopyDSSItoESDI:
    51 ;   COPY_DSSI_TO_ESDI
    52 ;   ret
     46ALIGN JUMP_ALIGN
     47Registers_CopySSBPtoDSSI:
     48    COPY_SSBP_TO_DSSI
     49    ret
    5350
    54 ;ALIGN JUMP_ALIGN
    55 ;Registers_CopyESDItoDSSI:
    56 ;   COPY_ESDI_to_DSSI
    57 ;   ret
     51ALIGN JUMP_ALIGN
     52Registers_CopyDSSItoESDI:
     53    COPY_DSSI_TO_ESDI
     54    ret
     55
     56ALIGN JUMP_ALIGN
     57Registers_CopyESDItoDSSI:
     58    COPY_ESDI_to_DSSI
     59    ret
     60
     61%endif
    5862
    5963
    6064;--------------------------------------------------------------------
    61 ; Registers_SetZFifNullPointerInDSSI (uncommented to save bytes)
     65; Registers_SetZFifNullPointerInDSSI (commented to save bytes)
    6266;   Parameters
    6367;       DS:SI:  Far pointer
Note: See TracChangeset for help on using the changeset viewer.