Path: chuka.playstation.co.uk!news From: Alex Herbert Newsgroups: scee.yaroze.beginners Subject: Re: black&white Date: Wed, 15 Jul 1998 17:56:42 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 43 Message-ID: <35ACDF4A.4C84E304@ndirect.co.uk> References: <35A3E897.1582@virgin.net> <35A3FA51.405B7C2C@hotmail.com> <6o67ov$8q37@scea> <01bdadd0$04286180$f2e832a2@gbain.wav.scee.sony.co.uk> <01bdae56$bb788460$026f6f6f@two> <01bdae10$fab64180$f2e832a2@gbain.wav.scee.sony.co.uk> Reply-To: aherbert@ndirect.co.uk NNTP-Posting-Host: dialin2-14.ndirect.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) George Bain wrote: > > > Hi there, > > Yes, there is another way. When the PlayStation first boots up the video > mode > defaults to NTSC. If you do a GetVideoMode() at the startup it will be > NTSC. > So lets check the product code ( product code is different in all 3 > territories) > on the Net Yaroze Boot Disc. If the file is not found we now know that the > user > has a NTSC machine. Check the code below.. > > P.S. Note, you have to use a scart cable to see color in NTSC mode. > > if( CdSearchFile(&file, "\\DTL_S30.35;1") == 0) > { > printf("Boot file not found... MODE_NTSC enabled \n"); > SetVideoMode( MODE_NTSC ); > video_mode = GetVideoMode(); > } > else > { > printf("Boot file found... MODE_PAL enabled \n"); > SetVideoMode( MODE_PAL ); > video_mode = GetVideoMode(); > } > > Regards, > > George@SCEE Now that is one hell of an answer. That is so cool. And there was me counting hsyncs... Herbs