void rcpToClip(int sd, char *clipName)
{
char str[80], tmp_str[30];
int n;
sprintf(str, “rcp -t -d %s”, clipName);
write(sd, str, strlen(str)+1);
n = read(sd, tmp_str, 30);
#ifdef DEBUG
if (n == 1) printf(“read %d: %02X\n”, n,
*tmp_str);
else printf(“read %d: %s\n”, n, tmp_str);
#endif
}
void rcpToMultiple(FILE *piccy, int sd, int
frame)
{
char line[PIXELS*CHANNELS];
char str[80], tmp_str[20];
int i, n;
sprintf(str, “C0666 %d %d\n”,CHANNELS*PIXELS*
LINES,
frame);
write(sd, str, strlen(str));
n = read(sd, tmp_str, 20);
#ifdef DEBUG
printf(“read %d\n”, n);
#endif
File Formats
Diskus Technical Guide
12-40
Appendix
9100-0217-02 - SEP 95
Summary of Contents for Diskus
Page 1: ...Diskus Digital Disk Recorder Manual ...
Page 477: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xvii ...
Page 478: ...NOTES Index Diskus Operations xviii Index 9100 0217 02 SEP 95 ...
Page 479: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xix ...
Page 480: ...NOTES Index Diskus Operations xx Index 9100 0217 02 SEP 95 ...