浏览代码

Portability: can call the same command from windows obeorn shell and linux oberon shell
Compiler, Linker and full Display system works consistently from windows and linux command line.

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6950 8c9fc860-2736-0410-a75d-ab315db34111

felixf 8 年之前
父节点
当前提交
602e861dea
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      source/Unix.Display.Mod

+ 13 - 0
source/Unix.Display.Mod

@@ -0,0 +1,13 @@
+MODULE Display;
+
+IMPORT Commands;
+
+PROCEDURE Install*;
+VAR msg: ARRAY 256 OF CHAR; res: LONGINT;
+BEGIN
+	Commands.Call("XDisplay.Install", {Commands.Wait}, res, msg);
+	Commands.Call("KbdMouse.Init", {Commands.Wait}, res, msg);
+END Install;
+
+END Display.
+