summaryrefslogtreecommitdiff
path: root/Source/Applications/SampleApps
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-10-18 21:56:26 +0200
committerAlexis211 <alexis211@gmail.com>2009-10-18 21:56:26 +0200
commit0cca2d68451849b5ea96a3620566fd0b42dde3c0 (patch)
treefcdcaace870a59d0b8f2ccc6abb8418763960dbe /Source/Applications/SampleApps
parent776753bfa0c411f4b1a5680409104904961fcbeb (diff)
downloadMelon-0cca2d68451849b5ea96a3620566fd0b42dde3c0.tar.gz
Melon-0cca2d68451849b5ea96a3620566fd0b42dde3c0.zip
More work on syscalls
Diffstat (limited to 'Source/Applications/SampleApps')
-rw-r--r--Source/Applications/SampleApps/cxxdemo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Applications/SampleApps/cxxdemo.cpp b/Source/Applications/SampleApps/cxxdemo.cpp
index 8da475a..01644a8 100644
--- a/Source/Applications/SampleApps/cxxdemo.cpp
+++ b/Source/Applications/SampleApps/cxxdemo.cpp
@@ -5,12 +5,15 @@
int main() {
VirtualTerminal x = VirtualTerminal::get();
+ String s = x.readLine();
+ x.write(s);
Thread t = Thread::get();
for (char c = ' '; c <= 'z'; c++) {
t.sleep((u32int)c / 4);
x.put(c);
}
x.put("\n");
+ x.write("Salut les gens ! c'est le progrès !!!\nLe boeuf mort est juste là : ");
x.writeHex(0xDEADBEEF);
x.put("\n");
}