How to enquire Maddalt() support

GFA, ASM, STOS, ...

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

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

How to enquire Maddalt() support

Postby Arne » Mon Dec 02, 2019 1:16 pm

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 Super Hero
Atari Super Hero
Posts: 859
Joined: Sun Aug 03, 2014 5:54 pm

Re: How to enquire Maddalt() support

Postby ThorstenOtto » Mon Dec 02, 2019 3:05 pm

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: 4426
Joined: Tue Oct 30, 2007 2:55 pm
Location: Florø, Norway
Contact:

Re: How to enquire Maddalt() support

Postby joska » Mon Dec 02, 2019 3:14 pm

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: 557
Joined: Thu Nov 01, 2007 10:01 am

Re: How to enquire Maddalt() support

Postby Arne » Mon Dec 02, 2019 3:19 pm

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


Social Media

     

Return to “Coding”

Who is online

Users browsing this forum: No registered users and 4 guests

cron