Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scea.yaroze.programming.2d_graphics Subject: Re: Printf() Date: Thu, 16 Jul 1998 10:42:37 +0100 Organization: Sony Computer Entertainment Europe Lines: 24 Message-ID: <35ADCB0D.17C9DA32@scee.sony.co.uk> References: <01bdb05b$0ddcab40$0100fc9d@skynet> NNTP-Posting-Host: camfw01.millennium.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) Antony Arciuolo wrote: > > I have problems where the printf to the console gets cut off. > Like: 4-bit TIM loaded successfully. > would get displayed as: 4t TIMldd successfull. > > The stream to the console seems to be interrupted prematurely. Is there any > way to cease all other functions until the printf is done displaying (would > critical-section code be appropriate here) ? Since I've never heard of anyone else having such problems, it sounds to me like the data returning to the PC is getting corrupted. This could be caused by interference or a loose/damaged cable. Try writing a test program that only outputs some example text. If that text is getting corrupted too, then it's your connection at fault. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe A sufficiently advanced god would use evolution.