- 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
+4 -4
View File
@@ -188,8 +188,8 @@ void nextGeneration( int* matrix, int* future ) {
void gx_init(void)
{
volatile UINT32 *pVGA_ctrl = (UINT32*)sys_vga_ctrl;
volatile UINT32 *pVGA_moffs = (UINT32*)sys_vga_moffs;
volatile UINT32 *pVGA_ctrl = (UINT32*)SYS_VGA_CTRL;
volatile UINT32 *pVGA_moffs = (UINT32*)SYS_VGA_MOFFS;
sleep(500);
@@ -197,7 +197,7 @@ void gx_init(void)
memset(g_gx_buff, 0, SCREEN_X*SCREEN_Y*sizeof(UINT32));
printf("g_gx_buff : %8.8X\n", (UINT32)g_gx_buff);
*pVGA_ctrl |= sys_vga_bit_msten;
*pVGA_ctrl |= SYS_VGA_BIT_MSTEN;
*pVGA_moffs = (UINT32)g_gx_buff;
}
@@ -208,7 +208,7 @@ int main( int argc, char* argv[] ) {
int* matrix;
int* future;
volatile UINT32 *pBtn = (UINT32*)sys_gpio0;
volatile UINT32 *pBtn = (UINT32*)SYS_GPIO0;
// lcdEnableDisplay( 1 );
// lcdSetColor( 1 );