Text Truncated

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.
jrfritz

Re:Text Truncated

Post by jrfritz »

But I need that GDT.
jrfritz

Re:Text Truncated

Post by jrfritz »

The GDT must be 16 bit...
hanoi

Re:Text Truncated

Post by hanoi »

[attachment deleted by admin]
jrfritz

Re:Text Truncated

Post 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.
User avatar
df
Member
Member
Posts: 1076
Joined: Fri Oct 22, 2004 11:00 pm
Contact:

Re:Text Truncated

Post by df »

maybe you are not turning on the A20 line correctly?
-- Stu --
hanoi

Re:Text Truncated

Post by hanoi »

enable_a20:
IN AL, 0x92
OR AL, 0x02
OUT 0x92, AL
ret
^^^^^^^^^
my A20-enable
Slasher

Re:Text Truncated

Post 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.
Post Reply