Path: chuka.playstation.co.uk!news From: Alex Herbert Newsgroups: scee.yaroze.programming.libraries Subject: Re: My own siocons Date: Wed, 04 Feb 1998 19:54:11 +0000 Organization: PlayStation Net Yaroze (SCEE) Lines: 43 Message-ID: <34D8C763.6683CA2D@ndirect.co.uk> References: <6b41f6$b27@chuka.playstation.co.uk> Reply-To: aherbert@ndirect.co.uk NNTP-Posting-Host: dialin2-19.ndirect.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.04 [en] (Win95; I) I have also had problems with tty (via CW). Not sure if its handshaking or buffering (on the PS end). The following workaround has sorted thing out for me, although it's just not the way I'd like things. 1. Send data in small chunks (say 4096 bytes). 2. Pause after each chunk is transmitted to be sure it gets there. (Leave enough time for the whole chunk to arrive before sending the next.) 3. Ensure that no GTE or DMA opperations are in progress while transmitting. (ie Keep the rest of the PS as idle as possible while tranfering data.) 4. Keep data flowing in one direction at any one time. Hope this helps. Alex Maurice Sibrandi wrote: > Hi there, > > I'm writing my own siocons program (win95) which encloses a > project in which the tim/tmd/exe-files are kept. This project can > be uploaded to the Yaroze. Just like the load-batch functionality > of siocons. It is also able to load a 'normal' siocons-batch file. > This is 95% working. But now I want to extend my > program with upload and download functionality from within a > psx-exe. I have tried to implement it but I encountered some odd > problems. Small files (to 10k) seem to work, but larger files fail. > It seems like there is a problem with reading/writing to tty. > How does ioctl() work. I can set the baud to 115200. Need I set > the handshake method, if so : how? > > Help me and I create the homepage and upload my console program > including source. (This is not blackmail but crap-grammar). > > Thank you!