Joshhhhh
Programmer
- Jan 4, 2007
- 5
for example if i have the following lines:
mov ah,09h
mov al,':'
mov bh,0
mov bl,7
mov cx,1
int 10h
mov ah,0
int 16h
in a tsr program. My program displays the character -- : -- until i press a key and then it comes back to the initial screen. That's what I did..
What i should have done is that the character to be displayed for a certain number of seconds and then the prog. to come back to the main screen.
i've tried to do this :
mov count,0
A:
inc count
mov ah,09h
mov al,':'
mov bh,0
mov bl,7
mov cx,1
int 10h
;this is where i restore the screen
cmp count,100
jne A
doesn't work
little help
mov ah,09h
mov al,':'
mov bh,0
mov bl,7
mov cx,1
int 10h
mov ah,0
int 16h
in a tsr program. My program displays the character -- : -- until i press a key and then it comes back to the initial screen. That's what I did..
What i should have done is that the character to be displayed for a certain number of seconds and then the prog. to come back to the main screen.
i've tried to do this :
mov count,0
A:
inc count
mov ah,09h
mov al,':'
mov bh,0
mov bl,7
mov cx,1
int 10h
;this is where i restore the screen
cmp count,100
jne A
doesn't work
little help