URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 970 |
Rev 1308 |
Line 154... |
Line 154... |
|
|
|
|
/* Dumps a bmp file, based on current image */
|
/* Dumps a bmp file, based on current image */
|
static int vga_dump_image (char *filename, int v)
|
static int vga_dump_image (char *filename, int v)
|
{
|
{
|
unsigned long addr = config.vgas[v].baseaddr;
|
|
int sx = vga[v].hlen;
|
int sx = vga[v].hlen;
|
int sy = vga[v].vlen;
|
int sy = vga[v].vlen;
|
int i, x, y;
|
int i, x, y;
|
int pc = vga[v].ctrl & VGA_CTRL_PC;
|
int pc = vga[v].ctrl & VGA_CTRL_PC;
|
int rbpp = vga[v].ctrl & VGA_CTRL_CD;
|
int rbpp = vga[v].ctrl & VGA_CTRL_CD;
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.