Page 2 of 2

Re:Multitasking Problem

Posted: Sat Mar 29, 2003 1:17 pm
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.

Re:Multitasking Problem

Posted: Sat Mar 29, 2003 1:33 pm
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