Short: libsup Library for PureBasic. Author: lorylombus@gmail.com (Lorence Lombardo) Uploader: lorylombus@gmail.com (Lorence Lombardo) Type: dev/basic Version: 18-Sep-2022 Architecture: m68k-amigaos "libsup" is a PureBasic library which has been designed for interfacing with Amiga shared libraries conveniently without requiring assembler and is currently supported by FD2pbinc, but you may find other uses for it. The commands are as follows:- PokeLD0(long) up to D7. PokeLA0(long) up to A7. PeekLD0() up to D7. PeekLA0() up to A7. LCALL(libbase, offset) ALCALL(libbase, offset) SLCALL(struct) The first test of this PureBasic library has been with the "dbfsup.library" and is provided as an example. LCALL currently has a limitation that it should not be used with functions using registers A4,A5 and D7. ALCALL is a similar scenario but A3 is used instead of D7. SLCALL has much less limitations, reserves register A5 and detailed usage is explained in "lstst2.pb". In the rare case you need to use register A5 the variants SLCALL0 to SLCALL4 are provided which will reserve the A register corresponding to the number instead of A5. SLCD0 to SLCD7 are also variants which will reserve the D register corresponding to the number instead of A5. In the A5 case FD2pbinc's automated STUB mode can also be considered. web page:- http://geocities.ws/lorylomb/