home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE2.DMS / in.adf / INCLUDE / devices / bootblock.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-10  |  595 b   |  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]; 
  21.  LONG bb_chksum; 
  22.  LONG bb_dosblock; 
  23. };
  24.  
  25. #define BOOTSECTS 2 
  26.  
  27. #define BBID_DOS { 'D', 'O', 'S', '\0' }
  28. #define BBID_KICK { 'K', 'I', 'C', 'K' }
  29.  
  30. #define BBNAME_DOS 0x444F5300 
  31. #define BBNAME_KICK 0x4B49434B 
  32.  
  33. #endif 
  34.