home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15379 < prev    next >
Encoding:
Internet Message Format  |  1992-11-04  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!spool.mu.edu!darwin.sura.net!europa.asd.contel.com!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!seunet!kullmar!piraya!overdose!Klaus_Seistrup
  2. From: Klaus_Seistrup@magneto.bbs.bad.se (Klaus Seistrup)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: PAL or NTSC, how to check in software ?
  5. Message-ID: <OA92-910-102_15712804@piraya.bad.se>
  6. Date: Tue,  3 Nov 92 21:45:44 +0000
  7. References: <Jesse_Michael.012a@amwbbs.rain.com>
  8. Sender: BadNet@piraya.bad.se
  9. Reply-To: Klaus_Seistrup@magneto.bbs.bad.se (Klaus Seistrup)
  10. Distribution: world
  11. Organization: Magnetic Ink, Copenhagen N, Denmark 
  12. OD-Comment-To: Jesse_Michael
  13. Lines: 37
  14.  
  15.  
  16. Jesse_Michael@amwbbs.rain.com (Jesse Michael) writes:
  17.  
  18.  K>>    NTSC:   CLR.W   $DFF1DC
  19.  K>>            RTS
  20.  
  21.  JM> *NEVER* use a CLR instruction on a custom chip register!  On a 68000
  22.  JM> this will produce a read/write instead of just a write.
  23.  
  24. Well, why don't you just post me the correct solution then? _I_ didn't know 
  25. this (where can I read about this???), but it actually *works* on my 68010!?
  26.  
  27. Would
  28.  
  29.     MOVEQ   #0,D0
  30.     MOVE.W  D0,$DFF1DC
  31.  
  32. be any better??? Or, what are your suggestions?
  33.  
  34.  K>> So you might like to fiddle around peeking the $DFF1DC, I guess...
  35.  
  36.  JM> $dff1dc is a `write only' register (as are most custom chip regs) and
  37.  JM> reading from it will not give any valid data and will write a random
  38.  JM> value to it. 
  39.  
  40. Didn't know -- where can I find any refereces on this???
  41.  
  42.     /Klaus.
  43.  
  44.  
  45. --
  46.            ____
  47.   FidoNet  \/ /  2:230/119   .   Klaus A. Seistrup   .   :::MAGNETIC::INK:::
  48.   BADNet    \/  92:910/102  -*-  Ahornsgade 8A, 1H  -*-  Tel::+45:35-372-171
  49.   kleis@magneto.bbs.bad.se   |   2200 Copenhagen N   |   D::E::N::M::A::R::K
  50.  
  51. ---
  52.