Displaying Text

Jul 20, 2010 at 3:10 PM
Edited Jul 20, 2010 at 3:11 PM
This is my code for The LEtter A http://nopaste.voric.com/paste.php?f=vzs56x All I want to do is make that appear when I press the the Letter A on my keyboard.
Jul 20, 2010 at 8:32 PM
ConsoleKey h = Cosmos.Hardware.Keyboard.ReadKey(); if (h == (ConsoleKey.A)) //If the user press A { int[] example = { 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0 }; for (int i = 0; i < 6; i++) { for (int t = 0, count = 0; t < 8; t++, count++) { if (example[count] == 0) VGAScreen.SetPixel320x200x8((uint)(x + t), (uint)(y + i), 0x0); } } else { //What do you want to happen if the user dont press A }