home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / devices / bootblock.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  710b  |  32 lines

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