Path: chuka.playstation.co.uk!news From: Alex Herbert Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Solution!!! Date: Fri, 06 Feb 1998 14:48:25 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 75 Message-ID: <34DB22B9.EEEAAD88@ndirect.co.uk> References: <34D21FA3.E9D52D40@infores.com> <34D8BB72.1392@manc.u-net.com> Reply-To: aherbert@ndirect.co.uk NNTP-Posting-Host: dialin1-35.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) To: James Shaughnessy YES! I HAVE THE SOLUTION!!!! As I suspected, the PS is drawing 256 lines but only displaying 240. I think this is a bug! It's all to do with the variable: extern DISPENV GsDISPENV. Declare the following: extern DISPENV GsDISPENV and set: GsDISPENV.screen.h=256; after initializing the screen. Normally it's value is 0 which seems to default the output to 240 lines. And there's more! GsDISPENV.screen.x and GsDISPENV.screen.y adjust the displayed screen position. (Yes you can center your display as in many PS games!) And more... Experiment with the x,y,w,h values of GsDISPENV.screen for CUSTOM video modes. It is possible to display more than 256 lines. Try setting screen.y=0 and screen.h=300. NO BORDERS! It is also possible to create side borders! Note: These settings will affect the PS video output only and do not affect clipping etc. Remember, to use a screen height of >256, yo will need to arrange your double buffers horizontally as the VRAM is only 512 pixels high. James Shaughnessy wrote: > Luca Cappellini wrote: > > I've discovered that even if i define my drawing and display screen as > > SetVideoMode(MODE_PAL); > > GsInitGraph(512,256,4,0,0); > > GsDefDispBuff(0,0,0,256); > > my screen have a max Y value as NTSC (240) why !!!! > > Please help > > Yes indeed I got the same problem. I posted the same question a few > weeks ago but got no real answers. If you look at the the SIOCONS > screen you can see using the brick pattern that it indeed uses all 256, > fitting nicely on my monitor with no borders, but PAL/240 there are > those black borders that we have come accustomed to. It's annoying > because my game Gravitation uses a split screen and I'd like all the > lines I can get (play it and you'll agree 8 more lines each would be > nice.) > > Does anyone actually know how to get full 256 line PAL mode?? > > (I think possibly there's a booboo in the Yaroze libs; if so, can we > have a fix please Sony?) > > Cheers, > Jim > -- > ----------------------------------------- > James Shaughnessy james@manc.u-net.com > http://www.netyaroze-europe.com/~shaughnj > -----------------------------------------