- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 MarcelLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PS2 = keyboard or mouse? What a u trying to display on the screen, character, mouse co-ordinates, or ...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PS2 Keyboard data
I try to display characters :)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need to use character_buffer, check out Altera University IP suite
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You will also need to look up the keyboard codes - a PS2 keyboard gives you keycodes, not characters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TO_BE_DONE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use a lookup table for the keycode translation.
Or possibly a switch statement.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is this character_buffer?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page