Solved

Implementaion of Paging in Protected Mode Os

Posted on 2004-04-07
4
236 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 117
simplest php form 3 85
ejb wildfly example 2 70
What does != "" mean in programming 8 128
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

762 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