Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
602e861dea
1 zmenil súbory, kde vykonal 13 pridanie a 0 odobranie
  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.
+