Curiosity of the 286 archictecture - question

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
doxrobot
Member
Member
Posts: 30
Joined: Wed May 15, 2013 10:14 am

Curiosity of the 286 archictecture - question

Post by doxrobot »

Came across a manual for the 286, browsed through it for fun and I came across this:
The memory architecture of the Protected Mode 80286 represents a significant advance over that of the 8086. The physical address space has been increased from 1 megabyte to 16 megabytes (2^(24) bytes), while the virtual address space (i.e., the address space visible to a program) has been increased from 1 megabyte to 1 gigabyte (2^(30) bytes).
From what I know, the 286 didn't have paging, the closest you could get was maybe using not present faults to page in some data.

But afaik.. the 286 only had a 24 bit address bus, hence the 24 base in the gdt (which we will see today for backward compatibility). So without translation, our base+effective addr just goes out on the bus and would wrap at 16mb.

What is meant here by "1gb logical address space"?
User avatar
Minoto
Member
Member
Posts: 89
Joined: Thu May 12, 2011 7:24 pm

Re: Curiosity of the 286 archictecture - question

Post by Minoto »

iAPX 286 Programmers Reference Manual wrote: Chapter 6, "Virtual Memory." This chapter describes the iAPX 286 address translation mechanisms that support virtual memory. Segment descriptors, global and local descriptor tables, and descriptor caches are discussed.
Those who understand Unix are doomed to copy it, poorly.
linguofreak
Member
Member
Posts: 510
Joined: Wed Mar 09, 2011 3:55 am

Re: Curiosity of the 286 archictecture - question

Post by linguofreak »

doxrobot wrote:What is meant here by "1gb logical address space"?
You can have a total of 16384 descriptors between the two descriptor tables. Each descriptor can describe a segment with a size up to 64 KiB. 16384*64 KiB = 1 GiB.
doxrobot
Member
Member
Posts: 30
Joined: Wed May 15, 2013 10:14 am

Re: Curiosity of the 286 archictecture - question

Post by doxrobot »

Makes sense now. I didn't understand the methodology behind that at first. Thanks for the info.
Post Reply