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
mbedconsole.h@1:eb209f0468de, 2012-09-17 (annotated)
- Committer:
- earlz
- Date:
- Mon Sep 17 04:41:37 2012 +0000
- Revision:
- 1:eb209f0468de
- Child:
- 2:e2a4c5d17d59
Getting more and more useful
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
earlz | 1:eb209f0468de | 1 | #ifndef MBEDCONSOLE_H |
earlz | 1:eb209f0468de | 2 | #define MBEDCONSOLE_H |
earlz | 1:eb209f0468de | 3 | |
earlz | 1:eb209f0468de | 4 | #include "mbed.h" |
earlz | 1:eb209f0468de | 5 | #include "vga640x480g.h" |
earlz | 1:eb209f0468de | 6 | |
earlz | 1:eb209f0468de | 7 | void vputc(char c); |
earlz | 1:eb209f0468de | 8 | void vputs(char *s); |
earlz | 1:eb209f0468de | 9 | char vgetc(); |
earlz | 1:eb209f0468de | 10 | int vgetsl(char *s, int len); |
earlz | 1:eb209f0468de | 11 | |
earlz | 1:eb209f0468de | 12 | int strlcmp(const char *s1,const char *s2,size_t count); |
earlz | 1:eb209f0468de | 13 | |
earlz | 1:eb209f0468de | 14 | void shell_begin(); |
earlz | 1:eb209f0468de | 15 | |
earlz | 1:eb209f0468de | 16 | extern Serial serial; |
earlz | 1:eb209f0468de | 17 | |
earlz | 1:eb209f0468de | 18 | |
earlz | 1:eb209f0468de | 19 | |
earlz | 1:eb209f0468de | 20 | #endif |