Le 31/05/2012 11:17, Lonny Pursell a écrit :
on 5/31/12 4:57 AM, Helmut Karlowski wrote:Xavier Joubert wrote:----- Mail original -----De: Henk Robbers Changing to *.PRJ solves the TOS problem but shifts the nuisance to non TOS users.Maybe you could simply choose the mask depending on the OS AHCC is running on (plain TOS/EmuTOS = uppercase, MiNT/MagiC = lowercase), or let the user choose which mask is suited for his configuration.Or better check for Multitask-AES.That's how I've always done it. Look into the global array returned by appl_init() -> _AESnumapps = 1 if single-tasking, otherwise assume multi-tasking.
In fact for multitask : _AESnumapps = -1 as I know accessory receive other values than 1 on singletos. Olivier