Path: chuka.playstation.co.uk!news From: Scott Barnett Newsgroups: scee.yaroze.programming.libraries Subject: Re: pc file handling ioctl etc Date: Thu, 08 Jan 1998 12:01:57 +1100 Organization: PlayStation Net Yaroze (SCEE) Lines: 33 Message-ID: <34B42585.51E1@snrc.uow.edu.au> References: <333877DF.2FEC@supersonic.win-uk.net> NNTP-Posting-Host: babe.snrc.uow.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0Gold (X11; I; SunOS 5.5 sun4c) Andrew Robert Williamson wrote: > > Can anyone tell me if there are any demos of accessing a pc file via the > tty stream, ie using open() close() read() write() and ioctl(). > > Is there a good description of the commands and arguments for ioctl() > anywhere? > > thanks in advance, > > Andy Williamson. I have a similar related problem/question. Does anyone know of any way to poll the serial port of the PSX for input ? I know that getchar() will read a character - but it blocks and waits until a character arrives, I need something more like PadRead() that is non-blocking. Is there any function similar to kbhit() or kbinp() that might work ?? Alternatively, if I had the appropriate hardware addresses of the serial port of the playstation I could write something myself... Any tips ? -- ______________________________________________________________________ Scott Barnett - Switched Networks Research Centre - Uni. of Wollongong *Email: scott@snrc.uow.edu.au *Ph: +61 42 21 4630 *Fax: +61 42 21 3236 All opinions expressed above... blah blah blah ... yak yak yak........ ______________________________________________________________________ Fast, Cheap, Good: Choose any two. ______________________________________________________________________