Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,108 Views

PS2 to VGA

Hey there. 

 

I got a Altera Cyclone III DE0 Board, and I try to write a Program to read the PS2 data and write it to the VGA display. 

 

I also got a fully functional Media Computer to write my Program with Nios II in C. 

 

But I'm new in C programming and I spent a whole day, but I can't figure out how to realize my Project (PS2 --> VGA) 

 

I would be thankful if you could give me some hints, how to write the C code. 

 

Thanks 

Marcel 

0 Kudos
7 Replies
Altera_Forum
Honored Contributor I
23 Views

PS2 = keyboard or mouse? What a u trying to display on the screen, character, mouse co-ordinates, or ...?

Altera_Forum
Honored Contributor I
23 Views

PS2 Keyboard data 

 

I try to display characters :)
Altera_Forum
Honored Contributor I
23 Views

You need to use character_buffer, check out Altera University IP suite

Altera_Forum
Honored Contributor I
23 Views

You will also need to look up the keyboard codes - a PS2 keyboard gives you keycodes, not characters.

Altera_Forum
Honored Contributor I
23 Views

TO_BE_DONE

Altera_Forum
Honored Contributor I
23 Views

Use a lookup table for the keycode translation. 

Or possibly a switch statement.
Altera_Forum
Honored Contributor I
23 Views

What is this character_buffer?