Page 1 of 1

How to unlock CRTC registers

Posted: Mon Aug 12, 2024 7:22 pm
by daniil1909
I looked osdev for that info but didnt found anything about it. So, how to unlock (and lock) CRTC registers?

Re: How to unlock CRTC registers

Posted: Tue Aug 13, 2024 9:44 am
by Octocontrabass
Bit 7 of the Vertical Retrace End Register (index 0x11) is the write protect bit. Clear that bit to remove the write protection. You can read more about it in IBM's VGA documentation and in other VGA resources linked in the wiki.

Re: How to unlock CRTC registers

Posted: Wed Aug 14, 2024 7:14 am
by daniil1909
Octocontrabass wrote: Tue Aug 13, 2024 9:44 am Bit 7 of the Vertical Retrace End Register (index 0x11) is the write protect bit. Clear that bit to remove the write protection. You can read more about it in IBM's VGA documentation and in other VGA resources linked in the wiki.
Thanks so much!