TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: Robin Sheppard
from: William McBrine
date: 1999-01-22 15:32:52
subject: Re: memory 640K

-=> Robin Sheppard wrote to Tom Torfs <=-

 RS>    I'm a bit apprehensive about pmode stuff, though.  Several months 
 RS>    back, I grabbed a book on 80386 assembly, and all the stuff on 
 RS>    local descriptor tables, global descriptor tables, selectors, 
 RS>    interrupt descriptor tables, and I/O privilege made my head spin.  

You don't need to worry about that stuff unless you're writing an
operating system, or a DOS extender. User-level programming is simpler
than in 16-bit real mode.

 RS>    It seems that pmode might stop such stuff as writing directly to 
 RS>    video memory, serial communications, and custom keyboard handling 

Although you may have to approach those things a little differently, you
can still do them.

 RS>    With Watcom C, and the GCC ports, do the programs produced run
 RS>    under DOS, or do you have to run them from a protected-mode OS?

They're DOS programs, but they require a DPMI (DOS Protected Mode
Interface) server to be running. OS/2, Windows, and Linux's DOSEMU provide
that; but you can run a DPMI server under raw DOS, too. You can even bind
one to the EXE, so that it will run in any environment (ceding control if
another DPMI server is already running).

... DalekDOS v(overflow): (I)Obey (V)ision impaired (E)xterminate
--- MultiMail/Linux v0.23
* Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000)
SEEN-BY: 396/1 632/0 371 633/260 262 267 270 371 634/397 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 106/2000 396/1 633/260 635/506 728 633/267

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™.