Changeset 101 in xtideuniversalbios for trunk/Assembly_Library/Src/Display/DisplayCharOut.asm


Ignore:
Timestamp:
Jan 31, 2011, 7:03:22 PM (13 years ago)
Author:
aitotat
google:author:
aitotat
Message:

Changes to Assembly Library:

  • Some minor size optimizations to Display Library.
File:
1 edited

Legend:

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

    r55 r101  
    1 ; File name     :   DisplayCharOut.asm
    21; Project name  :   Assembly Library
    3 ; Created date  :   26.6.2010
    4 ; Last update   :   24.10.2010
    5 ; Author        :   Tomi Tilli
    62; Description   :   Functions for outputting characters to video memory.
    73;                   These functions are meant to be called by Display_CharacterFromAL
     
    5450    call    DisplayCursor_SynchronizeCoordinatesToHardware
    5551    pop     ax
    56     call    .OutputCharacterWithBIOS
    57     call    DisplayCursor_GetHardwareCoordinatesToAX
    58     jmp     DisplayCursor_SetCoordinatesFromAX
    5952
    60 ;--------------------------------------------------------------------
    61 ; .OutputCharacterWithBIOS
    62 ;   Parameters:
    63 ;       AL:     Character to output
    64 ;       DS:     BDA segment
    65 ;   Returns:
    66 ;       Nothing
    67 ;   Corrupts registers:
    68 ;       AX
    69 ;--------------------------------------------------------------------
    70 ALIGN JUMP_ALIGN
    71 .OutputCharacterWithBIOS:
     53    ; Output character with BIOS
    7254    push    bx
    7355    mov     ah, TELETYPE_OUTPUT
     
    7557    int     BIOS_VIDEO_INTERRUPT_10h
    7658    pop     bx
    77     ret
     59
     60    call    DisplayCursor_GetHardwareCoordinatesToAX
     61    jmp     DisplayCursor_SetCoordinatesFromAX
    7862
    7963
Note: See TracChangeset for help on using the changeset viewer.