Solved

Implementaion of Paging in Protected Mode Os

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This is about my first experience with programming Arduino.
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 …
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…

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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now