Path: chuka.playstation.co.uk!news From: Craig Graham Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: General question. Date: Sat, 09 May 1998 11:26:26 +0100 Organization: Intelligent Research Lines: 31 Message-ID: <35542F52.F49EB34E@hinge.mistral.co.uk> References: <3551E529.39700A51@chowfam.demon.co.uk> <6isrju$aek3@chuka.playstation.co.uk> <35520452.5385308E@netmagic.net> <35521703.6AC7A819@chowfam.demon.co.uk> <35524CC0.B7F2B618@netmagic.net> NNTP-Posting-Host: 194.131.235.3 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (Win95; I) Why not just buy an Action Replay / Gameshark, and use the ARS fileserver library (for GNU or CodeWarrior) to load the files from the PC using standard file access void LoadTimFile(char *fname, long length) { long handle=open(fname,O_RDONLY); char *buf=(char*)malloc(length); read(handle,buf,length); close(handle); // Load the TIM into VRAM here free(buf); } The open/read/close are redirected by the ARS library to load from the fileserver program running on the PC (via the Action Replay cartridge, parallel connection: 2Mb/s download speed). You'll get faster downloads, and can load in more data whenever you want. And you don't have to pre-allocate any memory at all.... Craig. (who wrote ARS for GNU & CodeWarrior)