protected mode programming guide

Reply

Join Date: Oct 2007
Posts: 19
Reputation: sgk26p10p07 is an unknown quantity at this point 
Solved Threads: 1
sgk26p10p07 sgk26p10p07 is offline Offline
Newbie Poster

protected mode programming guide

 
0
  #1
Nov 11th, 2007
Anyone to help with protected mode programming,like help me create a a data descriptor pointing to 0b800h when i try to write to RAM it rebbots
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,142
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1434
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: protected mode programming guide

 
0
  #2
Nov 11th, 2007
Protected mode does not have access to real mode addresses. You have to switch back to real mode to access it. Yes its a pain in the butt. How to do it? I don't know, all I know is what I've read from documentation of dos extenders such as Phar Lap. Unfortunately when MS-DOS died so did many other companies such as Phar Lap.
Last edited by Ancient Dragon; Nov 11th, 2007 at 8:41 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 19
Reputation: sgk26p10p07 is an unknown quantity at this point 
Solved Threads: 1
sgk26p10p07 sgk26p10p07 is offline Offline
Newbie Poster

Re: protected mode programming guide

 
0
  #3
Jan 8th, 2008
heya why is it that wen i switch back to real mode i cant access real mode interrupts even when i never modified anythang like for instance this code
mov EAX,CR0
OR AL,0H
MOV CR0,EAX;THEN SWITCH BACK TO REAL MODE
MOV EAX,CR0
AND AL,10B
MOV CR0,EAX
;THEN INT 10H
MOV AX,3H
INT 10H
;THEN MY PROGRAM DOESNT RESPOND PLS HEL-P
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 19
Reputation: sgk26p10p07 is an unknown quantity at this point 
Solved Threads: 1
sgk26p10p07 sgk26p10p07 is offline Offline
Newbie Poster

Re: protected mode programming guide

 
0
  #4
Jan 8th, 2008
Oh, No The
Or Al,1h ;not 0h Sorry
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC