Solved

Implementaion of Paging in Protected Mode Os

Posted on 2004-04-07
4
233 Views
Last Modified: 2006-11-17
i am developing a protected mode OS as a part of my project. i am currently doing paging...

the whole program is relocated at a virtual addr of 0xc0000000 and loads into physical memory at 0x100000.
the problem is that whenever keyboard interrupt occurs on pressing a key the system resets..

i 've initialized PIC,keyboard,timer,IDT,GDT
uptill now and were working fine without paging...

Please help....
0
Comment
Question by:anoop_cet_cs
4 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 250 total points
ID: 10775763
Hi anoop_cet_cs,

check if your paging maps all programs to system boot code

Sunnycoder
0
 
LVL 10

Assisted Solution

by:Kavar
Kavar earned 250 total points
ID: 10776026
sounds like your not using remappable addresses...

something in your code is not translating an address correctly

lets say you were doing something like

eax=$400000
add eax,0c*100
jmp eax

unless you've done something to update eax base location, the function will only work in the spot its loaded in...

I know this is over simplified, but it does sound to me like you have a non-relative reference somewhere
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Specific format 21 182
strCount chalenge 3 70
topping3 challenge 14 70
Modify a small python script 19 97
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now