Path: chuka.playstation.co.uk!news From: rs108@mdx.ac.uk (Robert Swan) Newsgroups: scee.yaroze.beginners Subject: Re: What am I doing wrong? (or not doing right?) Date: Fri, 01 May 1998 22:56:25 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 55 Message-ID: <354a5185.1029733@www.netyaroze-europe.com> References: <354A2D1E.631CD47A@chowfam.demon.co.uk> NNTP-Posting-Host: stu-dialup14.mdx.ac.uk X-Newsreader: Forte Free Agent 1.11/32.235 The reason you dont get a full screen in PAL mode is well known. no matter how you specify it, the max is 240. The way around it is something like this (this off top of my head, so hope its right) extern DISPENV GsDISPENV // global variable //in you screen initialisation code add this - GsDISPENV.screen.h=256; As far as Im aware there is no redundant code :) Robert Swan rs108@mdx.ac.uk http://www.netyaroze-europe.com/~middex2 On Fri, 01 May 1998 21:14:22 +0100, James Chow wrote: >#include > >#define OTLENGTH    (1) >#define SCNX        (320) >#define SCNY        (256) > >GsOT     ot[2]; >GsOT_TAG ottags[2][1< >main() >{ >  int buf; >  int i; > >  SetVideoMode(MODE_PAL); >  GsInitGraph(SCNX,SCNY,GsOFSGPU,0,0); >  GsDefDispBuff(0,0,0,SCNY); >  for (i=0; i<2; i++) { >    ot[i].length = OTLENGTH; >    ot[i].org = ottags[i]; >  } >  FntLoad(SCNX,0); >  FntOpen(0,0,SCNX,SCNY,0,512); >  while (1) { >    buf = GsGetActiveBuff(); >    GsClearOt(0,0,&ot[buf]); >    FntPrint("hello"); >    FntFlush(-1); >    DrawSync(0); >    VSync(0); >    GsSwapDispBuff(); >    GsSortClear(0,60,60,&ot[buf]); >    GsDrawOt(&ot[buf]); >  } >}