How to unlock CRTC registers

Programming, for all ages and all languages.
Post Reply
daniil1909
Posts: 6
Joined: Wed Sep 13, 2023 10:52 pm

How to unlock CRTC registers

Post by daniil1909 »

I looked osdev for that info but didnt found anything about it. So, how to unlock (and lock) CRTC registers?
Octocontrabass
Member
Member
Posts: 5449
Joined: Mon Mar 25, 2013 7:01 pm

Re: How to unlock CRTC registers

Post 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.
daniil1909
Posts: 6
Joined: Wed Sep 13, 2023 10:52 pm

Re: How to unlock CRTC registers

Post 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!
Post Reply