[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] might be stupid questions:



Hello!

> I have a question which might sound silly, but i think worth asking:
> 
> Up until now, to remain as compatible as possible, we/programers have to
> do the following:
> 
> if cookie(magic or mint) then
> 	pdomain(1)
> 	and use dreadxxxxx()
> else
> 	use fsfirst etc
> endif

Why not check for ENOSYS? You can easily skip the cookie stuff.

> if pdomain()=1 then emulate fsxxxx using dreadxxx() ?
> 
> If this doesn't make any sense, i am sorry :) just ignore..

It doesn't make sense.

I just would say only use Dreaddir(). In most cases you can skip original
TOS support.


Tschuess
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de