home *** CD-ROM | disk | FTP | other *** search
- IFND LIBRARIES_BBBF_LIB_I
-
- LIBRARIES_BBBF_LIB_I SET 1
-
- **
- ** $Filename: libraries/bbbf_lib.i $
- ** $Release: 3.0 $
- **
- ** Programmed by Johan Eliasson, SHI member.
- ** Copyright © Safe Hex International 1992,1993
- **
- ** Include converted from 'C' to Assembler by Ralf Thanner
- **
-
-
- BBBFVERSION = 3
- BBBFREVISION = 0
-
-
- BBBFNAME MACRO
- dc.b 'Bootblock.library',0
- ENDM
-
-
- ** The Bootblock structure.
- **
-
- RSRESET
- BBBF_next rs.l 1 ; pointer to next boot structure
- BBBF_name rs.b 30 ; name of bootblock virus
- BBBF_private rs.b 4 ; Private use! Don't touch!
- BBBF_bootsum rs.l 1 ; Private use! Don't touch!
- BBBF_sizeof rs.b 0 ; lame ASM-ONE doesn't understand
- ; anything else (like __RS).
-
- ** returned by ReadBBBF...
- **
-
- BBBF_LOADED = 0 ; Loaded and everything's ok
- BBBF_NOT_BBBF = -1 ; It was no brainfile...
- BBBF_CHECKSUM_ERROR = -2 ; Someone has fiddled with it...
- BBBF_ALREADY_LOADED = -3 ; Ready for use...
- BBBF_OUT_OF_MEMORY = -4 ; Free some and try again...
-
- ** returned by CheckBoot...
- **
-
- BBBF_NOT_LOADED = -1 ; ReadBBBF first...
- BBBF_UNKNOWN = 0 ; Not a known virus...
- BBBF_VIRUS = 1 ; Install immediately!
- BBBF_NOT_BOOT = 2 ; This disk is not bootable
-
- ** returned by InstallBoot...
- **
-
- BBBF_NO_SUCH_BOOT = -99 ; Unknown number (must be 0 - 7)
-
-
- ** Library vector offsets for this release. See them as constants for
- ** further updates.
-
- _LVOReadBBBF = -30
- _LVOFreeBBBF = -36
- _LVOCheckBoot = -42
- _LVOGetBBBFInfo = -48
- _LVOListBBBF = -54
- _LVOReadBoot = -60
- _LVOWriteBoot = -66
- _LVOInstallBoot = -72
-
- ENDC ; LIBRARIES_BBBF_LIB_I
-