home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / includes / devices / bootblock.i < prev    next >
Text File  |  1992-09-01  |  809b  |  41 lines

  1.     IFND    DEVICES_BOOTBLOCK_I
  2. DEVICES_BOOTBLOCK_I    SET    1
  3. **
  4. **    $Filename: devices/bootblock.i $
  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.     IFND    EXEC_TYPES_I
  16.     INCLUDE    "exec/types.i"
  17.     ENDC
  18.  
  19.  STRUCTURE BB,0
  20.     STRUCT    BB_ID,4            ; 4 character identifier
  21.     LONG    BB_CHKSUM        ; boot block checksum (balance)
  22.     LONG    BB_DOSBLOCK        ; reserved for DOS patch
  23.     LABEL    BB_ENTRY        ; bootstrap entry point
  24.     LABEL    BB_SIZE
  25.  
  26. BOOTSECTS    EQU    2        ; 1K bootstrap
  27.  
  28. BBID_DOS    macro            ; something that is bootable
  29.         dc.b    'DOS',0
  30.         endm
  31.  
  32. BBID_KICK    macro            ; firmware image disk
  33.         dc.b    'KICK'
  34.         endm
  35.  
  36.  
  37. BBNAME_DOS    EQU    $444F5300    ; 'DOS\0'
  38. BBNAME_KICK    EQU    $4B49434B    ; 'KICK'
  39.  
  40.     ENDC    ; DEVICES_BOOTBLOCK_I
  41.