فهرست منبع

patches for nanopict project (compilation under Linux)

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7645 8c9fc860-2736-0410-a75d-ab315db34111
felixf 7 سال پیش
والد
کامیت
9ad2f87549
5فایلهای تغییر یافته به همراه24 افزوده شده و 5 حذف شده
  1. BIN
      lin32/bin/RasterPixelFormats.GofU
  2. 17 0
      lin32/bin/RasterPixelFormats.SymU
  3. 3 2
      source/Builds.Tool
  4. 2 2
      source/Configuration.XML
  5. 2 1
      source/Release.Tool

BIN
lin32/bin/RasterPixelFormats.GofU


+ 17 - 0
lin32/bin/RasterPixelFormats.SymU

@@ -0,0 +1,17 @@
+MODULE RasterPixelFormats;
+	IMPORT Raster, SYSTEM;
+CONST 
+	b = Raster.b; 
+	g = Raster.g; 
+	r = Raster.r; 
+	a = Raster.a; 
+	yuv422* = 11; 
+VAR 
+	YUV422*: Raster.Format; 
+
+	PROCEDURE ^ YUVtoBGRInt(y, u, v: CHAR; VAR b, g, r: CHAR); 
+	PROCEDURE ^ BGRtoYUVInt(blue, green, red: CHAR; VAR y, u, v: CHAR); 
+	PROCEDURE ^ PackYUV422(VAR fmt: Raster.Format0; adr: ADDRESS; bit: LONGINT; VAR pix: Raster.Pixel); 
+	PROCEDURE ^ UnpackYUV422(VAR fmt: Raster.Format0; adr: ADDRESS; bit: LONGINT; VAR pix: Raster.Pixel); 
+BEGIN
+END RasterPixelFormats.

+ 3 - 2
source/Builds.Tool

@@ -46,12 +46,13 @@ LINUX32G -- 32 bit linux a2 using generic object files
 	Release.Build --path=NewAos/ Linux32G ~
 	
 	## X11 bootconsole ##
-		StaticLinker.Link -p=Linux32G Runtime Trace Glue Unix Machine Heaps Modules Objects Kernel 
+		StaticLinker.Link -p=Linux32G --path=NewAos/ 
+		Runtime Trace Glue Unix Machine Heaps Modules Objects Kernel 
 		KernelLog  Streams Commands Pipes StdIO TrapWriters Reflection Traps Files UnixFiles Clock Dates 
 		Reals Strings Diagnostics BitSets StringPool ObjectFile GenericLinker   GenericLoader  BootConsole ~
 	
 	## Command line shell including compiler (and linker) ##
-		StaticLinker.Link -p=Linux32G 
+		StaticLinker.Link -p=Linux32G --path=NewAos/
 			Runtime Trace Glue Unix Machine Heaps Modules Objects Kernel KernelLog  Streams Commands Pipes StdIO 
 			TrapWriters Reflection Traps Files UnixFiles Clock Dates Reals Strings Diagnostics BitSets StringPool ObjectFile GenericLinker   GenericLoader  SystemTools StdIOShell 
 			Shell StaticLinker Compiler FoxOberonFrontend FoxARMBackend FoxAMDBackend ~

+ 2 - 2
source/Configuration.XML

@@ -483,7 +483,7 @@ To update: Configuration.Init ~
 				</Section>
 				<Section name="Fox">
 					<Setting name="caption" value="Compile"/>
-					<Setting name="options" value="-p=Win32G -w"/>
+					<Setting name="options" value="-w"/>
 					<Setting name="fileExtension" value="MOD"/>
 					<Setting name="loadmodule" value="TextCompiler"/>
 					<Setting name="genTree" value="PETModuleTree.GenModuleTree"/>
@@ -491,7 +491,7 @@ To update: Configuration.Init ~
 				</Section>
 				<Section name="Fox">
 					<Setting name="caption" value="Compile"/>
-						<Setting name="options" value="-p=Win32G --cellsAreObjects"/>
+						<Setting name="options" value="--cellsAreObjects"/>
 					<Setting name="fileExtension" value="MDF"/>
 					<Setting name="loadmodule" value="TextCompiler"/>
 					<Setting name="genTree" value="PETModuleTree.GenModuleTree"/>

+ 2 - 1
source/Release.Tool

@@ -1470,7 +1470,8 @@ PACKAGE Contributions ARCHIVE "Contributions.zip" SOURCE "ContributionsSrc.zip"
 	MenuPages.Mod # generate MenuPageXX.XML files
 
 	# Video for Windows
-	WIN { Win32.VfW.Mod RasterPixelFormats.Mod VideoExample.Mod TestVideo.Mod}
+	RasterPixelFormats.Mod 
+	WIN { Win32.VfW.Mod VideoExample.Mod TestVideo.Mod}
 
 	WMOverlay.Mod WMOverlay.tar