home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #6
/
amigamamagazinepolishissue1998.iso
/
packery
/
xpk_source
/
libraries
/
rlen
/
xpklibrlen.a
< prev
next >
Wrap
Text File
|
1996-10-19
|
1KB
|
49 lines
INCLUDE AINCLUDE:IncDirs.i *sets all includedirs, needed for my ASM
INCLUDE xpkLibHeader.i
; here the needed vars and strings are initialized. Do not change the format
; of the IDString, only add some additional info after the second brake
; An additinal $VER: string isn't needed !!!
; compile this with an assembler and link it as the first part to your
; library - other ASM or C stuff should be behind this one.
VERSION EQU 1 ; Version number of your Library
REVISION EQU 2 ; Revision number of your Library
LibName DC.B 'xpkRLEN.library',0
IDString DC.B 'xpkRLEN 1.2 (01.09.96)',13,10,0
CNOP 0,2
; following 2 functions are required : _InitCode, _ExitCode
; they are call by InitRoutine or by Expunge
; Init is the only funtion, that is allowed to set a value for an global
; var
; the library-pointer is in A5, registers have to be saved!!!
; a return value not zero says, that the initilisation failed !!!
; dummy functions, mark out them if you want to use your own ones
_XpksPackFree
_XpksUnpackFree
_XpksPackReset
_InitCode
_ExitCode MOVEQ #0,D0
RTS
; or set these two if the functions are extern
; XREF _InitCode
; XREF _ExitCode
; ASM-Codes: Use this file as an include with
; INCLUDE xpkLib____.i
; C-Codes: Compile this file with an Assembler and get the Object-File
; xpkLib____.o
; link this object file to your C-Code (as the first one!!!)
; set the following X-Refs
XREF _XpksPackerInfo
XREF _XpksPackChunk
XREF _XpksUnpackChunk
END