Changeset 45 in xtideuniversalbios for trunk/Assembly_Library/Inc/Debug.inc


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

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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.