URL
https://opencores.org/ocsvn/zet86/zet86/trunk
[/] [zet86/] [trunk/] [bin/] [out2rom-ml403.c] - Diff between revs 14 and 49
Only display areas with differences |
Details |
Blame |
View Log
Rev 14 |
Rev 49 |
int main()
|
int main()
|
{
|
{
|
char buf[2];
|
char buf[2];
|
char buf2[2] = { 0xff, 0xff };
|
char buf2[2] = { 0xff, 0xff };
|
while (read(0, &buf, 2)==2)
|
while (read(0, &buf, 2)==2)
|
{
|
{
|
write(1, &buf2, 2);
|
write(1, &buf2, 2);
|
write(1, &buf[1], 1);
|
write(1, &buf[1], 1);
|
write(1, &buf[0], 1);
|
write(1, &buf[0], 1);
|
}
|
}
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.