- changed register defines to UPPER-CASE

Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


git-svn-id: http://moon:8086/svn/vhdl/trunk@639 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-11-08 13:06:12 +00:00
parent 100634f883
commit 9413b8d798
5 changed files with 14 additions and 14 deletions
+5 -5
View File
@@ -441,10 +441,10 @@ do_line(y)
main()
{
#ifdef JMIPS_VGA
volatile UINT32 *pVGA_ctrl = (UINT32*)sys_vga_ctrl;
volatile UINT32 *pVGA_moffs = (UINT32*)sys_vga_moffs;
volatile UINT32 *pVGA_resx = (UINT32*)sys_vga_resx;
volatile UINT32 *pVGA_resy = (UINT32*)sys_vga_resy;
volatile UINT32 *pVGA_ctrl = (UINT32*)SYS_VGA_CTRL;
volatile UINT32 *pVGA_moffs = (UINT32*)SYS_VGA_MOFFS;
volatile UINT32 *pVGA_resx = (UINT32*)SYS_VGA_RESX;
volatile UINT32 *pVGA_resy = (UINT32*)SYS_VGA_RESY;
UINT64 *pPixelBuf;
xsize = *pVGA_resx;
@@ -455,7 +455,7 @@ main()
printf("pPixelBuf : %8.8X\n", (UINT32)pPixelBuf);
*pVGA_moffs = (UINT32)pPixelBuf;
*pVGA_ctrl |= sys_vga_bit_msten;
*pVGA_ctrl |= SYS_VGA_BIT_MSTEN;
memset(pPixelBuf, 0, xsize*ysize*sizeof(UINT32));
#else