Changeset 86 in xtideuniversalbios for trunk/XTIDE_Universal_BIOS/Src/Initialization/PrintString.asm
- Timestamp:
- Jan 25, 2011, 9:13:56 PM (14 years ago)
- google:author:
- krille_n_@hotmail.com
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/XTIDE_Universal_BIOS/Src/Initialization/PrintString.asm
r3 r86 1 ; File name : PrintString.asm2 1 ; Project name : IDE BIOS 3 ; Created date : 19.3.20104 ; Last update : 31.3.20105 ; Author : Tomi Tilli6 2 ; Description : Functions for printing strings used in this IDE BIOS. 7 8 3 9 4 ; Section containing code … … 13 8 ; Prints string with formatting parameters. 14 9 ; Do not call PrintString_JumpToFormat!!! Jump there only! 15 ; 10 ; 16 11 ; PrintString_JumpToFormat 17 12 ; Parameters: … … 42 37 ;-------------------------------------------------------------------- 43 38 ; Prints STOP terminated string from wanted segment. 44 ; 39 ; 45 40 ; PrintString_FromCS 46 41 ; PrintString_FromES … … 56 51 PrintString_FromCS: 57 52 push ds 58 push cs ; Push string segment... 59 pop ds ; ...and pop it to DS 60 call PrintString_FromDS 61 pop ds 62 ret 63 64 ALIGN JUMP_ALIGN 53 push cs ; Push string segment here... 54 SKIP2B ax ; mov ax, <next 2 bytes/instructions> 65 55 PrintString_FromES: 66 56 push ds 67 push es ; Push string segment...57 push es ; ...or here... 68 58 pop ds ; ...and pop it to DS 69 59 call PrintString_FromDS
Note:
See TracChangeset
for help on using the changeset viewer.