Forum Discussion
Altera_Forum
Honored Contributor
15 years agoPS2 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 Marcel7 Replies
- Altera_Forum
Honored Contributor
PS2 = keyboard or mouse? What a u trying to display on the screen, character, mouse co-ordinates, or ...?
- Altera_Forum
Honored Contributor
PS2 Keyboard data
I try to display characters :) - Altera_Forum
Honored Contributor
You need to use character_buffer, check out Altera University IP suite
- Altera_Forum
Honored Contributor
You will also need to look up the keyboard codes - a PS2 keyboard gives you keycodes, not characters.
- Altera_Forum
Honored Contributor
TO_BE_DONE
- Altera_Forum
Honored Contributor
Use a lookup table for the keycode translation.
Or possibly a switch statement. - Altera_Forum
Honored Contributor
What is this character_buffer?