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@2:e2a4c5d17d59, 2012-09-17 (annotated)
- Committer:
- earlz
- Date:
- Mon Sep 17 04:45:10 2012 +0000
- Revision:
- 2:e2a4c5d17d59
- Parent:
- 1:eb209f0468de
- Child:
- 3:2bc2b0dce10e
Has a rudimentary shell. A good starting point until PS/2 breakout boards come in
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
earlz | 2:e2a4c5d17d59 | 1 | #ifndef MBEDCONSOLE_H |
earlz | 2:e2a4c5d17d59 | 2 | #define MBEDCONSOLE_H |
earlz | 2:e2a4c5d17d59 | 3 | |
earlz | 2:e2a4c5d17d59 | 4 | #include "mbed.h" |
earlz | 2:e2a4c5d17d59 | 5 | #include "vga640x480g.h" |
earlz | 2:e2a4c5d17d59 | 6 | |
earlz | 2:e2a4c5d17d59 | 7 | void vputc(char c); |
earlz | 2:e2a4c5d17d59 | 8 | void vputs(char *s); |
earlz | 2:e2a4c5d17d59 | 9 | char vgetc(); |
earlz | 2:e2a4c5d17d59 | 10 | int vgetsl(char *s, int len); |
earlz | 2:e2a4c5d17d59 | 11 | void vsetcursor(int x, int y); |
earlz | 2:e2a4c5d17d59 | 12 | |
earlz | 2:e2a4c5d17d59 | 13 | int strlcmp(const char *s1,const char *s2,size_t count); |
earlz | 2:e2a4c5d17d59 | 14 | |
earlz | 2:e2a4c5d17d59 | 15 | void shell_begin(); |
earlz | 2:e2a4c5d17d59 | 16 | |
earlz | 2:e2a4c5d17d59 | 17 | extern Serial serial; |
earlz | 2:e2a4c5d17d59 | 18 | |
earlz | 2:e2a4c5d17d59 | 19 | |
earlz | 2:e2a4c5d17d59 | 20 | |
earlz | 1:eb209f0468de | 21 | #endif |