OpenCores
URL https://opencores.org/ocsvn/zet86/zet86/trunk

Subversion Repositories zet86

[/] [zet86/] [trunk/] [bin/] [out2rom-ml403.c] - Rev 14

Go to most recent revision | Compare with Previous | Blame | View Log

int main()
{
  char buf[2];
  char buf2[2] = { 0xff, 0xff };
  while (read(0, &buf, 2)==2)
    {
      write(1, &buf2, 2);
      write(1, &buf[1], 1);
      write(1, &buf[0], 1);
    }
  return 0;
}
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.