A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » Processors » Intel
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

accessing memory mapped I/O in REAL MODE of x86 processor Arch..



 
 
Thread Tools Display Modes
  #1  
Old May 10th 04, 11:09 AM
banu
external usenet poster
 
Posts: n/a
Default accessing memory mapped I/O in REAL MODE of x86 processor Arch..

hi all,

can any one clarify below points,

1. can we access the Peripheral registers which are of size 255 bytes
(memory-mapped) in real mode which consists of 1Mbyte of space only..
?

or we must access them in only protected mode ?

2. Which is going to edit GDT, LDT,IDT in a system, is it OPERATING
SYSTEM or BIOS(boot loader) ?

3. is there any reserved space in REAL MODE 1MB where we should not
map any custom pheripheral(memory map)..

with regards,
bhanu prakash.k
  #2  
Old May 10th 04, 11:39 PM
Yousuf Khan
external usenet poster
 
Posts: n/a
Default

banu wrote:
hi all,

can any one clarify below points,

1. can we access the Peripheral registers which are of size 255 bytes
(memory-mapped) in real mode which consists of 1Mbyte of space only..
?

or we must access them in only protected mode ?

2. Which is going to edit GDT, LDT,IDT in a system, is it OPERATING
SYSTEM or BIOS(boot loader) ?

3. is there any reserved space in REAL MODE 1MB where we should not
map any custom pheripheral(memory map)..


?? Your question makes very little sense, but I'll try to answer it. ??

In real mode, the most reserved part of memory is the region between
0-640MB, where they map the general-purpose RAM. Between 640MB-1024MB region
is the section where you can map registers. However, be aware that there are
some standard periperals that always occupy the same locations in memory
such as the BIOS, the video BIOS, the video graphics buffer, etc.

http://www.osdata.com/system/physical/memmap.htm

Yousuf Khan


  #3  
Old May 13th 04, 10:31 AM
Eric
external usenet poster
 
Posts: n/a
Default

Yousuf Khan wrote:

banu wrote:
hi all,

can any one clarify below points,

1. can we access the Peripheral registers which are of size 255 bytes
(memory-mapped) in real mode which consists of 1Mbyte of space only..
?

or we must access them in only protected mode ?

2. Which is going to edit GDT, LDT,IDT in a system, is it OPERATING
SYSTEM or BIOS(boot loader) ?

3. is there any reserved space in REAL MODE 1MB where we should not
map any custom pheripheral(memory map)..


?? Your question makes very little sense, but I'll try to answer it. ??

In real mode, the most reserved part of memory is the region between
0-640MB, where they map the general-purpose RAM. Between 640MB-1024MB
region is the section where you can map registers. However, be aware that
there are some standard periperals that always occupy the same locations
in memory such as the BIOS, the video BIOS, the video graphics buffer,
etc.

http://www.osdata.com/system/physical/memmap.htm

Yousuf Khan


Ehhmm, dont you mean KB and not MB?
  #4  
Old May 13th 04, 02:40 PM
Yousuf Khan
external usenet poster
 
Posts: n/a
Default

Eric wrote:
In real mode, the most reserved part of memory is the region between
0-640MB, where they map the general-purpose RAM. Between 640MB-1024MB
region is the section where you can map registers. However, be aware
that there are some standard periperals that always occupy the same
locations in memory such as the BIOS, the video BIOS, the video
graphics buffer, etc.

http://www.osdata.com/system/physical/memmap.htm

Yousuf Khan


Ehhmm, dont you mean KB and not MB?


Damn, you're right. I'm just in the process of getting used to using GB's
instead of MB's mostly, and now I have to think back to the ancient days
about DOS. :-)

Yousuf Khan


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
nvidia display issues news.socket.net Nvidia Videocards 1 March 17th 05 11:57 PM
fsb speed - why does it matter? James Hanley Overclocking 52 November 7th 04 12:04 PM
I still don't completly understand FSB.... legion Homebuilt PC's 7 October 28th 04 03:20 AM
Protected vs Real esara Homebuilt PC's 1 May 1st 04 06:00 AM
The Technology of PS3 subsystem General 31 November 22nd 03 03:05 AM


All times are GMT +1. The time now is 08:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.