Path: chuka.playstation.co.uk!news From: "Peter Dollochan" Newsgroups: scee.yaroze.beginners Subject: Re: black&white Date: 14 Jul 1998 17:09:20 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 45 Message-ID: <01bdaf49$c721dac0$026f6f6f@two> 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> NNTP-Posting-Host: 195.171.236.26 X-Newsreader: Microsoft Internet News 4.70.1161 Nice one george now thats what i call an answer :-) (if it works ;) Pete. George Bain wrote in article <01bdae10$fab64180$f2e832a2@gbain.wav.scee.sony.co.uk>... > > > 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 > > >