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:
9:4211d638b2e9
Child:
16:370b9e559f92
--- a/forth_machine.cpp	Fri Sep 28 04:35:00 2012 +0000
+++ b/forth_machine.cpp	Sun Sep 30 05:26:32 2012 +0000
@@ -76,8 +76,16 @@
     return pl_dictionary_count++;
 }
 
+
+typedef struct CallStateStruct
+{
+    int lastcall; //the pl_temppos when this word was first called
+    CallStateStruct* previous;    
+} CallState;
+
 int pl_tempstack[MAXTEMPSTACK];
 int pl_temppos=0;
+CallState* callstate; 
 void pl_temppush(int val)
 {
     if(pl_temppos>=MAXTEMPSTACK)