home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / hf / dsp / source / dspio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-29  |  755 b   |  36 lines

  1. /*  DSPIO.H -- Header for the DSP CARD 3 Interface routines
  2.  *
  3.  *  Copyright (C) by Jarkko Vuori 1990
  4.  *  Author(s): J Vuori
  5.  *  Modification(s):
  6.  */
  7.  
  8. /* host port addresses */
  9. #define   ICR    0x0
  10. #define   ISR    0x2
  11. #define   RXH    0x5
  12. #define   RXM    0x6
  13. #define   RXL    0x7
  14. #define   TXH    0x5
  15. #define   TXM    0x6
  16. #define   TXL    0x7
  17.  
  18. typedef enum {
  19.     p, x, y
  20. } DATASPACE;
  21.  
  22. int  OpenCardIo(int sel);
  23. void ResetCard(void);
  24. void SelectSSI(int source);
  25. int  WriteByte(int address, int c);
  26. int  ReadByte(int address);
  27. void CloseCardIo(void);
  28.  
  29. int OpenLodFile(char *name);
  30. int ReadWord(DATASPACE *space, unsigned *address, long *word);
  31. int CloseLodFile(void);
  32.  
  33. void DownLoad(int fMsg);
  34. long ReadHostWord(void);
  35. void CheckMemDump(void);
  36.