;===================================================================== ; PCTOOLS 98 PLUGINS SDK ; (c) Benoit SCHERRER, NeXO Software ; ;--------------------------------------------------------------------- ; PLUGINS SDK VERSION : 1.10 ; FILE DESCRIPTION : ;===================================================================== include "tios.h" ;library includes files include "flib.h" include "ziplib2.h" include "APILib.h" include "APILibCT.h" xdef _main ;normal assembly program xdef _comment include "pctplug.h" ;and after we include pctplug.h ;-------------------------------------------------------------------- ; Start of PCTOOLS 98 plugin ;-------------------------------------------------------------------- plug_SPEXT equ 0 ;specific extension ? PRG_AS_PLUGIN PLUGIN_TABLE: dc.l NOT_USED ;1:Initialization of PCT98 dc.l NOT_USED ;2:End of PCT98 dc.l NOT_USED ;3:Key pressed dc.l NOT_USED ;4:ENTER pressed dc.l NOT_USED ;5:Cursor moved dc.l NOT_USED ;6:Show Item dc.l NOT_USED ;7:Compression Service END_PLUGIN_TABLE: move.l #TRAP2_VECTOR,a0 lea instr(PC),a2 move.l #$200,a1 move.l (a2),(a1) jsr apilib::SetIntVector rts instr: rte ;==================================================================== ; Plugin Data ;==================================================================== _comment dc.b "HuffZIP PCT98 Plugin",0 end