NOCOMLIB.H 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
  3. SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
  4. END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
  5. ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
  6. IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
  7. SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
  8. FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
  9. CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
  10. AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
  11. COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
  12. */
  13. //This include is just to allow compiling. It doesn't mean it will work. Values in here are only dummy values
  14. //I just put in whatever felt good, consider this file nonesense.
  15. typedef struct {
  16. int status;
  17. int count;
  18. } PORT;
  19. #define COM1 0
  20. #define COM2 1
  21. #define COM3 2
  22. #define COM4 3
  23. #define IRQ2 2
  24. #define IRQ3 3
  25. #define IRQ4 4
  26. #define IRQ7 7
  27. #define IRQ15 15
  28. #define ASSUCCESS 1
  29. #define ASBUFREMPTY 0
  30. #define TRIGGER_04 4
  31. #define ON 1
  32. #define OFF 0