home *** CD-ROM | disk | FTP | other *** search
Wrap
Text File | 2000-07-26 | 44.5 KB | 1,201 lines
/* Automatically generated header! Do not edit! */ #ifndef _INLINE_INI_H #define _INLINE_INI_H #ifndef __INLINE_STUB_H #include <inline/stubs.h> #endif /* !__INLINE_STUB_H */ #ifndef BASE_EXT_DECL #define BASE_EXT_DECL #define BASE_EXT_DECL0 extern struct iniLibBase *INIBase; #endif /* !BASE_EXT_DECL */ #ifndef BASE_PAR_DECL #define BASE_PAR_DECL #define BASE_PAR_DECL0 void #endif /* !BASE_PAR_DECL */ #ifndef BASE_NAME #define BASE_NAME INIBase #endif /* !BASE_NAME */ BASE_EXT_DECL0 extern __inline void iniAddContext(BASE_PAR_DECL struct iniFile *iniFile, struct iniContext *ContextStr) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register struct iniContext *a1 __asm("a1") = ContextStr; __asm volatile ("jsr a6@(-0x78:W)" : /* No Output */ : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline void iniAddContextItem(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; __asm volatile ("jsr a6@(-0x9c:W)" : /* No Output */ : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline STRPTR iniAllocNameStr(BASE_PAR_DECL STRPTR CStr) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = CStr; __asm volatile ("jsr a6@(-0x2a:W)" : "=r" (res) : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline APTR iniAllocPMem(BASE_PAR_DECL unsigned long byteSize) { BASE_EXT_DECL register APTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register unsigned long d0 __asm("d0") = byteSize; __asm volatile ("jsr a6@(-0x1e:W)" : "=r" (res) : "r" (a6), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline BOOL iniCheckComment(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine) { BASE_EXT_DECL register BOOL res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; __asm volatile ("jsr a6@(-0x12c:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline void iniClose(BASE_PAR_DECL struct iniFile *iniFile) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; __asm volatile ("jsr a6@(-0x5a:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline struct iniContext * iniCreateContext(BASE_PAR_DECL STRPTR ContextName) { BASE_EXT_DECL register struct iniContext *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = ContextName; __asm volatile ("jsr a6@(-0x6c:W)" : "=r" (res) : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline struct iniContextItemLine * iniCreateContextItem(BASE_PAR_DECL STRPTR CStr) { BASE_EXT_DECL register struct iniContextItemLine *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = CStr; __asm volatile ("jsr a6@(-0x90:W)" : "=r" (res) : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline void iniDeleteContext(BASE_PAR_DECL struct iniContext *ContextStr) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; __asm volatile ("jsr a6@(-0x8a:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline void iniDeleteContextItem(BASE_PAR_DECL struct iniContextItemLine *ContextItemLine) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContextItemLine *a0 __asm("a0") = ContextItemLine; __asm volatile ("jsr a6@(-0xae:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline struct iniContext * iniFindContext(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, unsigned long Flags) { BASE_EXT_DECL register struct iniContext *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register unsigned long d0 __asm("d0") = Flags; __asm volatile ("jsr a6@(-0x1bc:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline struct iniContextItemLine * iniFindItem(BASE_PAR_DECL struct iniContext *ContextStr, STRPTR ContextItemName, unsigned long Flags) { BASE_EXT_DECL register struct iniContextItemLine *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register STRPTR a1 __asm("a1") = ContextItemName; register unsigned long d0 __asm("d0") = Flags; __asm volatile ("jsr a6@(-0x1c2:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniFloatToStr(BASE_PAR_DECL STRPTR Buffer, long Float, unsigned long FltFormat, unsigned long IntLen, unsigned long FracLen, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = Buffer; register long d0 __asm("d0") = Float; register unsigned long d1 __asm("d1") = FltFormat; register unsigned long d2 __asm("d2") = IntLen; register unsigned long d3 __asm("d3") = FracLen; register unsigned long d4 __asm("d4") = ZeroSep; __asm volatile ("jsr a6@(-0x1b6:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline void iniFreeContext(BASE_PAR_DECL struct iniContext *ContextStr) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; __asm volatile ("jsr a6@(-0x72:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline void iniFreeContextItem(BASE_PAR_DECL struct iniContextItemLine *ContextItemLine) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContextItemLine *a0 __asm("a0") = ContextItemLine; __asm volatile ("jsr a6@(-0x96:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline void iniFreeNameStr(BASE_PAR_DECL STRPTR NameStr) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = NameStr; __asm volatile ("jsr a6@(-0x30:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline void iniFreePMem(BASE_PAR_DECL APTR memoryBlock, unsigned long byteSize) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register APTR a1 __asm("a1") = memoryBlock; register unsigned long d0 __asm("d0") = byteSize; __asm volatile ("jsr a6@(-0x24:W)" : /* No Output */ : "r" (a6), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline STRPTR iniGetArrayLine(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, unsigned long Number) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register unsigned long d0 __asm("d0") = Number; __asm volatile ("jsr a6@(-0x138:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniGetArrayPos(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, unsigned long Number) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register unsigned long d0 __asm("d0") = Number; __asm volatile ("jsr a6@(-0x13e:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniGetByteA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, BYTE *Array, unsigned long Entries) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register BYTE *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; __asm volatile ("jsr a6@(-0x156:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniGetContextItem(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, STRPTR Buffer) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register STRPTR a2 __asm("a2") = Buffer; __asm volatile ("jsr a6@(-0x11a:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniGetContextItemData(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, STRPTR Buffer) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register STRPTR a2 __asm("a2") = Buffer; __asm volatile ("jsr a6@(-0x120:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniGetContextItemDataA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, STRPTR Buffer, unsigned long Number) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register STRPTR a2 __asm("a2") = Buffer; register unsigned long d0 __asm("d0") = Number; __asm volatile ("jsr a6@(-0x126:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniGetContextName(BASE_PAR_DECL STRPTR ContextLine, STRPTR Buffer) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = ContextLine; register STRPTR a1 __asm("a1") = Buffer; __asm volatile ("jsr a6@(-0x114:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline LONG iniGetFloat(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, long Default) { BASE_EXT_DECL register LONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register long d0 __asm("d0") = Default; __asm volatile ("jsr a6@(-0x14a:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniGetFloatA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, LONG *Array, unsigned long Entries) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register LONG *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; __asm volatile ("jsr a6@(-0x168:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline LONG iniGetLong(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, long Default) { BASE_EXT_DECL register LONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register long d0 __asm("d0") = Default; __asm volatile ("jsr a6@(-0x144:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniGetLongA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, LONG *Array, unsigned long Entries) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register LONG *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; __asm volatile ("jsr a6@(-0x162:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniGetNumArrays(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; __asm volatile ("jsr a6@(-0x132:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniGetStr(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, STRPTR Default) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register STRPTR a2 __asm("a2") = Default; __asm volatile ("jsr a6@(-0x150:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniGetStrA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, STRPTR *Array, unsigned long Entries) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register STRPTR *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; __asm volatile ("jsr a6@(-0x16e:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniGetWordA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, WORD *Array, unsigned long Entries) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register WORD *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; __asm volatile ("jsr a6@(-0x15c:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline void iniInsertContext(BASE_PAR_DECL struct iniFile *iniFile, struct iniContext *ContextStr, struct iniContext *PredContext) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register struct iniContext *a1 __asm("a1") = ContextStr; register struct iniContext *a2 __asm("a2") = PredContext; __asm volatile ("jsr a6@(-0x84:W)" : /* No Output */ : "r" (a6), "r" (a0), "r" (a1), "r" (a2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline void iniInsertContextItem(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, struct iniContextItemLine *PredLine) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register struct iniContextItemLine *a2 __asm("a2") = PredLine; __asm volatile ("jsr a6@(-0xa8:W)" : /* No Output */ : "r" (a6), "r" (a0), "r" (a1), "r" (a2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline ULONG iniIntToStr(BASE_PAR_DECL STRPTR Buffer, long Integer, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = Buffer; register long d0 __asm("d0") = Integer; register unsigned long d1 __asm("d1") = Format; register unsigned long d2 __asm("d2") = Len; register unsigned long d3 __asm("d3") = ZeroSep; __asm volatile ("jsr a6@(-0x1aa:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (d0), "r" (d1), "r" (d2), "r" (d3) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline struct iniFile * iniOpenDefault(BASE_PAR_DECL APTR address, STRPTR name, unsigned long len) { BASE_EXT_DECL register struct iniFile *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register APTR a0 __asm("a0") = address; register STRPTR a1 __asm("a1") = name; register unsigned long d0 __asm("d0") = len; __asm volatile ("jsr a6@(-0x42:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline struct iniFile * iniOpenFile(BASE_PAR_DECL STRPTR name, long accessMode) { BASE_EXT_DECL register struct iniFile *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR d1 __asm("d1") = name; register long d2 __asm("d2") = accessMode; __asm volatile ("jsr a6@(-0x48:W)" : "=r" (res) : "r" (a6), "r" (d1), "r" (d2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline struct iniFile * iniOpenFromFH(BASE_PAR_DECL BPTR fh, unsigned long len) { BASE_EXT_DECL register struct iniFile *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register BPTR a0 __asm("a0") = fh; register unsigned long d0 __asm("d0") = len; __asm volatile ("jsr a6@(-0x4e:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline struct iniFile * iniOpenMem(BASE_PAR_DECL APTR address, unsigned long len) { BASE_EXT_DECL register struct iniFile *res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register APTR a0 __asm("a0") = address; register unsigned long d0 __asm("d0") = len; __asm volatile ("jsr a6@(-0x54:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutByteA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, BYTE *Array, unsigned long Entries, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register BYTE *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Format; register unsigned long d2 __asm("d2") = Len; register unsigned long d3 __asm("d3") = ZeroSep; __asm volatile ("jsr a6@(-0x186:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1), "r" (d2), "r" (d3) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutFloat(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, long Value, unsigned long FltFormat, unsigned long IntLen, unsigned long FracLen, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register long d0 __asm("d0") = Value; register unsigned long d1 __asm("d1") = FltFormat; register unsigned long d2 __asm("d2") = IntLen; register unsigned long d3 __asm("d3") = FracLen; register unsigned long d4 __asm("d4") = ZeroSep; __asm volatile ("jsr a6@(-0x17a:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutFloatA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, LONG *Array, unsigned long Entries, unsigned long FltFormat, unsigned long IntLen, unsigned long FracLen, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register LONG *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = FltFormat; register unsigned long d2 __asm("d2") = IntLen; register unsigned long d3 __asm("d3") = FracLen; register unsigned long d4 __asm("d4") = ZeroSep; __asm volatile ("jsr a6@(-0x198:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutLong(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, long Value, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register long d0 __asm("d0") = Value; register unsigned long d1 __asm("d1") = Format; register unsigned long d2 __asm("d2") = Len; register unsigned long d3 __asm("d3") = ZeroSep; __asm volatile ("jsr a6@(-0x174:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (d0), "r" (d1), "r" (d2), "r" (d3) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutLongA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, LONG *Array, unsigned long Entries, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register LONG *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Format; register unsigned long d2 __asm("d2") = Len; register unsigned long d3 __asm("d3") = ZeroSep; __asm volatile ("jsr a6@(-0x192:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1), "r" (d2), "r" (d3) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutStr(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, STRPTR String) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register STRPTR a2 __asm("a2") = String; __asm volatile ("jsr a6@(-0x180:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutStrA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, STRPTR *Array, unsigned long Entries) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register STRPTR *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; __asm volatile ("jsr a6@(-0x19e:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniPutWordA(BASE_PAR_DECL struct iniContext *ContextStr, struct iniContextItemLine *ContextItemLine, WORD *Array, unsigned long Entries, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; register struct iniContextItemLine *a1 __asm("a1") = ContextItemLine; register WORD *a2 __asm("a2") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Format; register unsigned long d2 __asm("d2") = Len; register unsigned long d3 __asm("d3") = ZeroSep; __asm volatile ("jsr a6@(-0x18c:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1), "r" (d2), "r" (d3) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline BOOL iniReadByteA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, BYTE *Array, unsigned long Entries, unsigned long Flags) { BASE_EXT_DECL register BOOL res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register BYTE *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0xc6:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline LONG iniReadFloat(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, long Default, unsigned long Flags) { BASE_EXT_DECL register LONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register long d0 __asm("d0") = Default; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0xba:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline BOOL iniReadFloatA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, LONG *Array, unsigned long Entries, unsigned long Flags) { BASE_EXT_DECL register BOOL res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register LONG *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0xd8:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline LONG iniReadLong(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, long Default, unsigned long Flags) { BASE_EXT_DECL register LONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register long d0 __asm("d0") = Default; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0xb4:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline BOOL iniReadLongA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, LONG *Array, unsigned long Entries, unsigned long Flags) { BASE_EXT_DECL register BOOL res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register LONG *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0xd2:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniReadStr(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, STRPTR Default, unsigned long Flags) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register STRPTR a3 __asm("a3") = Default; register unsigned long d0 __asm("d0") = Flags; __asm volatile ("jsr a6@(-0xc0:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline BOOL iniReadStrA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, STRPTR *Array, unsigned long Entries, unsigned long Flags) { BASE_EXT_DECL register BOOL res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register STRPTR *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0xde:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline BOOL iniReadWordA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, WORD *Array, unsigned long Entries, unsigned long Flags) { BASE_EXT_DECL register BOOL res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register WORD *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0xcc:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline void iniRemContext(BASE_PAR_DECL struct iniFile *iniFile) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; __asm volatile ("jsr a6@(-0x7e:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline void iniRemContextItem(BASE_PAR_DECL struct iniContext *ContextStr) { BASE_EXT_DECL register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniContext *a0 __asm("a0") = ContextStr; __asm volatile ("jsr a6@(-0xa2:W)" : /* No Output */ : "r" (a6), "r" (a0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); } extern __inline ULONG iniSaveFile(BASE_PAR_DECL struct iniFile *iniFile, STRPTR name, long accessMode) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR d1 __asm("d1") = name; register long d2 __asm("d2") = accessMode; __asm volatile ("jsr a6@(-0x60:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (d1), "r" (d2) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniSaveToFH(BASE_PAR_DECL BPTR fh, struct iniFile *iniFile) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register BPTR a0 __asm("a0") = fh; register struct iniFile *a1 __asm("a1") = iniFile; __asm volatile ("jsr a6@(-0x66:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniSetNameStr(BASE_PAR_DECL STRPTR *StructPos, STRPTR NameStr) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR *a0 __asm("a0") = StructPos; register STRPTR a1 __asm("a1") = NameStr; __asm volatile ("jsr a6@(-0x3c:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline STRPTR iniSetString(BASE_PAR_DECL STRPTR *StructPos, STRPTR CStr) { BASE_EXT_DECL register STRPTR res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR *a0 __asm("a0") = StructPos; register STRPTR a1 __asm("a1") = CStr; __asm volatile ("jsr a6@(-0x36:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline LONG iniStrToFloat(BASE_PAR_DECL STRPTR String, long Default) { BASE_EXT_DECL register LONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = String; register long d0 __asm("d0") = Default; __asm volatile ("jsr a6@(-0x1b0:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline LONG iniStrToInt(BASE_PAR_DECL STRPTR String, long Default) { BASE_EXT_DECL register LONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register STRPTR a0 __asm("a0") = String; register long d0 __asm("d0") = Default; __asm volatile ("jsr a6@(-0x1a4:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteByteA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, BYTE *Array, unsigned long Entries, unsigned long Flags, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register BYTE *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; register unsigned long d2 __asm("d2") = Format; register unsigned long d3 __asm("d3") = Len; register unsigned long d4 __asm("d4") = ZeroSep; __asm volatile ("jsr a6@(-0xf6:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteFloat(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, long Value, unsigned long Flags, unsigned long FltFormat, unsigned long IntLen, unsigned long FracLen, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register long d0 __asm("d0") = Value; register unsigned long d1 __asm("d1") = Flags; register unsigned long d2 __asm("d2") = FltFormat; register unsigned long d3 __asm("d3") = IntLen; register unsigned long d4 __asm("d4") = FracLen; register unsigned long d5 __asm("d5") = ZeroSep; __asm volatile ("jsr a6@(-0xea:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4), "r" (d5) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteFloatA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, LONG *Array, unsigned long Entries, unsigned long Flags, unsigned long FltFormat, unsigned long IntLen, unsigned long FracLen, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register LONG *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; register unsigned long d2 __asm("d2") = FltFormat; register unsigned long d3 __asm("d3") = IntLen; register unsigned long d4 __asm("d4") = FracLen; register unsigned long d5 __asm("d5") = ZeroSep; __asm volatile ("jsr a6@(-0x108:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4), "r" (d5) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteLong(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, long Value, unsigned long Flags, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register long d0 __asm("d0") = Value; register unsigned long d1 __asm("d1") = Flags; register unsigned long d2 __asm("d2") = Format; register unsigned long d3 __asm("d3") = Len; register unsigned long d4 __asm("d4") = ZeroSep; __asm volatile ("jsr a6@(-0xe4:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteLongA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, LONG *Array, unsigned long Entries, unsigned long Flags, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register LONG *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; register unsigned long d2 __asm("d2") = Format; register unsigned long d3 __asm("d3") = Len; register unsigned long d4 __asm("d4") = ZeroSep; __asm volatile ("jsr a6@(-0x102:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteStr(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, STRPTR String, unsigned long Flags) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register STRPTR a3 __asm("a3") = String; register unsigned long d0 __asm("d0") = Flags; __asm volatile ("jsr a6@(-0xf0:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteStrA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, STRPTR *Array, unsigned long Entries, unsigned long Flags) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register STRPTR *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; __asm volatile ("jsr a6@(-0x10e:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } extern __inline ULONG iniWriteWordA(BASE_PAR_DECL struct iniFile *iniFile, STRPTR ContextName, STRPTR ItemName, WORD *Array, unsigned long Entries, unsigned long Flags, unsigned long Format, unsigned long Len, unsigned long ZeroSep) { BASE_EXT_DECL register ULONG res __asm("d0"); register struct iniLibBase *a6 __asm("a6") = BASE_NAME; register struct iniFile *a0 __asm("a0") = iniFile; register STRPTR a1 __asm("a1") = ContextName; register STRPTR a2 __asm("a2") = ItemName; register WORD *a3 __asm("a3") = Array; register unsigned long d0 __asm("d0") = Entries; register unsigned long d1 __asm("d1") = Flags; register unsigned long d2 __asm("d2") = Format; register unsigned long d3 __asm("d3") = Len; register unsigned long d4 __asm("d4") = ZeroSep; __asm volatile ("jsr a6@(-0xfc:W)" : "=r" (res) : "r" (a6), "r" (a0), "r" (a1), "r" (a2), "r" (a3), "r" (d0), "r" (d1), "r" (d2), "r" (d3), "r" (d4) : "d0", "d1", "a0", "a1", "fp0", "fp1", "cc", "memory"); return res; } #undef BASE_EXT_DECL #undef BASE_EXT_DECL0 #undef BASE_PAR_DECL #undef BASE_PAR_DECL0 #undef BASE_NAME #endif /* !_INLINE_INI_H */