05 June 2020, 06:10 | #1 |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
Amiga System Libraries include for VASM
Where can I find Amiga System libraries include files for VASM?
|
05 June 2020, 09:28 | #2 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Probably you mean this (?) https://www.haage-partner.de/download/AmigaOS/NDK39.lha
|
05 June 2020, 12:50 | #3 | |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
Quote:
unknown mnemonic <FUNCDEF> I'm using motorola syntax. Are these libraries for this kind of syntax? |
|
05 June 2020, 13:39 | #4 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Just uncompress this zip inside the inludes
if you want to use functions of exec, do include lvo/exec_lib.i for dos include lvo/dos_lib.i etc. |
05 June 2020, 14:17 | #5 |
Semi-Retired
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 2,001
|
Some of the lib files don't assign numbers to library jump offsets directly but use a macro called FUNCDEF to define the jump offset (by substracting -6 to every following function).
I think it is in exec/libraries.i |
05 June 2020, 20:45 | #6 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
|
06 June 2020, 05:15 | #7 |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
Thanks to all for the answers, but I have new questions.
- What does LVO mean? - What does incupd mean? - Are they part of Amiga system libraries? - Or are both libraries equivalent to Amiga system libraries? |
06 June 2020, 14:10 | #8 | |||
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,496
|
Library Vector Offset. Every Amiga library (shared library: xyz.library) has a jump table for all of its exported functions. The LVO defines the offset relative to the library's base address (which you get with OpenLibrary), which you have to call for a specific function.
Quote:
These additional files are helpful, but unfortunately not official. So I would keep that in mind if you plan to release your source text and others cannot assemble it. Quote:
No, the LVO's are not defined in a shared library. They are defined by the amiga.lib linker library, though. All function names are prefixed by _LVO. To use such a symbol fron amiga.lib, import it into your assembler source with xref _LVOFunctionNameand link the object file with -lamiga. Quote:
|
|||
07 June 2020, 10:24 | #9 | |
Registered User
Join Date: Dec 2018
Location: Málaga
Posts: 61
|
Quote:
Thanks Phx and the rest of members for the answers. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
vasm/mot: include failed error message | guy lateur | Coders. Asm / Hardware | 6 | 23 December 2018 20:29 |
Origin/sources of the Amiga C libraries | Hedeon | Coders. C/C++ | 10 | 04 November 2018 15:08 |
Opening system libraries in Blitz. | peceha | Coders. Blitz Basic | 3 | 21 August 2018 12:10 |
Basic/System include files | guy lateur | Coders. Asm / Hardware | 6 | 05 July 2017 12:53 |
Equivalent libraries from standard c to amiga c | _ThEcRoW | Coders. General | 6 | 14 December 2005 17:01 |
|
|