Page 3 of 3

Re:Text Truncated

Posted: Thu Jan 02, 2003 1:10 pm
by jrfritz
But I need that GDT.

Re:Text Truncated

Posted: Thu Jan 02, 2003 1:12 pm
by jrfritz
The GDT must be 16 bit...

Re:Text Truncated

Posted: Thu Jan 02, 2003 1:45 pm
by hanoi
[attachment deleted by admin]

Re:Text Truncated

Posted: Thu Jan 02, 2003 9:55 pm
by jrfritz
hanoi...that tripple faults the moment I jump to the 1 meg location.

No matter what code....it always tripple faults when it goes to 1 meg.

Re:Text Truncated

Posted: Fri Jan 03, 2003 2:11 am
by df
maybe you are not turning on the A20 line correctly?

Re:Text Truncated

Posted: Fri Jan 03, 2003 4:16 am
by hanoi
enable_a20:
IN AL, 0x92
OR AL, 0x02
OUT 0x92, AL
ret
^^^^^^^^^
my A20-enable

Re:Text Truncated

Posted: Fri Jan 03, 2003 12:45 pm
by Slasher
hi,
that method of setting the A20 will not work on all Pcs! first use the keyboard ports (get doc on keybords), then test if the A20 is set. if its not set then use your method stated above as a fall back.