home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / programm / 20481 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  1.7 KB

  1. Path: sparky!uunet!psinntp!heimdall!sgipm3!pmbrando
  2. From: pmbrando@sgipm3.sdrc.com (Brandon Livingston)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Programming QuickCapture Board
  5. Message-ID: <261@heimdall.sdrc.com>
  6. Date: 31 Dec 92 16:51:59 GMT
  7. Sender: news@heimdall.sdrc.com
  8. Organization: SDRC
  9. Lines: 36
  10.  
  11.  
  12.  
  13. I have a Data Translation QuickCapture Board installed in my IIx.
  14. I am trying to write software to use the board to capture images.
  15.  
  16. First of all I am new to the world of mac programming as well as C,
  17. so bare with me on this one.
  18.  
  19. Anyway,  The quickcapture documentation says the board is memory
  20. mapped to the mac and it uses two 8-bit control registers at memory 
  21. locations:   $FSF8 0000  and $FSF8 0004  where S is the slot number.
  22. These registers are used for control and status purposes. Each bit
  23. at these locations serves a purpose.  ie. bit 3 at $FSF8 0004 is 
  24. 0 if the board is a 60Hz model type or 1 for the 50Hz model.
  25.  
  26. The quickcapture documentation says that these registers can be
  27. accessed at any time through standard memory instructions.  
  28. When I try to access a register in C by setting a pointer to it
  29. my values are nothing like what they should be.  For example:
  30. when I get the status of bit 3 at $FSF8 0004 I get 1, but I know
  31. my board is not a 50Hz model.  I've tried using 32 bit addressing 
  32. which didn't work either.  
  33.  
  34. What am I doing wrong?  What do I need to know to be able to do 
  35. this?
  36.  
  37. If anybody has any good advice and feels like helping out a novice
  38. please post to this group or send me e-mail at:
  39.  
  40.                 blivings@uceng.uc.edu
  41.  
  42. Please don't send e-mail to my sdrc address because this is my last
  43. day here for a few months. (I'm a co-op)
  44.  
  45. Thanks,
  46. Brandon
  47.