Multitasking Problem

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.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:Multitasking Problem

Post by distantvoices »

pls check out the values you pass to the segment registers. May be you miss to put some value onto the stack or to return some value? May be you have some junk in a field?

The gdt limit is calculated like this:

(Nr of Descriptors * 8)-1.

If you have 8 descriptors in your gdt, you'll have a limit of 8*8 (=64) -1 = 63 (hex 3f).

If you want to increase the limit: add descriptors to the gdt. This is the only valid way to increase limit of gdt.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
chrisa128

Re:Multitasking Problem

Post by chrisa128 »

Thank you so much beyond inifinty, I got it working, I should read the question more carefully.

Also thanks to the others that helped!!!!!!!!!!

I just increased my GDT Limit and it works!!!! :) :) :) ;D ;D
Post Reply