Page 2 of 2

Re: Problem with far jump ptr16:32 and data descriptor in GD

Posted: Wed Jan 06, 2016 12:53 am
by startrail
Setting the Cr0.PE bit before changing the selectors makes it work now. Thanks for the help Gigasoft.
Was able to write to the video memory in32 bit mode successfully.

Now I am planning to write an ISO CD reader so that I can locate my kernel and other modules and get to coding in C.

Re: Problem with far jump ptr16:32 and data descriptor in GD

Posted: Wed Jan 06, 2016 1:47 am
by ggodw000
looks like misread, you loaded segment selectors before PE bit, i'd not do it.