flat assembler
Message board for the users of flat assembler.
Index
> DOS > Color text |
Author |
|
rugxulo 21 Sep 2006, 01:48
|
|||
21 Sep 2006, 01:48 |
|
2 11 Oct 2006, 18:33
I've been looking at that call. I don't know a thing about ES or BP.
I'm surprised I've gone this far without needing them. Can somebody give an example of correctly using this function? |
|||
11 Oct 2006, 18:33 |
|
2 11 Oct 2006, 19:36
Never mind! I figure it out!
Code: org 256 mov bp,green mov ah,19 ;call 19 mov al,1 ;move cursor mov bh,0 ;page 0 mov bl,10 ;color mov cx,32 ;length of string to print mov dh,0 ;row mov dl,0 ;column int 16 mov ah,8 int 33 int 32 green db 'I am the extremely green string!' _________________ There are 10 kinds of people in the world. Those who know binary and those who haven't met me. |
|||
11 Oct 2006, 19:36 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.