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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [testbench/] [fbtest.c] - Diff between revs 648 and 956

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 648 Rev 956
Line 28... Line 28...
    setpal (i, 256 - i, i, 128 ^ i);
    setpal (i, 256 - i, i, 128 ^ i);
 
 
  /* Turn display on */
  /* Turn display on */
  *((unsigned long *)(BASEADDR) + 0x0) = 0xffffffff;
  *((unsigned long *)(BASEADDR) + 0x0) = 0xffffffff;
 
 
  for (i = 0; i < 256; i++) {
  for (i = 0; i < 16; i++) {
    hline (i, 0, i, i);
    hline (i, 0, i, i);
    hline (256 - i, 256 - i, 256 + i, i);
    hline (256 - i, 256 - i, 256 + i, i);
  }
  }
 
 
  report (0xdeaddead);
  report (0xdeaddead);

powered by: WebSVN 2.1.0

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