I have begun the process of building my own hobby OS. I seem to have hit an annoying problem however, I cannot change several of the DAC palette colours - in particular 6 and 8-15.
I have tried accomplishing this in C with my own code, then in C with code I found in a web based tutorial .... and even in assembler
Code: Select all
mov al,0 ;Colour to change
mov dx, 0x03C8
out dx, al ;Tell DAC which colour to write to
mov al, 63
inc dx
out dx, al ;Set to white
out dx, al
out dx, al
My OS uses Grub as its bootloader, and I am attempting to simulate this in qemu.
Any help with what could possibly be causing this would be greatly appreciated.