Hello.
I had difficulties to setup MSG port and IO port for the program I did...
Now that these functions are obsolete, I'd likt to update them to new methods...
In SDK 53.30 Autodocs exec.doc, these functions are always in Not updated.
Does someone can give me a clue on how I can replace these functions :
- CreateMsgPort
- DeleteMsgPort
- CreateIORequest
- DeleteIORequest
Thank you.
Regards,
[Solved] Exec Replacement for Create/Delete Msg/IO Port
[Solved] Exec Replacement for Create/Delete Msg/IO Port
Last edited by AmiDARK on Fri Sep 25, 2015 9:56 pm, edited 1 time in total.
Sam440EP - AmigaOS 4.1 Final Edition
- thomasrapp
- Posts: 310
- Joined: Sat Jun 18, 2011 11:22 pm
Re: Exec Replacement for Create/Delete Msg/IO Port
See AllocSysObject, FreeSysObject.
Re: Exec Replacement for Create/Delete Msg/IO Port
Ok.
In fact they want to reduce the amount of library functions creating more complex replacements. Right ?
Thank you for this information, I will check doc to see how they work.
Regards,
In fact they want to reduce the amount of library functions creating more complex replacements. Right ?
Thank you for this information, I will check doc to see how they work.
Regards,
Sam440EP - AmigaOS 4.1 Final Edition
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 2:40 am
- Location: Portsmouth, UK
- Contact:
Re: Exec Replacement for Create/Delete Msg/IO Port
No, there AllocSysObject() option ensures correct memory allocation, allows options for future resource tracking etc, they are more future proof.
Ok.
In fact they want to reduce the amount of library functions creating more complex replacements. Right ?
Re: Exec Replacement for Create/Delete Msg/IO Port
BroadBlues : I understand your words ... But I complete with "And more complex because there are several uses of the same functions"
I've made the changes. The program compiles. I hope I used the correct tags for the job to be done.
Thank you.
Regards,
I've made the changes. The program compiles. I hope I used the correct tags for the job to be done.
Thank you.
Regards,
Sam440EP - AmigaOS 4.1 Final Edition
Re: Exec Replacement for Create/Delete Msg/IO Port
It also precludes the use of memory pools or an AlloctaskMemEntry() list for easily freeing all memory at once when exiting a program.AmiDARK wrote:BroadBlues : I understand your words ... But I complete with "And more complex because there are several uses of the same functions"
AmigaOne X1000 with 2GB memory - OS4.1 FE