TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Duncan Christie
from: Jonathan de Boyne Pollard
date: 1995-09-01 11:06:48
subject: Os/2

DC>
  > This doesn't have to do with programming for OS/2 but it is about the
  > programming of OS/2.  I have read that OS/2 creates virtual
  > machines each with
  > 4GB of memory. One for OS/2 programs and one for Win progs.
  > That might not be right, so please correct me.
DC>

  Each Intel OS/2 process has a linear address space (read up on the
  linear addressing scheme of the 386 if you don't know what this is) of
  512Mb. Intel OS/2 processes run (in ring 3) with segmentation
  effectively disabled (DS=ES=SS) using the 32-bit near addressing mode
  of the 16:32 scheme.

  ( The Intel OS/2 kernel uses the 48-bit (16:32) and 32-bit (16:16) far
    addressing modes, but those are invisible to applications
    programmers. )

  Each Virtual DOS Machine is effectively just another Intel OS/2
  process, and has the same 512Mb linear address space.  However VDMs
  run in v8086 protected mode, meaning that segmentation is fixed to
  address the first 1Mb of linear memory.  The Intel OS/2 kernel
  supplies DPMI services to allow VDMs to use true protected mode and
  access the linear address space above the 1Mb line.

  Read the _Technical_Concepts_ section of the OS2DOS Frequently Given
  Answers for more information on Intel OS/2 VDMs.

  Of course, the scheme for PowerPC OS/2 is different.

  > JdeBP <
 > Run, do not walk, to your nearest FIDONET files site for FGA-OS2D.ZIP, <
 > the Frequently Given Answers from the OS2DOS echo.  If there is no     <
 > Fernwood filebone site near you, you can also FREQ it from 2:440/4.0 . <
___
 X MegaMail 2.10 #0:

--- Maximus/2 3.00
* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 440/4 141/209 270/101 105/103 42 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.