diff options
author | Christian A. Weber <chris@gna.ch> | 1994-05-19 00:00:42 +0000 |
---|---|---|
committer | Christian A. Weber <chris@gna.ch> | 1994-05-19 00:00:42 +0000 |
commit | 54c58ba9863c8a2d0bbc880bdb11b0af2dbc9644 (patch) | |
tree | b29e08a133a6f135b68a8e0d2d34224f2bdaa610 /Source | |
parent | de4c1624630aff7a4f1aead070f40763fbfe07ca (diff) | |
download | iff-library-54c58ba9863c8a2d0bbc880bdb11b0af2dbc9644.tar.gz iff-library-54c58ba9863c8a2d0bbc880bdb11b0af2dbc9644.tar.bz2 iff-library-54c58ba9863c8a2d0bbc880bdb11b0af2dbc9644.zip |
Initial revision of iff.lib files
Diffstat (limited to 'Source')
-rw-r--r-- | Source/LinkLib/IFFBase.S | 22 | ||||
-rw-r--r-- | Source/LinkLib/IFF_Lib_rev.i | 16 | ||||
-rw-r--r-- | Source/LinkLib/LVO.S | 101 | ||||
-rw-r--r-- | Source/LinkLib/LibVersion.S | 14 | ||||
-rw-r--r-- | Source/LinkLib/Makefile | 37 |
5 files changed, 190 insertions, 0 deletions
diff --git a/Source/LinkLib/IFFBase.S b/Source/LinkLib/IFFBase.S new file mode 100644 index 0000000..97526a5 --- /dev/null +++ b/Source/LinkLib/IFFBase.S @@ -0,0 +1,22 @@ +** +** $Id: IFFBase.S,v 21.1 92/05/17 03:32:40 chris Exp $ +** $Revision: 21.1 $ +** +** Defines IFFBase symbol in __MERGED data section +** +** COPYRIGHT (C) 1987-1994 BY CHRISTIAN A. WEBER, BRUGGERWEG 2, +** CH-8037 ZUERICH, SWITZERLAND. ALL RIGHTS RESERVED. NO PART +** OF THIS SOFTWARE MAY BE COPIED, REPRODUCED, OR TRANSMITTED +** IN ANY FORM OR BY ANY MEANS, WITHOUT THE PRIOR WRITTEN PER- +** MISSION OF THE AUTHOR. USE AT YOUR OWN RISK. +** +** + + IDNT IFFBase + SECTION __MERGED,DATA + + +_IFFBase: ds.l 1 + + + END diff --git a/Source/LinkLib/IFF_Lib_rev.i b/Source/LinkLib/IFF_Lib_rev.i new file mode 100644 index 0000000..42e3092 --- /dev/null +++ b/Source/LinkLib/IFF_Lib_rev.i @@ -0,0 +1,16 @@ +; $VER: 24.1 - File 'IFF_Lib_rev.i' +VERSION EQU 24 +REVISION EQU 1 +DATE MACRO + dc.b '19.5.94' + ENDM +VERS MACRO + dc.b 'IFF_Lib 24.1' + ENDM +VSTRING MACRO + dc.b 'IFF_Lib 24.1 (19.5.94)',13,10,0 + ENDM +VERSTAG MACRO + dc.b 0,'$VER: IFF_Lib 24.1 (19.5.94)',0 + ENDM +; Bumper 37.116 (12.7.91) was here diff --git a/Source/LinkLib/LVO.S b/Source/LinkLib/LVO.S new file mode 100644 index 0000000..d4a2006 --- /dev/null +++ b/Source/LinkLib/LVO.S @@ -0,0 +1,101 @@ +** +** $Id: IFF.S,v 21.1 92/05/17 03:32:40 chris Exp $ +** $Revision: 21.1 $ +** +** Defines all _LVOs for iff.library +** +** COPYRIGHT (C) 1987-1994 BY CHRISTIAN A. WEBER, BRUGGERWEG 2, +** CH-8037 ZUERICH, SWITZERLAND. ALL RIGHTS RESERVED. NO PART +** OF THIS SOFTWARE MAY BE COPIED, REPRODUCED, OR TRANSMITTED +** IN ANY FORM OR BY ANY MEANS, WITHOUT THE PRIOR WRITTEN PER- +** MISSION OF THE AUTHOR. USE AT YOUR OWN RISK. +** +** + + IDNT IFF_LVOs + SECTION text,CODE + +dummy: dc.b "CHW!" ; Against an empty hunk ?!?! + + +***************************************************************************** +** New identifiers + +;; XDEF _LVOIFFL_OldOpenIFF + XDEF _LVOIFFL_CloseIFF + XDEF _LVOIFFL_FindChunk + XDEF _LVOIFFL_GetBMHD + XDEF _LVOIFFL_GetColorTab + XDEF _LVOIFFL_DecodePic + XDEF _LVOIFFL_SaveBitMap + XDEF _LVOIFFL_SaveClip + XDEF _LVOIFFL_IFFError + XDEF _LVOIFFL_GetViewModes +;; XDEF _LVOIFFL_OldNewOpenIFF + XDEF _LVOIFFL_ModifyFrame + XDEF _LVOIFFL_PPOpenIFF + XDEF _LVOIFFL_OpenIFF + XDEF _LVOIFFL_PushChunk + XDEF _LVOIFFL_PopChunk + XDEF _LVOIFFL_WriteChunkBytes + XDEF _LVOIFFL_CompressBlock + XDEF _LVOIFFL_DecompressBlock + +_LVOIFFL_OldOpenIFF EQU -30 +_LVOIFFL_CloseIFF EQU -36 +_LVOIFFL_FindChunk EQU -42 +_LVOIFFL_GetBMHD EQU -48 +_LVOIFFL_GetColorTab EQU -54 +_LVOIFFL_DecodePic EQU -60 +_LVOIFFL_SaveBitMap EQU -66 +_LVOIFFL_SaveClip EQU -72 +_LVOIFFL_IFFError EQU -78 +_LVOIFFL_GetViewModes EQU -84 +_LVOIFFL_OldNewOpenIFF EQU -90 +_LVOIFFL_ModifyFrame EQU -96 +_LVOIFFL_PPOpenIFF EQU -102 +* 2 slots reserved here +_LVOIFFL_OpenIFF EQU -120 +_LVOIFFL_PushChunk EQU -126 +_LVOIFFL_PopChunk EQU -132 +_LVOIFFL_WriteChunkBytes EQU -138 +_LVOIFFL_CompressBlock EQU -144 +_LVOIFFL_DecompressBlock EQU -150 + + +***************************************************************************** +** Old identifiers + + IFD IFFLIB_PRE21NAMES + + XDEF _LVOOpenIFF + XDEF _LVOCloseIFF + XDEF _LVOFindChunk + XDEF _LVOGetBMHD + XDEF _LVOGetColorTab + XDEF _LVODecodePic + XDEF _LVOSaveBitMap + XDEF _LVOSaveClip + XDEF _LVOIFFError + XDEF _LVOGetViewModes + XDEF _LVONewOpenIFF + XDEF _LVOModifyFrame + XDEF _LVOPPOpenIFF + +_LVOOpenIFF EQU -30 +_LVOCloseIFF EQU -36 +_LVOFindChunk EQU -42 +_LVOGetBMHD EQU -48 +_LVOGetColorTab EQU -54 +_LVODecodePic EQU -60 +_LVOSaveBitMap EQU -66 +_LVOSaveClip EQU -72 +_LVOIFFError EQU -78 +_LVOGetViewModes EQU -84 +_LVONewOpenIFF EQU -90 +_LVOModifyFrame EQU -96 +_LVOPPOpenIFF EQU -102 + + ENDC + + END diff --git a/Source/LinkLib/LibVersion.S b/Source/LinkLib/LibVersion.S new file mode 100644 index 0000000..d90575e --- /dev/null +++ b/Source/LinkLib/LibVersion.S @@ -0,0 +1,14 @@ + + + + IDNT IFFLibVersion + SECTION text,CODE + + INCLUDE "iff_lib_rev.i" + + dc.b "$VER: " + VERS + dc.b " (" + DATE + dc.b ") (-: by Christian A. Weber :-)",13,10,0 + diff --git a/Source/LinkLib/Makefile b/Source/LinkLib/Makefile new file mode 100644 index 0000000..9996c49 --- /dev/null +++ b/Source/LinkLib/Makefile @@ -0,0 +1,37 @@ +## +## $Id: makefile,v 21.1 92/05/17 03:32:40 chris Exp $ +## +## Makefile to build iff.lib (the link library) +## +## COPYRIGHT (C) 1987-1994 BY CHRISTIAN A. WEBER, BRUGGERWEG 2, +## CH-8037 ZUERICH, SWITZERLAND. ALL RIGHTS RESERVED. NO PART +## OF THIS SOFTWARE MAY BE COPIED, REPRODUCED, OR TRANSMITTED +## IN ANY FORM OR BY ANY MEANS, WITHOUT THE PRIOR WRITTEN PER- +## MISSION OF THE AUTHOR. USE AT YOUR OWN RISK. +## + + +ASM = Genam +AFLAGS = -iINCLUDE: -l + + +.S.o: + $(ASM) $(AFLAGS) $*.S QUIET + + + +LIBMODS = LibVersion.o IFFBase.o LVO.o + +iff.lib: $(LIBMODS) + Join $(LIBMODS) AS $@ + +LibVersion.o: IFF_Lib_rev.i + + + +Bump: + Bumper IFF_Lib ASM + @Make + +clean: + Delete *.o iff.lib |