home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
compress
/
pplib.lzh
/
PPLib
/
fd
/
powerpacker_lib.fd
Wrap
Text File
|
1991-10-30
|
1KB
|
43 lines
*
* powerpacker_lib.fd © 1991 Nico François
*
* Release 1.3 Library Version 35
*
##base _PPBase
##bias 30
##public
ppLoadData(filename,col,memtype,bufferptr,lenptr,funcptr)(A0,D0/D1,A1/A2/A3)
ppDecrunchBuffer(endcrun,decrbuff,effptr,col)(A0/A1/A2,D0)
ppCalcChecksum(string)(A0)
ppCalcPasskey(string)(A0)
ppDecrypt(buffer,len,key)(A0,D0/D1)
ppGetPassword(screen,buffer,maxchars,checksum)(A0/A1,D0/D1)
##private
OBSOLETEppGetString(screen,buffer,maxchars,title)(A0/A1,D0,A2)
OBSOLETEppGetLong(screen,longptr,title)(A0/A1/A2)
##public
*
* The following three private functions are for use in the decrunch
* header of crunched executables. Don't use them! They are
* guaranteed to crash if not used properly!
*
##private
ppDecrHdr(firstseg,effptr,decrcol,crunlen)(A4/A2,D0/D1)
ppCryptDecrHdr(firstseg,effptr,decrcol,crunlen,checksum)(A4/A2,D0/D1/D2)
ppOverlayDecrHdr(firstseg,effptr,decrcol,crunlen)(A4/A2,D0/D1)
##public
*
* Functions to crunch
*
ppAllocCrunchInfo(eff,speedup,func,userdata)(D0/D1,A0/A1)
ppFreeCrunchInfo(crunchinfo)(A0)
ppCrunchBuffer(crunchinfo,buffer,len)(A0/A1,D0)
ppWriteDataHeader(lock,eff,crypt,checksum)(D0/D1/D2/D3)
*
ppEnterPassword(screen,buffer)(A0/A1)
##private
ppPasswordCallback()()
##public
ppErrorMessage(error)(D0)
##end