[comp.sys.sgi] ntsc settings for 4Ds

davis@MASIG2.OCEAN.FSU.EDU (Alan Davis) (05/02/89)

We have developed a graphical animation program at FSU on the 3xxx series
machines and I have been porting over to a 4D/20 Personal IRIS.  I have
finally managed to get almost everything working.  Two things which are
still a problem are:
 1) trying to reset the monitor for ntsc.  The code for our old iris does
    not work and the docs. don't offer much help.  Has anyone successfully
    implemented this feature?  Must you have a genlock board for this to
    work.  Can anyone share some code that implements this feature?  Are
    there differences in the setvideo function for the differnet 4D models?

 2) We qdevice several of the keys on the keyboard which exist on the 3xxx,
    but do not exist on the 4D/20 keyboard.  Are all the keyboards for the
    4D line similar to the personal iris or are they different?  Its a real
    pain making versions depending upon the keyboard you have.  Why can't
    SGI standardize keyboards or remap the keys?

Thanks for any help.
--
          Alan Davis                |
Mesoscale Air-Sea Interaction Group | TCP/IP davis@masig1.ocean.fsu.edu
    Florida State University        |             (128.186.3.1)
    435 OSB  Meteorology Annex      | SPAN   scri::"davis@masig1.ocean.fsu.edu"
    Tallahassee, FL 32306-3041      | BITNET davis%masig1.ocean.fsu.edu@cunyvm
         (904) 644-3798             |
_______________________________________________________________________________

sgf@brunix (Sam Fulcomer) (05/04/89)

In article <8905021541.AA14727@masig2.ocean.fsu.edu> davis@MASIG2.OCEAN.FSU.EDU (Alan Davis) writes:
> 1) trying to reset the monitor for ntsc.  The code for our old iris does
>    not work and the docs. don't offer much help.  Has anyone successfully
>    implemented this feature?  Must you have a genlock board for this to

You don't need the genlock board to output rs170a as long as that's the
secondary video option that you chose for the machine. The genlock just allows
the IRIS to lock onto an external sync signal (usually cleaner than the IRIS'
internal sync. To get a 4D to output ntsc without genlocking to an external
signal:

setvideo(DE_R1, 0x00);          /* zeros out the register; some 4D's get
                                 * into a funks state if you don't
                                 */
setvideo(CG_MODE, 0x2);
setvideo(DE_R1, 0xaa);

to go back to high-res:

setvideo(DE_R1, 0x00);
setvideo(CG_MODE, 0x07);
setvideo(DE_R1, 0x4a);

If you're genlocked to external sync the CG_MODE value to get ntsc is 0x3
rather than 0x2.


(don't know about the keyboards...)