shriekyphantom
shriekyphantom

Reputation: 143

Changing text blink rate in assembler

Is it possible to change the rate of blink? The code I'm using for attribute is below.

mov ah, 09h
mov al, a
mov bl, b
mov cx, c
int 10h

Upvotes: 0

Views: 750

Answers (1)

Nils Pipenbrinck
Nils Pipenbrinck

Reputation: 86393

No, you can't change the blink-rate.

On standard VGA adapters the blink attribute switches between on and off every 16 frames, so 60 frames/second you get around 1.8 blinks/second.

Most VGA adapters have extensions to the standardized VGA interface that may or may not allow to change the blink-rate. You could use this if your adapter has support for it and if you are able to get your hands on the chip documentation, but it will not work for other adapters and will not be portable.

Upvotes: 2

Related Questions