Path: chuka.playstation.co.uk!chuka.playstation.co.uk!chuka.playstation.co.uk!not-for-mail From: George_Bain@Playstation.sony.com Newsgroups: scee.yaroze.programming.2d_graphics Subject: re:Hi-res question Date: 17 May 1998 16:31:08 +0100 Organization: Sony Computer Entertainment Europe - 119.SS5 Lines: 74 Sender: news@chuka.playstation.co.uk Message-ID: <6jmvrs$35i1@emeka.playstation.co.uk> Reply-To: George_Bain@Playstation.sony.com NNTP-Posting-Host: emeka.playstation.co.uk via smtpd (for [194.203.13.2]) with SMTP; 17 May 1998 15:35:53 UT by camsg001.camb.scee.sony.co.uk (8.8.6/8.8.6) with SMTP id QAA29339 for ; Sun, 17 May 1998 16:33:58 +0100 (BST) From: George_Bain@Playstation.sony.com To: news@playstation.co.uk Content-Disposition: inline Hi there, Try clearing the VRAM... void ClearVRAM( void ) { RECT rect_one, rect_two; // set rect rect_one.x = 0; rect_one.y = 0; rect_one.w = SCREEN_WIDTH; rect_one.h = SCREEN_HEIGHT; // set rect rect_two.x = 0; rect_two.y = SCREEN_HEIGHT; rect_two.w = SCREEN_WIDTH; rect_two.h = SCREEN_HEIGHT; // nuke top left of VRAM ClearImage(&rect_one, 0, 0, 0); // nuke bottom left of VRAM ClearImage(&rect_two, 0, 0, 0); DrawSync(0); // wait for it to clear }// end ClearVRAM If you want to nuke the whole contents of VRAM then use four rects instead of just two...you'll get the idea. Regards, George@SCEE From: James Chow I've managed to up the resolution from 320*240 to 640*480 with relative ease. But I would like to use 640*512 for the PAL display. Using the method for changing 320*240 to 320*256 by altering the GsDISPENV variable GsDISPENV.disp.y = 20; GsDISPENV.disp.h = 256; gives the required 640*512 resolution. But now the previous screen is not cleared before drawing the current screen. Can anyone help? -- jc