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:
4:b44c27404035
Parent:
1:eb209f0468de
Child:
11:fede136943a9
--- a/textio.cpp	Wed Sep 19 04:44:07 2012 +0000
+++ b/textio.cpp	Wed Sep 19 05:05:31 2012 +0000
@@ -110,20 +110,20 @@
 
 
 int strlcmp(const char *s1,const char *s2,size_t count){
-	int i=0;
-	while((s1[i]!=0) && (s2[i]!=0)){
-		if(s1[i]!=s2[i]){
-			return -1;
-		}
-		if(i>=count){
-			return -1;
-		}
-		i++;
-		
-	}
-	if(s1[i]!=s2[i]){
-		return -1;
-	}
-	return 0;
+    int i=0;
+    while((s1[i]!=0) && (s2[i]!=0)){
+        if(s1[i]!=s2[i]){
+            return -1;
+        }
+        if(i>=count){
+            return -1;
+        }
+        i++;
+        
+    }
+    if(s1[i]!=s2[i]){
+        return -1;
+    }
+    return 0;
 }