Hello all!
I am currently using dosemu in my laptop to avoid installing msdos (we are learning assambler in my university).
Lately we are playing with video memory. This is for example writing the sentence "Hello world" to a (x,y) position with blackground color A, foreground color B and bright C.
But DOS allows you also to choose if you want to write in with normal or blinking characters.
Dosemu seems to lack support for blinking characters.
I have found this part of code in env/video/text.c:439
/ we could set fgX = bgX: vga.attr.data[0x10] & 0x08 enables /
/ blinking to be triggered by (attr & 0x80) - but the third /
/ condition would need to be periodically and having to redo /
/ all blinking chars again each time that they blink sucks. /
/ so we ALWAYS interpret blinking as bright background, which /
/ is what also happens when not vga.attr.data[0x10] & 0x08... /
/ An IDEA would be to have palette animation and use special /
/ colors for the bright-or-blinking background, although the /
/ official blink would be the foreground, not the background. /
As far as I have understood from the comment, it won't be implemented like really blinking. Am I right?
Does anyone has a patch to do it?
And yes, I know that this is a posh feature that can become hate-able but I need it for my homeworks :/. Obviously it's much more clear a blinking character than a character with a brighter background.
If there's no developer that is willing to do it, I'll thank if anyone could give me an idea of what it's needed to implement it to do it correctly and I would try my best.
Regards, murdok.