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
BuiltinFunctions.cpp@11:fede136943a9, 2012-09-28 (annotated)
- Committer:
- earlz
- Date:
- Fri Sep 28 04:03:54 2012 +0000
- Revision:
- 11:fede136943a9
- Parent:
- 6:a4dff59ef214
- Child:
- 16:370b9e559f92
Finally have keyboard support, AND it plays nice with VGA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
earlz | 6:a4dff59ef214 | 1 | #include "mbedconsole.h" |
earlz | 6:a4dff59ef214 | 2 | #include "plEarlz.h" |
earlz | 6:a4dff59ef214 | 3 | #include <stdint.h> |
earlz | 6:a4dff59ef214 | 4 | #include <stdarg.h> |
earlz | 6:a4dff59ef214 | 5 | |
earlz | 6:a4dff59ef214 | 6 | |
earlz | 6:a4dff59ef214 | 7 | void bi_print() |
earlz | 6:a4dff59ef214 | 8 | { |
earlz | 6:a4dff59ef214 | 9 | char buf[12]; |
earlz | 6:a4dff59ef214 | 10 | int tmp=pl_pop(); |
earlz | 6:a4dff59ef214 | 11 | sprintf( buf, "%i\n", tmp); |
earlz | 6:a4dff59ef214 | 12 | vputs(buf); |
earlz | 6:a4dff59ef214 | 13 | } |