home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / nduk-v37.lha / V37 / include / devices / bootblock.h < prev    next >
C/C++ Source or Header  |  1991-11-27  |  762b  |  34 lines

  1. #ifndef DEVICES_BOOTBLOCK_H
  2. #define DEVICES_BOOTBLOCK_H
  3. /*
  4. **    $Filename: devices/bootblock.h $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.6 $
  7. **    $Date: 90/11/05 $
  8. **
  9. **    floppy BootBlock definition
  10. **
  11. **    (C) Copyright 1985-1991 Commodore-Amiga, Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15. #ifndef EXEC_TYPES_H
  16. #include    "exec/types.h"
  17. #endif
  18.  
  19. struct BootBlock {
  20.     UBYTE    bb_id[4];        /* 4 character identifier */
  21.     LONG    bb_chksum;        /* boot block checksum (balance) */
  22.     LONG    bb_dosblock;        /* reserved for DOS patch */
  23. };
  24.  
  25. #define        BOOTSECTS    2    /* 1K bootstrap */
  26.  
  27. #define BBID_DOS    { 'D', 'O', 'S', '\0' }
  28. #define BBID_KICK    { 'K', 'I', 'C', 'K' }
  29.  
  30. #define BBNAME_DOS    0x444F5300    /* 'DOS\0' */
  31. #define BBNAME_KICK    0x4B49434B    /* 'KICK' */
  32.  
  33. #endif    /* DEVICES_BOOTBLOCK_H */
  34.