home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / TRSICAT.LZX / CATS_CD2_TRSI / Inc&AD1.3 / Includes / devices / bootblock.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-09-12  |  672 b   |  28 lines

  1. #ifndef DEVICES_BOOTBLOCK_H
  2. #define DEVICES_BOOTBLOCK_H
  3. /*
  4. **    $Filename: devices/bootblock.h $
  5. **    $Release: 1.3 $
  6. **
  7. **    BootBlock definition: 
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. struct BootBlock {
  14.     UBYTE    bb_id[4];        /* 4 character identifier */
  15.     LONG    bb_chksum;    /* boot block checksum (balance) */
  16.     LONG    bb_dosblock;    /* reserved for DOS patch */
  17. };
  18.  
  19. #define        BOOTSECTS    2    /* 1K bootstrap */
  20.  
  21. #define BBID_DOS    { 'D', 'O', 'S', '\0' }
  22. #define BBID_KICK    { 'K', 'I', 'C', 'K' }
  23.  
  24. #define BBNAME_DOS    (('D'<<24)|('O'<<16)|('S'<<8))
  25. #define BBNAME_KICK    (('K'<<24)|('I'<<16)|('C'<<8)|('K'))
  26.  
  27. #endif    /* DEVICES_BOOTBLOCK_H */
  28.