JavaDude32
Programmer
Okay, I'm using the standard bios function 09H for interrupt 10H to hopefully get 5 asteriks to blink. I'm using Windows 2K but assembling and linking with masm 6.11 for dos. My program displays the characters but they do not blink. Is this a compatability issue or have I overlooked something in my code?
;SET THE VIDEO MODE
MOV AH,00H
MOV AL,07H
INT 10H
;CLEAR THE SCREEN
MOV AH,06H
MOV BH,17H
MOV CX,0000H
MOV DX,184FH
INT 10H
;PRINT CHAR TO THE SCREEN
MOV AH,09H
MOV AL,'*'
MOV BH,00H
MOV BL,0DAH ;SELECT TEXT ATTRIBUTE
MOV CX,05 ;COUNT OF TEXT
INT 10H
;REPOSITION THE CURSOR
MOV AH,02H
MOV BH,00H
MOV DX,0220H
INT 10H
;RESIZE THE CURSOR
MOV AH,01H
MOV CH,08
MOV CL,14
INT 10H
;READ IN CHARS
MOV AH,0AH
LEA DX,NAMEFLD
INT 21H
;REPOSITION THE CURSOR
MOV AH,02H
MOV BH,00H
MOV DX,0820H
INT 10H
;PRINT OUT CHARS
MOV AH,09H
MOV BH,00
MOV BL,ACTLEN
MOV NAMESLOT[BX+1],'$'
LEA DX,NAMESLOT
INT 21H
MOV AX,4C00H
INT 21H
Thanks in advance for any help and btw, the text is supposed to be light green on a magneta background and blinking for the '*' 's.
;SET THE VIDEO MODE
MOV AH,00H
MOV AL,07H
INT 10H
;CLEAR THE SCREEN
MOV AH,06H
MOV BH,17H
MOV CX,0000H
MOV DX,184FH
INT 10H
;PRINT CHAR TO THE SCREEN
MOV AH,09H
MOV AL,'*'
MOV BH,00H
MOV BL,0DAH ;SELECT TEXT ATTRIBUTE
MOV CX,05 ;COUNT OF TEXT
INT 10H
;REPOSITION THE CURSOR
MOV AH,02H
MOV BH,00H
MOV DX,0220H
INT 10H
;RESIZE THE CURSOR
MOV AH,01H
MOV CH,08
MOV CL,14
INT 10H
;READ IN CHARS
MOV AH,0AH
LEA DX,NAMEFLD
INT 21H
;REPOSITION THE CURSOR
MOV AH,02H
MOV BH,00H
MOV DX,0820H
INT 10H
;PRINT OUT CHARS
MOV AH,09H
MOV BH,00
MOV BL,ACTLEN
MOV NAMESLOT[BX+1],'$'
LEA DX,NAMESLOT
INT 21H
MOV AX,4C00H
INT 21H
Thanks in advance for any help and btw, the text is supposed to be light green on a magneta background and blinking for the '*' 's.