Path: chuka.playstation.co.uk!news From: "Craig Graham" Newsgroups: scea.yaroze.freetalk Subject: Re: Yaroze->PC Communication Date: 15 Feb 1998 11:24:25 GMT Organization: PlayStation Net Yaroze (SCEE) Lines: 34 Message-ID: <01bd3a04$fb0f3540$98d449c2@Angela1.intelligent-group.com> References: <6c60nb$5bj5@scea> NNTP-Posting-Host: l152.mistral.co.uk X-Newsreader: Microsoft Internet News 4.70.1155 Nathan wrote in article <6c60nb$5bj5@scea>... > I don't like the way the Yaroze requires you to define your model addresses > as constants in the program. I have been messing around with an > alternative, but have run into a few problems. If you can open a "tty" > connection using the open() command, and the manuals say that the read() and > write() commands can be use with the "tty" connection, I am assuming that > you can open files, allocate memory, and fill the memory with the file data. > I have been able to open the connection, but I have been looking at the > read() command and it doesn't allow for a file name!? Am I missing > something here or is it just not possible to read a file in this way. This > might all sound very much like a new programmer question, but I haven't > worried about it until now, since I am attempting to allow for dynamic files > so that I can have numerous, large levels. CodeWarrior provides a fileserver (dynamic load from PC) over the serial port. My ARS library provides the same sort of functionality over the parallel port, using an Action Replay / Game Shark cartridge (it's faster than the serial port). You could convert the fileserver in ARS to use the serial port and change the file io library to put the protocol over the serial port with read & write to get the effect you're looking for.... > Nathan Miller > nmiller@igalaxy.net Craig.