Path: chuka.playstation.co.uk!news From: Philip Gooch Newsgroups: scee.yaroze.programming.codewarrior Subject: MWDebugIO Date: Wed, 01 Jul 1998 14:37:07 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: <359A3B82.2267A83D@easynet.co.uk> NNTP-Posting-Host: 193.131.140.246 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) This is really a .beginners question really, but it's related to Codewarrior because I use it and love it! I'm using the MWDebugIO library functions to read in my TIM files dynamically rather than download them into a specific area of memory via a batch file. The benefit of this is also that it's easy to free up the memory once the TIMs have been transferred to the frame buffer But because these functions require PSComUtil and a lot of people are using SIOCONS, I will need to forget this and use the standard 'local dload car.tim 80090000' stuff in a batch file when I release the final version, with the corresponding #define CAR_ADDRESS 80090000 and p = (u_long *)CAR_ADDRESS and all that stuff But, I don't know how to free up this memory afterwards. Because it's not dynamically allocated, free(p) won't work, will it? Do I just set p to NULL? Have I answered my own question? Cheers Phil