Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: AUTO232 and memory protection

Author: Ed Schröder

Date: 09:54:24 02/03/99

Go up one level in this thread


>Posted by Robert Hyatt on February 03, 1999 at 09:55:20:

>unless something has changed drastically, it doesn't do that.  It _allows_ a
>program to access memory beyond 640K, but it doesn't 'protect' it.  Otherwise
>you couldn't run something like this and hang the system:
>
>   main() {
>      int a[1000];
>      int i;
>      for (i=i;i<10000000;i++) a[i]=0;
>   }

>Dos has never had the concept of 'a task' which is why "TSR (terminate and
>stay resident)" programs were developed.  They sit in memory, can write >_anywhere_ and you don't ever know unless they blow you up...

IMO a TSR program isn't able to write (or read) above 1 Mb. Is this
a correct view?


>>Rebel10.0c (with auto232) is currently running on 2 autoplayer pairs
>>under Win98 and a third autoplayer pair is running under Win95. No
>>incompatible problems noticed sofar.


>I assume your autoplayer 'bug' was not under windows?  Because if it was,
>then this changes things.  The only thing that can access your memory is part
>of _your_ program (including the auto232 driver code you include, of course,
>but 'other programs/processes' can't touch you in win98.  Only things that are
>part of your code..

No. I always have tested outside Windows using a clean boot without
any memory managers. Now I have started auto232 from the DOS-box
within Win98. I wonder if this is good enough to be safe as I know
HIMEM.SYS behaves different in the DOS-box than if you launch a
program from the desktop.

Ed



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.