Re: [cc65] Atari Library dosdetect.s

From: Christian Groessler <chris1groessler.org>
Date: 2007-03-26 21:38:13
Hi Shawn,

On Sat, 24 Mar 2007, Shawn Jefferson wrote:

> Hi,
> 
> I'm working on a project where it would be nice to be
> able to detect when I'm running with NODOS.  I noticed
> that the Atari library defaults to ATARIDOS when it
> can't detect the DOS.

Yes, that's not really nice. But what is the exact problem if ATARIDOS is 
detected?


> Could a change similiar to what I've done below be made?

Sure, but it should be more robust (see below).


> With dosdetect.s I tested running from the Atarimax
> Maxflash cartridge and from MyPicoDOS, both report
> NODOS for _dos_type.  If a DOS does exist (and I
> tested about 10 different DOS versions), there will
> always be $00 $07 in $702/$703.  It would be nice to

I've just tried with SpartaDOS 3.3a and AtariDOS 3, and both don't have 
$07 at $703. We need a better detection mechanism.

Once again, what is the problem if the runtime behaves as if ATARIDOS is 
present?

regards,
chris
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Mar 26 21:37:49 2007

This archive was generated by hypermail 2.1.8 : 2007-03-26 21:37:53 CEST