Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I am trying to implement a boot screen for my kernel by using the upper ASCII characters to create simple picture.
I read that it is possible to disable the blink attribute and allow the full 16 colours for backgrounds but it seems not to work (the text blinks instead of having a bright background).
Am I doing this wrong, or does Bochs just not support this feature of VGA.
MOV DX, 0x3DA
IN AL, DX
MOV DX, 0x3C0
MOV AL, 0x30
OUT DX, AL
INC DX
IN AL, DX
AND AL, 0xF7
DEC DX
OUT DX, AL
Is it actually being executed? Do you have a somewhat recent version of bochs? (tested in 2.3.7)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Ok, it seems that the port IO functions I was using were dodgy (they're assembly functions not C). Replacing it with a large __asm__ statement fixed the problem.