Changeset 45 in xtideuniversalbios for trunk/Assembly_Library/Inc


Ignore:
Timestamp:
Sep 29, 2010, 5:59:07 PM (14 years ago)
Author:
Tomi Tilli
google:author:
aitotat
Message:

Changes to assembly library:
Changed SetCharOutputFunctionFromAXwithAttribFlagInDL to SetCharOutputFunctionFromAXwithAttribFlagInBL since DX register gets corrupted by Display_FunctionFromDI.
Implemented quicksort.

Location:
trunk/Assembly_Library/Inc
Files:
4 edited

Legend:

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

    r41 r45  
    22; Project name  :   Assembly Library
    33; Created date  :   8.8.2010
    4 ; Last update   :   8.8.2010
     4; Last update   :   29.9.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Debugging macros.
     
    2020;--------------------------------------------------------------------
    2121%macro DISPLAY_DEBUG_WORD_AND_WAIT_ANY_KEY 2
     22    pushf
    2223    push    di
    2324    push    bx
     
    3334    pop     bx
    3435    pop     di
     36    popf
    3537%endmacro
    3638
     
    4648;--------------------------------------------------------------------
    4749%macro DISPLAY_DEBUG_CHARACTER_AND_WAIT_ANY_KEY 1
     50    pushf
    4851    push    di
    4952    push    ax
     
    5659    pop     ax
    5760    pop     di
     61    popf
    5862%endmacro
    5963
     
    6973;--------------------------------------------------------------------
    7074%macro DISPLAY_DEBUG_CHARACTER 1
     75    pushf
    7176    push    di
    7277    push    ax
     
    7580    pop     ax
    7681    pop     di
     82    popf
    7783%endmacro
    7884
  • trunk/Assembly_Library/Inc/Dialog.inc

    r41 r45  
    22; Project name  :   Assembly Library
    33; Created date  :   15.9.2010
    4 ; Last update   :   15.9.2010
     4; Last update   :   28.9.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Defines for Menu library dialogs.
     
    7575
    7676
     77; Progress bar dialog
     78PROGRESS_COMPLETE_CHARACTER         EQU     BLOCK_FULL_FOREGROUND
     79PROGRESS_INCOMPLETE_CHARACTER       EQU     BLOCK_MOSTLY_BACKGROUND
     80
    7781; File dialog
    7882FILENAME_BUFFER_SIZE                EQU     14  ; 8+1+3+NULL+alignment
  • trunk/Assembly_Library/Inc/Display.inc

    r44 r45  
    22; Project name  :   AssemblyLibrary
    33; Created date  :   25.6.2010
    4 ; Last update   :   27.9.2010
     4; Last update   :   28.9.2010
    55; Author        :   Tomi Tilli
    66; Description   :   Defines for display library.
     
    4040
    4141    .SetCharacterPointerFromBXAX                    resb    2
    42     .SetCharOutputFunctionFromAXwithAttribFlagInDL  resb    2
     42    .SetCharOutputFunctionFromAXwithAttribFlagInBL  resb    2
    4343    .SetCharacterOutputParameterFromAX              resb    2
    4444    .SetCharacterAttributeFromAL                    resb    2
  • trunk/Assembly_Library/Inc/Menu.inc

    r44 r45  
    107107
    108108    .bFlags                         resb    1   ; Menu flags
    109     .bLastSecondPrinted             resb    1   ; To minimize CGA snow when using timeouts
     109                                    resb    1
    110110    .wTimeoutCounter                resb    2
    111111
Note: See TracChangeset for help on using the changeset viewer.