28 August 2023, 00:37 | #1 |
Registered User
Join Date: Apr 2009
Location: N/A
Posts: 962
|
Header for ASOT_PORT?
I am trying to get the example here (https://wiki.amigaos.net/wiki/Exec_Messages_and_Ports) to work for Workbench 3.1. I changed the syntax, example IExec->AllocSysObject to just AllocSysObject but continue to get an error "unknown identifier" ASOT_PORT.
Anyone knows what the header that includes the definition for ASOT_PORT is? also how would one go about identify the correct header when receiving similar errors? |
28 August 2023, 01:32 | #2 |
Registered User
Join Date: Mar 2019
Location: Poland
Posts: 60
|
AllocSysObject is not available in version 3.1 - it is available starting from version 4.
To make these examples work on 3.1 you need to replace AllocSysObject with AllocVec or AllocMem and FreeSysObject with FreeVec or FreeMem respectively. |
28 August 2023, 08:32 | #3 | |
bye
Join Date: Jun 2016
Location: Some / Where
Posts: 681
|
Quote:
read that page again: 'Prior to V50 of the operating system, functions such as CreatePort() and CreateMsgPort() were often used.' Better use examples for your target system. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Amiga 1200 with no clockport header pins | bitter | support.Hardware | 3 | 07 November 2022 07:30 |
CDTV ROM header..what is it for? | BusMaster | support.Hardware | 2 | 07 April 2022 22:18 |
Using libraries and header files | guy lateur | Coders. C/C++ | 3 | 20 June 2021 21:16 |
New a500 56pin header | xraynorm | support.Hardware | 7 | 31 December 2018 11:41 |
where are header files located in GCC ? | Morbane | Coders. General | 0 | 05 January 2012 11:42 |
|
|