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