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.
billion_boi wrote:Since in the code i haven't used thr LGDT instruction, or called the function that sets up the descriptors.... rather just set the limit and base address in the pointer. Why or how is it that I'm running the GDT?
Advice: Please, RTFM, Practice your programming knowledge, and RTFM
I really can't be much clearer than I,Jeremiah Griffin, and Combuster have been.
List of Things to do:
RTFM
RTFW
STFW
STFF
There are already a million examples of setting up the GDT. The GDT is one of the easier parts of OSDev, if you can't figure that out, you don't belong here.
billion_boi wrote:hey,
Ive managed to compile my bootloader using NASM with no errors , but the code doesnt run beyond the GDTpointer that ive marked below...I can print a string befor the line...but not after...Any ideas as to why?
Its not like ive loaded the segment register that my string function uses with the descriptor offsett yet...
homework:
1) follow a series of assembly tutorials
2) write a DOS app in assembly that sets a video mode and draws a nice image.
"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 ]