# HG changeset patch
# User windel
# Date 1328290724 -3600
# Node ID a1c9c2158e99d3a78af47e852cb561aefa72f0ca
# Parent 5c20bd53cccd22ec02b239882e14d4cfc9252296
Directory cleanup
diff -r 5c20bd53cccd -r a1c9c2158e99 cos/hello/liblcfos.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cos/hello/liblcfos.c Fri Feb 03 18:38:44 2012 +0100
@@ -0,0 +1,23 @@
+
+/* Defines all system calls */
+
+#include "liblcfos.h"
+
+/* Exit program system call */
+void exit()
+{
+ //syscall(EXIT);
+}
+
+/* Print string to screen */
+void print_string(char *str)
+{
+ // TODO:
+ // syscall(WRITESTR, str);
+ if (str[0] == 0)
+ {
+ return;
+ }
+}
+
+
diff -r 5c20bd53cccd -r a1c9c2158e99 cos/hello/liblcfos.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cos/hello/liblcfos.h Fri Feb 03 18:38:44 2012 +0100
@@ -0,0 +1,10 @@
+#ifndef LIBLCFOS_H
+#define LIBLCFOS_H
+
+/* Exit program system call */
+void exit();
+
+/* Print string to screen */
+void print_string(char *str);
+
+#endif
diff -r 5c20bd53cccd -r a1c9c2158e99 data/lcfos.png
Binary file data/lcfos.png has changed
diff -r 5c20bd53cccd -r a1c9c2158e99 ide/data/lcfos.png
Binary file ide/data/lcfos.png has changed
diff -r 5c20bd53cccd -r a1c9c2158e99 ide/testproject/main.mod
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ide/testproject/main.mod Fri Feb 03 18:38:44 2012 +0100
@@ -0,0 +1,25 @@
+module main;
+var
+ a,b,c : integer;
+
+procedure test(x:integer);
+ var y,z:integer;
+begin
+ y := x * 3 + 2;
+ z := x + y + a;
+end test;
+
+procedure add(a:integer; b:integer):integer;
+ var
+ tmp : integer;
+ begin
+ tmp := a + b;
+ return tmp
+ end add;
+
+begin
+ a := 12;
+ b := a * 12 + 33;
+ c := a div b + a * b * 99;
+end main.
+
diff -r 5c20bd53cccd -r a1c9c2158e99 ide/testproject/test.lcp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ide/testproject/test.lcp Fri Feb 03 18:38:44 2012 +0100
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff -r 5c20bd53cccd -r a1c9c2158e99 ide/testproject/test.mod
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/ide/testproject/test.mod Fri Feb 03 18:38:44 2012 +0100
@@ -0,0 +1,25 @@
+module test;
+var
+ a,b,c : integer;
+
+procedure test(x:integer);
+ var y,z:integer;
+begin
+ y := x * 3 + 2;
+ z := x + y + a;
+end test;
+
+procedure add(a:integer; b:integer):integer;
+ var
+ tmp : integer;
+ begin
+ tmp := a + b;
+ return tmp
+ end add;
+
+begin
+ a := 12;
+ b := a * 12 + 33;
+ c := a div b + a * b * 99;
+end test.
+
diff -r 5c20bd53cccd -r a1c9c2158e99 testproject/main.mod
--- a/testproject/main.mod Mon Jan 16 21:38:55 2012 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-module main;
-var
- a,b,c : integer;
-
-procedure test(x:integer);
- var y,z:integer;
-begin
- y := x * 3 + 2;
- z := x + y + a;
-end test;
-
-procedure add(a:integer; b:integer):integer;
- var
- tmp : integer;
- begin
- tmp := a + b;
- return tmp
- end add;
-
-begin
- a := 12;
- b := a * 12 + 33;
- c := a div b + a * b * 99;
-end main.
-
diff -r 5c20bd53cccd -r a1c9c2158e99 testproject/test.lcp
--- a/testproject/test.lcp Mon Jan 16 21:38:55 2012 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff -r 5c20bd53cccd -r a1c9c2158e99 testproject/test.mod
--- a/testproject/test.mod Mon Jan 16 21:38:55 2012 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-module test;
-var
- a,b,c : integer;
-
-procedure test(x:integer);
- var y,z:integer;
-begin
- y := x * 3 + 2;
- z := x + y + a;
-end test;
-
-procedure add(a:integer; b:integer):integer;
- var
- tmp : integer;
- begin
- tmp := a + b;
- return tmp
- end add;
-
-begin
- a := 12;
- b := a * 12 + 33;
- c := a div b + a * b * 99;
-end test.
-