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:
13:442bd2fb4ea0
Parent:
12:3ee3062cc11c
Child:
16:370b9e559f92
--- a/shell.cpp	Fri Sep 28 04:35:00 2012 +0000
+++ b/shell.cpp	Sun Sep 30 05:26:32 2012 +0000
@@ -4,7 +4,28 @@
 char kbd_GetKey();
 
 LocalFileSystem local("local");
+
+
+void do_hackaday()
+{
+   // int y=150;
+    int tmp=0;
+    for(int y=0;y<HACKADAY_HEIGHT;y++)
+    {
+        for(int x=0;x<HACKADAY_WIDTH;x++)
+        {
+            int byte=tmp/8;
+            int bit=tmp%8;
+            bit=bit-7; //bits are reversed! Those bastards!
+            bit=-bit;
+            vga_plot(x,y, (hackadaylogo[byte]&(1<<bit))==0);
+            tmp++;
+        }
+    }
+}
+
 void shell_begin(){
+    do_hackaday();
     vputs(">>Micro eMBEDded Shell v0.1<<\n");
     char *cmd=(char*)malloc(128);
     bool valid=false;
@@ -61,6 +82,9 @@
         }else if(strlcmp(cmd, "about", 6)==0){
             valid=1;
             vputs("I am Jack's broken monolog\n");
+        }else if(strlcmp(cmd, "scheme", 7)==0){
+            valid=1;
+            //scheme_main();
         }
         if(!valid){
             vputs("Invalid Command! Try `help` if you need it\n");