Article View: news.software.readers
Article #18977Re: Newswerthy Yarn?
From: William Werth
Date: Sat, 10 Feb 1996 00:00
Date: Sat, 10 Feb 1996 00:00
45 lines
3089 bytes
3089 bytes
In <MM4Gxw8Z7KlU089yn@netcom.com>, jhurwit@netcom.com (Jeffrey Hurwit) wrote: : Now that's very interesting... I suspect that many people don't : know that a 286 is even capable of protected mode. However, I also : understand that, once a 286 CPU is kicked into protected mode, it : is necessary to restart your system to get it back into real mode : (I believe I read it in a hardware book somewhere). If that's true, : I'm wondering how you handle it in your software. : Protected mode is fine, but it seems to me that utilizing memory : managers (if present) in real mode makes more sense, if you want : software that'll run well on old hardware. Many popular software : packages (PKZIP comes to mind) do just that. Enter pkzip, then 4 to see the trouble shooting options. You'll see that that there is an option: "-) Disable 32 bit DPMI usage". So it seems that pkzip is using 32 bit Dos Protected Mode. There are two basic types of protected mode, 16 bit and 32 bit. The 16 bit requires a '286 or better PC and the 32 bit requires a '386 or better PC. I chose to use the 16 bit type so that more people could run it. Also it is easier to convert a Turbo Vision program (like mine) to 16 bit, than 32 bit. I'm using Borland's Power Pack to create the protected mode version, but other programming tools may not provide the option of 16 or 32 bit. NewsWerthy works fine on a '286, and I've never had any complaints about having to reboot to run anything else. I don't do anything special, Borland has done all the work for me, I just change a few things in their IDE, add maybe 100 lines of code, and the DOS version becomes a protected mode version. Even so, the '286 hadn't yet standardized on how protected mode works, so it requires a utility to setup the PC to run in protected mode. This isn't required for a '386, which became standardized on how to run in protected mode. This may also be a reason some programs only have a version for a '386. -- billw@eskimo.com : Some things have to be believed to be ftp://ftp.eskimo.com/u/b/billw : seen. http://www.eskimo.com/~billw/ : Try NewsWerthy, a SOUP format : offline mail reader for DOS :
Technical Details
Message-ID:
<DMJsKF.19r@eskimo.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<4f2vmp$kov@news.xs4all.nl> <DMFxzn.Eqt@eskimo.com>Show Full Headers
Complete Article Headers
Message-ID: <DMJsKF.19r@eskimo.com> Subject: Re: Newswerthy Yarn? Date: Sat, 10 Feb 1996 00:00:00 +0000 From: billw@eskimo.com (William Werth) References: <4f2vmp$kov@news.xs4all.nl> <DMFxzn.Eqt@eskimo.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 138683519 Sender: news@eskimo.com (News User Id) X-nntp-posting-host: eskimo.com Organization: Eskimo North (206) For-Ever Newsgroups: news.software.readers