Changeset 369 in xtideuniversalbios for trunk/Assembly_Library/Src/Display/DisplayCursor.asm


Ignore:
Timestamp:
Mar 29, 2012, 9:29:28 AM (12 years ago)
Author:
gregli@…
google:author:
gregli@hotmail.com
Message:

Removed align directives for initalization code and added define for align in boot-time calls to the assembly library (defaulting to 1), resulting in a significant savings for the AT and 386 builds. Fixed a bug with switch command line handling in the serial server. Put in CR characters in licesnse.txt, so that it properly displays on Windows. In the configurator, added default values for user supplied CHS and LBA values, defaulting to values within range when those features are enabled. Updated the copyright message in the configurator as the literal word Copyright is important.

File:
1 edited

Legend:

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

    r101 r369  
    1515;       Nothing
    1616;--------------------------------------------------------------------
    17 ALIGN JUMP_ALIGN
     17ALIGN DISPLAY_JUMP_ALIGN
    1818DisplayCursor_SetShapeFromAX:
    1919    mov     [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCursorShape], ax
     
    3232;       AX, DX
    3333;--------------------------------------------------------------------
    34 ALIGN JUMP_ALIGN
     34ALIGN DISPLAY_JUMP_ALIGN
    3535DisplayCursor_SetCoordinatesFromAX:
    3636    xchg    dx, ax
     
    5757;       Nothing
    5858;--------------------------------------------------------------------
    59 ALIGN JUMP_ALIGN
     59ALIGN DISPLAY_JUMP_ALIGN
    6060DisplayCursor_GetSoftwareCoordinatesToAX:
    6161    mov     ax, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.fpCursorPosition]
     
    7777;       DX
    7878;--------------------------------------------------------------------
    79 ALIGN JUMP_ALIGN
     79ALIGN DISPLAY_JUMP_ALIGN
    8080DisplayCursor_GetHardwareCoordinatesToAX:
    8181    push    cx
     
    101101;       AX, DX
    102102;--------------------------------------------------------------------
    103 ALIGN JUMP_ALIGN
     103ALIGN DISPLAY_JUMP_ALIGN
    104104DisplayCursor_SynchronizeShapeToHardware:
    105105    mov     dx, [VIDEO_BDA.displayContext+DISPLAY_CONTEXT.wCursorShape]
     
    138138;       AX, DX
    139139;--------------------------------------------------------------------
    140 ALIGN JUMP_ALIGN
     140ALIGN DISPLAY_JUMP_ALIGN
    141141DisplayCursor_SynchronizeCoordinatesToHardware:
    142142    call    DisplayCursor_GetSoftwareCoordinatesToAX
Note: See TracChangeset for help on using the changeset viewer.