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

Re: [MiNT] This fight



Hello!

> > the impression that NatFeats should NOT be used by user applicaitons (only
> > the OS). Why then do we need to make MiNTlib aware/use NatFeat?
>
> For example there is a MiNTlib function that returns the name of machine

Very bad example :-)

> it is running on (sorry I can't recall it ATM)

It's sysinfo().

> - it returns "Falcon" or
> "TT" or things like that. I think it would be good if it returned
> "ARAnyM" for ARAnyM, "STonX" for STonX, "hatari" for hatari etc.

The sysinfo() use Ssystem() to get all interesting informations (including
reading the MCH cookie).

> Now I suppose the MiNTlib would wrap the FreeMiNT's proposed NF syscall

Btw. can you explain for me what do you understand under the "FreeMiNT's
proposed NF syscall" and what these syscall should do?

> in a neat function call and would use this call in the routine that
> finds out the machine name. But in TOS emulation mode (when MiNTlib
> linked program would be running on TOS/MagiC) it should fall back to
> __NF cookie.

Under TOS the sysinfo just read out the cookie and some other TOS
variables.

> Another option is to write TSR for TOS that would provide emulation of
> the MiNT syscall in TOS.

For what? If someone need MiNT he can simply boot it (especially on aranym
I thought).

> There were proposals by other guys to use NF for multimedia processing,
> for example (JPEG as the simplest example).

This is an interesting idea. But why do you want to hardcode and bound
such nice things into emulator specific code?

Why not enhance the VDI/AES? The VDI/AES as part of the operating system
can then optimally handle it (with help of special hardware, or with help
of the emulator if running on aranym).

In this way it help all users. Users with normal ATARI hardware, users
with fast ATARI clones, users with special hardware, users with emulators.


Ciao
   ...Frank

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