Changeset 131 in xtideuniversalbios for trunk


Ignore:
Timestamp:
Mar 7, 2011, 4:19:43 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Some functions are now excluded from XTIDE Universal BIOS with EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS define.
Location:
trunk/Assembly_Library/Src
Files:
7 edited

Legend:

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

    r103 r131  
    5858%ifdef INCLUDE_STRING_LIBRARY
    5959    %include "Char.asm"
    60     %include "String.asm"
     60    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
     61        %include "String.asm"
     62    %endif
    6163    %include "StringProcess.asm"
    6264%endif
     
    6870
    6971%ifdef INCLUDE_UTIL_LIBRARY
    70     %ifndef EXCLUDE_BIT_UTILS
     72    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    7173        %include "Bit.asm"
    7274    %endif
     
    7476    %include "Memory.asm"
    7577    %include "Size.asm"
    76     %ifndef EXCLUDE_SORT_UTILS
     78    %ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    7779        %include "Sort.asm"
    7880    %endif
  • trunk/Assembly_Library/Src/Keyboard/Keyboard.asm

    r104 r131  
    2020;       DX
    2121;--------------------------------------------------------------------
     22%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    2223ALIGN JUMP_ALIGN
    2324Keyboard_ReadUserInputtedWordWhilePrinting:
     
    4344    pop     ds
    4445    ret
     46%endif
    4547
    4648
     
    6870;       AX
    6971;--------------------------------------------------------------------
     72%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    7073ALIGN JUMP_ALIGN
    7174Keyboard_ReadUserInputtedStringToESDIWhilePrinting:
     
    177180    xor     al, al                              ; Set ZF and clear CF
    178181    ret
     182%endif ; EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    179183
    180184
     
    188192;       AX
    189193;--------------------------------------------------------------------
     194%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    190195ALIGN JUMP_ALIGN
    191196Keyboard_PrintBackspace:
     
    196201    mov     al, BS
    197202    jmp     SHORT Keyboard_PrintInputtedCharacter
     203%endif
    198204
    199205
     
    207213;       AX
    208214;--------------------------------------------------------------------
     215%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    209216ALIGN JUMP_ALIGN
    210217Keyboard_PlayBellForUnwantedKeystroke:
    211218    mov     al, BELL
    212219    ; Fall to Keyboard_PrintInputtedCharacter
     220%endif
    213221
    214222;--------------------------------------------------------------------
     
    221229;       AX
    222230;--------------------------------------------------------------------
     231%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    223232ALIGN JUMP_ALIGN
    224233Keyboard_PrintInputtedCharacter:
     
    228237    pop     di
    229238    ret
     239%endif
    230240
    231241
  • trunk/Assembly_Library/Src/LibSizeCheck.asm

    r85 r131  
    1313;%define INCLUDE_UTIL_LIBRARY
    1414
    15 %define EXCLUDE_BIT_UTILS
    16 %define EXCLUDE_SORT_UTILS
    1715%include "AssemblyLibrary.inc"  ; Assembly Library. Must be included first!
    1816
  • trunk/Assembly_Library/Src/String/String.asm

    r54 r131  
    1 ; File name     :   String.asm
    21; Project name  :   Assembly Library
    3 ; Created date  :   12.7.2010
    4 ; Last update   :   24.10.2010
    5 ; Author        :   Tomi Tilli
    62; Description   :   Functions for handling characters.
    73
  • trunk/Assembly_Library/Src/Time/TimerTicks.asm

    r119 r131  
    2323;       CX
    2424;--------------------------------------------------------------------
    25 %ifdef INCLUDE_MENU_DIALOGS
    26 
     25%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    2726ALIGN JUMP_ALIGN
    2827TimerTicks_GetHoursToAXfromTicksInDXAX:
     
    3837    div     cx      ; Divide DX:AX by CX, Minutes to AX, remainder ticks to DX
    3938    ret
    40 
    4139%endif
    4240
     
    105103;       Nothing
    106104;--------------------------------------------------------------------
     105%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    107106ALIGN JUMP_ALIGN
    108107TimerTicks_GetElapsedToAXandResetDSBX:
     
    112111    pop     WORD [bx]           ; Latest time to [DS:BX]
    113112    ret
     113%endif
    114114
    115115;--------------------------------------------------------------------
     
    122122;       Nothing
    123123;--------------------------------------------------------------------
     124%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    124125ALIGN JUMP_ALIGN
    125126TimerTicks_GetElapsedToAXfromDSBX:
     
    127128    sub     ax, [bx]
    128129    ret
     130%endif
    129131
    130132
  • trunk/Assembly_Library/Src/Util/Memory.asm

    r105 r131  
    4545;       Nothing
    4646;--------------------------------------------------------------------
     47%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    4748ALIGN JUMP_ALIGN
    4849Memory_CopyCXbytesFromDSSItoESDI:
    4950    OPTIMIZE_STRING_OPERATION rep, movs
    5051    ret
     52%endif
    5153
    5254
  • trunk/Assembly_Library/Src/Util/Registers.asm

    r106 r131  
    4242    ret
    4343
    44 %ifdef INCLUDE_MENU_DIALOGS
    45 
     44%ifndef EXCLUDE_FROM_XTIDE_UNIVERSAL_BIOS
    4645ALIGN JUMP_ALIGN
    4746Registers_CopySSBPtoDSSI:
     
    5857    COPY_ESDI_to_DSSI
    5958    ret
    60 
    6159%endif
    6260
Note: See TracChangeset for help on using the changeset viewer.