A project to implement a console using the Mbed using VGA for video output and a PS/2 keyboard for the input. The eventual goal is to also include tools for managing SD cards, and a semi-self-hosting programming environment.

Dependencies:   PS2_MbedConsole fastlib SDFileSystem vga640x480g_mbedconsole lightvm mbed

MbedConsole is a cool little project to have a self-contained computer all on an Mbed. So far it has VGA and PS/2 support and can stand alone without a computer powering it. Next planned features are SD card support and a lightweight programmable VM complete with a file editor and self-hosted assembler.

You can view additional details about it at http://earlz.net/tags/mbedconsole

Revision:
14:c42ae78003c6
Parent:
13:442bd2fb4ea0
Child:
16:370b9e559f92
--- a/main.cpp	Sun Sep 30 05:26:32 2012 +0000
+++ b/main.cpp	Sun Sep 30 16:34:33 2012 +0000
@@ -63,26 +63,14 @@
     NVIC_SetPriority(MCPWM_IRQn, 100);
     NVIC_SetPriority(QEI_IRQn, 100);
     NVIC_SetPriority(PLL1_IRQn, 100);
-    //serial.puts("Done!\r\n");
-    //serial.puts("Initializing VGA...");
-    //wait_ms(500);
     init_vga();
     vga_cls();
-    //serial.puts("Done!\r\n");
-    
-    //serial.puts("Initializing PS/2 Keyboard..");
-    //NVIC_SetPriority( EINT3_IRQn, 90 ); 
-    //wait_ms(500);
     keyboard_init();
     fl_select_clock_i2s(FL_CLOCK_DIV1); // assume 100MHz
     fl_i2s_set_tx_rate(1,4);            // set 25 MHz pixel clock 
     
     
     NVIC_SetPriority( EINT3_IRQn, 90 ); 
-    //wait_ms(500);
-    //serial.puts("Done\r\n");
-    
-    //serial.puts("Entering mbedConsole shell\r\n");
     
     freopen("/console", "w", stdout);
     setvbuf(stdout, NULL, _IONBF, 0);
@@ -90,8 +78,6 @@
     //setvbuf(stdout, NULL, _IONBF, 0);
     freopen("/console", "w", stderr);
     setvbuf(stderr, NULL, _IONBF, 0);
-    //printf("test");
-    //fflush(stdout);
     while(1)
     {
         vputs("mbedConsole by Jordan Earls\n");