Path: chuka.playstation.co.uk!news From: sceetech Newsgroups: scee.yaroze.programming.libraries Subject: Re: pc file handling ioctl etc Date: Tue, 01 Apr 1997 10:27:37 +0100 Organization: SCEE Lines: 49 Message-ID: <3340D509.4571@interactive.sony.com> References: <333877DF.2FEC@supersonic.win-uk.net> <333A40A0.2D25@interactive.sony.com> <333AEE3C.7169D3B1@pi.net> <33413D27.4F90@supersonic.win-uk.net> Reply-To: ps_yaroze@interactive.sony.com NNTP-Posting-Host: 194.203.13.10 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) To: Andrew Robert Williamson Andrew Robert Williamson wrote: > > tratax@pi.net 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(). > > > > > > > You can't at the moment. tty is the console environment, so all reads > > > and write are to the console not directly to the PC. > > > > > > It is possible to load any PC files to Yaroze the same way that .tim and > > > .tmd files are done. Other than this unless someone rewrites siocons all > > > files have to be loaded from PC at the start of the program. > > > > Is there any documentation about the SIOCONS protocol ? I'd like to have > > a SIOCONS > > for linux, so linux can be my primary development environment, and to be > > able to implement a 'device protocol' library similair to MWopen, MWread > > .. etc. > > > > -Henk-Jan > > Would it be possible to have the source code for the siocons system? I > have a map editor which I want to run on my Yaroze. If I can extract the > file handling routines from siocons then I can use more of the given > memory for my map editor. > > Andy Williamson. Hi Andy, No, I'm sorry but we can't provide the source for Siocons itself, however I'll add this to our list of requests that we'll work on. Note that you should be able to simply download and start your program on the Yaroze PlayStation, quit out of SIOCONS and start up your own "server" program on the PC that monitors COM1 and receives packets issued by your Yaroze program writing to "tty". You can then construct your own arbitration and messaging process to effectively allow your Yaroze program to control the PC (or indeed Visa Versa). This is effectively the way CodeWarrior works. - Yar Support