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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [or1ksim/] [testbench/] [fbtest.c] - Diff between revs 647 and 648

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

Rev 647 Rev 648
Line 1... Line 1...
/* Simple frame buffer test. Draws some horizontal with different colors. */
/* Simple frame buffer test. Draws some horizontal with different colors. */
#include "support.h"
#include "support.h"
 
 
#define BUFADDR   0xb4000000
#define BUFADDR   0x40100000
#define BASEADDR  0xb8000000
#define BASEADDR  0xb8000000
#define BUF_PTR  ((unsigned char *)BUFADDR)
#define BUF_PTR  ((unsigned char *)BUFADDR)
#define PAL_PTR  ((unsigned long *)(BASEADDR + 0x400))
#define PAL_PTR  ((unsigned long *)(BASEADDR + 0x400))
#define SIZEX     640
#define SIZEX     640
#define SIZEY     480
#define SIZEY     480

powered by: WebSVN 2.1.0

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