From owner-freebsd-chat Sat Nov 22 17:40:40 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA09825 for chat-outgoing; Sat, 22 Nov 1997 17:40:40 -0800 (PST) (envelope-from owner-freebsd-chat) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA09820 for ; Sat, 22 Nov 1997 17:40:36 -0800 (PST) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id UAA01776; Sat, 22 Nov 1997 20:39:47 -0500 (EST) X-Authentication-Warning: picnic.mat.net: chuckr owned process doing -bs Date: Sat, 22 Nov 1997 20:39:46 -0500 (EST) From: Chuck Robey X-Sender: chuckr@picnic.mat.net To: Charles Mott cc: chat@FreeBSD.ORG Subject: Re: FreeBSD Book Club In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-chat@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sat, 22 Nov 1997, Charles Mott wrote: > > Yeah, I wasn't calling the world's greatest book, but when the field is > > that thin, well, I think it has to be a keeper, else you get nothing at > > all. The van Gilluwe book disappointed me in skipping many things I was > > specifically interested in, while doing a pedagogical OS for a class, but > > I had the field pretty well covered. When you leave the Unix and Windows > > fields, what's left is either completely roll-your-own, or you have to get > > really familiar with DPMI, and there's just nothing on DPMI out there > > except raw specs. Luckily, it's not the worst spec in the world. > > You've won the argument and saved the day for Shanley. I won't be testing > amazon.com's return policy. At the risk of me sounding a little ignorant > here, what is DPMI? I had to learn about it, doing the OS that had to run under a Win95 dos box. In case you're wondering about that, it wasn't my idea ... anyhow, DPMI is a dos-world memory manager, one of basically 3 standards that exist. The lowest level is the extended memory standard, XMS. The next level up is VPCI, but VPCI didn't allow for multiple processes very well, and isn't therefore terribly useful. DPMI is represented by two specs, one for level 0.9 (which has by far the best writeup) and 1.0. Because the docs are so much better for 0.9, there are a whole field of DPMI servers available, that are mostly 0.9+ things. Allows you to do things like memory map areas, have demand loaded areas, do a malloc that is protected from other processes and returns larger than 64K, get/set/mangle and otherwise contort various descriptors, there's a lot of functionality. If you're doing things in the dos world, and don't want to depend on Windows libs, DPMI is the spec to use. There's a GNU version also. If you want to know more, there's a protected mode mailling list that has a pretty good signal/noise ratio. Send me mail if you're interested. > > Charles Mott > > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------