SCGUESS.H 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef __SCGUESS_H__
  2. #define __SCGUESS_H__
  3. /*
  4. * This stuff just checks for environment variables. If they're there,
  5. * then it kinda figures hopefully that the card is there and it fills
  6. * in the values as defaults to choose from in Scott's & Paul's cool
  7. * install program.
  8. */
  9. /*
  10. * Returns 1 if it senses the BLASTER environment variable, 0 if it
  11. * doesn't. If it does return 1, it will also fill in as many fields
  12. * as it can extract from the environment variable. Any fields *not*
  13. * filled in will be set to -1. Of course, if the midi field is filled,
  14. * that means only that it's an SB16 and does not confirm whether the
  15. * WaveBlaster is present.
  16. */
  17. int SmellsLikeSB(int *addr, int *irq, int *dma, int *midi);
  18. /*
  19. * Returns 1 if it senses the ULTRASND environment variable, 0 if it
  20. * doesn't. If it does return 1, it will also fill in as many fields
  21. * as it can extract from the environment variable. Any fields *not*
  22. * filled in will be set to -1. Do we need the address, irq, and dma?
  23. * Paul's GF1_Detect code doesn't seem terribly interested in this
  24. * information. Who cares- it's bonus stuff if you're curious, and
  25. * militant GUSaholes can eat cake.
  26. */
  27. int SmellsLikeGUS(int *addr, int *irq, int *dma);
  28. #endif