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
sgk26p10p07
0
Newbie Poster
Recommended Answers
Jump to PostProtected 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
Jump to PostSegmentation Unit-->Linear Address-->Paging Unit-->Physical Address
As long as the paging unit and MMU are off, Linear Addresses
should map to physical.To turn a 16-bit segment address into a 32-bit linear address do:
…
mov bx, 0b800h
movzx eax, bx
shl eax, 4
; eax now contains linear address
Jump to PostDo you want a protected mode programming guide?
http://prodebug.sourceforge.net/pmtut.html
All 12 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
sgk26p10p07
0
Newbie Poster
sgk26p10p07
0
Newbie Poster
luminance
0
Newbie Poster
NotNull
23
Posting Whiz in Training
NotNull
23
Posting Whiz in Training
NotNull
23
Posting Whiz in Training
luminance
0
Newbie Poster
NotNull
23
Posting Whiz in Training
luminance
0
Newbie Poster
SamY
6
Junior Poster in Training
Salem
commented:
No need to rush for tomorrow, the OP posted that over TWO YEARS AGO!!!!
-4
Rider99
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.