How to enquire Maddalt() support

GFA, ASM, STOS, ...

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

Post Reply
User avatar
Arne
Atari Super Hero
Atari Super Hero
Posts: 646
Joined: Thu Nov 01, 2007 10:01 am

How to enquire Maddalt() support

Post by Arne »

Hi,
what is the clean(est) way to check if the OS is supporting Maddalt() calls?
Shall I check if GEMDOS version is >= 0.19 or is there a better way?

Thanks, Arne
Image
ThorstenOtto
Atari God
Atari God
Posts: 1190
Joined: Sun Aug 03, 2014 5:54 pm

Re: How to enquire Maddalt() support

Post by ThorstenOtto »

GEMDOS functions that aren't available return -32, so just check for that. But where are you calling Maddalt()? I'm not sure whether that will be too late when done from a auto-folder-program or similar.
joska
Hardware Guru
Hardware Guru
Posts: 4722
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: How to enquire Maddalt() support

Post by joska »

Maddalt() can be called at any time.
Jo Even

VanillaMiNT - Firebee - Falcon060 - Milan060 - Falcon040 - MIST - Mega ST - STM - STE - Amiga 600 - Sharp MZ700 - MSX - Amstrad CPC - C64
User avatar
Arne
Atari Super Hero
Atari Super Hero
Posts: 646
Joined: Thu Nov 01, 2007 10:01 am

Re: How to enquire Maddalt() support

Post by Arne »

ThorstenOtto wrote:GEMDOS functions that aren't available return -32, so just check for that. But where are you calling Maddalt()? I'm not sure whether that will be too late when done from a auto-folder-program or similar.
Thanks. Will check for -32 then.
AUTO folder is the preferred way.
Image
Post Reply

Return to “Coding”