ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Tue Dec 21, 2004 11:31 pm Post subject: |
|
|
It is certainly possible, but wouldn't be very fast... sending 32MB of data over serial would take a bit of time.
As for how, you'd have to write a program to do it. There's some documentation on the serial port in ps2sdk, specifically in sio.h. Here's the important functions:
| Code: | void sio_init(u32 baudrate, u8 lcr_ueps, u8 lcr_upen, u8 lcr_usbl, u8 lcr_umode);
size_t sio_write(void *buf, size_t size);
size_t sio_read(void *buf, size_t size);
|
BTW, you probably can't really do this while a game is running, if that was your plan... |
|