Replacements for Deprecated functions.

Have a question about our Software Developer Kit? Ask them here.

Replacements for Deprecated functions.

Postby AmiDARK » Fri Sep 25, 2015 10:29 am

Hello.

Is there a place where we can see all the "replacement methods" for the "deprecated functions" from SDK 53.20 to 53.30 ?

Thank you.
AmiDARK
 
Posts: 27
Joined: Thu Oct 20, 2011 10:23 am

Re: Replacements for Deprecated functions.

Postby tonyw » Fri Sep 25, 2015 1:42 pm

If you look up the autodoc for the library with the deprecated function, it should tell you the recommended replacement. Most deprecated functions in DOS are just renamed.
cheers
tony
User avatar
tonyw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1208
Joined: Wed Mar 09, 2011 2:36 pm
Location: Sydney, Australia

Re: Replacements for Deprecated functions.

Postby ssolie » Fri Sep 25, 2015 6:42 pm

AmiDARK wrote:Is there a place where we can see all the "replacement methods" for the "deprecated functions" from SDK 53.20 to 53.30 ?

No there is not but we are working on improving the AmigaOS Documentation Wiki where this kind of information should go IMHO.

If you could be more specific on which functions you are concerned about we can focus on those areas first. Otherwise it is just too big a job.
AmigaOS Development Team Lead
Be authentic. Get AmigaOS.
User avatar
ssolie
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 1000
Joined: Mon Dec 20, 2010 9:51 pm
Location: Canada

Re: Replacements for Deprecated functions.

Postby eliyahu » Fri Sep 25, 2015 10:56 pm

ssolie wrote:
AmiDARK wrote:Is there a place where we can see all the "replacement methods" for the "deprecated functions" from SDK 53.20 to 53.30 ?

No there is not but we are working on improving the AmigaOS Documentation Wiki where this kind of information should go IMHO.

If you could be more specific on which functions you are concerned about we can focus on those areas first. Otherwise it is just too big a job.

i've taken a first pass at this. please see http://wiki.amigaos.net/wiki/Deprecated_Functions and let me know if it's what you're needing.

-- eliyahu
User avatar
eliyahu
Beta Tester
Beta Tester
 
Posts: 61
Joined: Sat Jun 18, 2011 12:13 am

Re: Replacements for Deprecated functions.

Postby xenic » Sat Sep 26, 2015 12:07 am

eliyahu wrote:i've taken a first pass at this. please see http://wiki.amigaos.net/wiki/Deprecated_Functions and let me know if it's what you're needing.

I think the preferred replacements for some of the deprecated "libamiga.a" functions are actually tags like ASOT_IOREQUEST, ASOT_MESSAGE & ASOT_PORT used with AllocSysObject() in exec.library.

You might also want to mention in "DOS library" that most DOS structures should now be Allocated with AllocDosObject.
Last edited by xenic on Sat Sep 26, 2015 4:49 pm, edited 1 time in total.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 980
Joined: Sun Jun 19, 2011 1:06 am

Re: Replacements for Deprecated functions.

Postby colinw » Sat Sep 26, 2015 4:43 am

eliyahu wrote:i've taken a first pass at this. please see http://wiki.amigaos.net/wiki/Deprecated_Functions and let me know
if it's what you're needing.
-- eliyahu


As far as DOS goes, there's a bunch more deprecated functions than are mentioned in the article.
If you load the include_h/interfaces/dos.h file into notepad and search for "DEPRECATED",
you will find many more...

Most deprecated ones are due to 32 bit filesize parameter limitations, some old functions are simply broken,
and some functions may just be renamed for consistency.

It might be nice to make a minor mention in the article, the reason why a change has been made.
The autodoc will generally provide far more detail.
User avatar
colinw
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 156
Joined: Mon Aug 15, 2011 10:20 am
Location: Brisbane, QLD. Australia.


Return to SDK Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron