home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / cbm / nduk-v39.lha / V39 / include / resources / battmembitsshared.h < prev    next >
C/C++ Source or Header  |  1992-09-24  |  1KB  |  60 lines

  1. #ifndef RESOURCES_BATTMEMBITSSHARED_H
  2. #define RESOURCES_BATTMEMBITSSHARED_H 1
  3. /*
  4. **    $VER: battmembitsshared.h 39.1 (13.01.92)
  5. **    Includes Release 39.108
  6. **
  7. **    BattMem shared specific bit definitions.
  8. **
  9. **    (C) Copyright 1989-1992 Commodore-Amiga Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13.  
  14. /*
  15.  * Shared bits in the battery-backedup ram.
  16.  *
  17.  *    Bits 64 and above
  18.  */
  19.  
  20. /*
  21.  * SHARED_AMNESIA
  22.  *
  23.  *        The battery-backedup memory has had a memory loss.
  24.  *        This bit is used as a flag that the user should be
  25.  *        notified that all battery-backed bit have been
  26.  *        reset and that some attention is required. Zero
  27.  *        indicates that a memory loss has occured.
  28.  */
  29.  
  30. #define BATTMEM_SHARED_AMNESIA_ADDR    64
  31. #define BATTMEM_SHARED_AMNESIA_LEN    1
  32.  
  33.  
  34. /*
  35.  * SCSI_HOST_ID
  36.  *
  37.  *        a 3 bit field (0-7) that is stored in complemented form
  38.  *        (this is so that default value of 0 really means 7)
  39.  *        It's used to set the A3000 controllers SCSI ID (on reset)
  40.  */
  41.  
  42. #define BATTMEM_SCSI_HOST_ID_ADDR    65
  43. #define BATTMEM_SCSI_HOST_ID_LEN    3
  44.  
  45.  
  46. /*
  47.  * SCSI_SYNC_XFER
  48.  *
  49.  *        determines if the driver should initiate synchronous
  50.  *        transfer requests or leave it to the drive to send the
  51.  *        first request.    This supports drives that crash or
  52.  *        otherwise get confused when presented with a sync xfer
  53.  *        message.  Default=0=sync xfer not initiated.
  54.  */
  55.  
  56. #define BATTMEM_SCSI_SYNC_XFER_ADDR    68
  57. #define BATTMEM_SCSI_SYNC_XFER_LEN    1
  58.  
  59. #endif /* RESOURCES_BATTMEMBITSSHARED_H */
  60.