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
plEarlz.h
- Committer:
- earlz
- Date:
- 2012-09-19
- Revision:
- 3:2bc2b0dce10e
- Child:
- 6:a4dff59ef214
File content as of revision 3:2bc2b0dce10e:
#ifndef PLEARLZ_H #define PLEARLZ_H int pl_shell(); static inline int is_whitespace(char c){ return (c==' ') || (c=='\t') || (c=='\n') || (c=='\r'); } static inline int is_numeric(char c){ return (c>='0') && (c<='9'); } static inline int is_alpha(char c){ return ((c>='a') && (c<='z')) || ((c>='A') && (c<='Z')); } static inline int is_identifier(char c){ return is_alpha(c) || is_numeric(c) || (c=='_'); } static inline int is_quote(char c){ return (c=='\"') || (c=='\''); } #endif