Changeset 101 in xtideuniversalbios for trunk/Assembly_Library/Src/Display/DisplayCharOut.asm
- Timestamp:
- Jan 31, 2011, 7:03:22 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayCharOut.asm
r55 r101 1 ; File name : DisplayCharOut.asm2 1 ; Project name : Assembly Library 3 ; Created date : 26.6.20104 ; Last update : 24.10.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for outputting characters to video memory. 7 3 ; These functions are meant to be called by Display_CharacterFromAL … … 54 50 call DisplayCursor_SynchronizeCoordinatesToHardware 55 51 pop ax 56 call .OutputCharacterWithBIOS57 call DisplayCursor_GetHardwareCoordinatesToAX58 jmp DisplayCursor_SetCoordinatesFromAX59 52 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 72 54 push bx 73 55 mov ah, TELETYPE_OUTPUT … … 75 57 int BIOS_VIDEO_INTERRUPT_10h 76 58 pop bx 77 ret 59 60 call DisplayCursor_GetHardwareCoordinatesToAX 61 jmp DisplayCursor_SetCoordinatesFromAX 78 62 79 63
Note:
See TracChangeset
for help on using the changeset viewer.