[openfirmware] r836 - cpu/x86/pc/olpc
svn at openfirmware.info
svn at openfirmware.info
Wed Jun 11 11:08:47 CEST 2008
Author: wmb
Date: 2008-06-11 11:08:47 +0200 (Wed, 11 Jun 2008)
New Revision: 836
Modified:
cpu/x86/pc/olpc/expand16.fth
Log:
OLPC camera selftest - corrected an inaccurate comment.
Modified: cpu/x86/pc/olpc/expand16.fth
===================================================================
--- cpu/x86/pc/olpc/expand16.fth 2008-06-11 09:03:04 UTC (rev 835)
+++ cpu/x86/pc/olpc/expand16.fth 2008-06-11 09:08:47 UTC (rev 836)
@@ -6,10 +6,10 @@
code expand-image ( src dst --- )
0 [sp] edi xchg
4 [sp] esi xchg
- d# 450 # edx mov
+ d# 450 # edx mov \ Number of doubled output scan lines
begin
d# 80 # esi add \ Skip left edge of camera image
- d# 600 # cx mov \ Number of doubled scan lines
+ d# 600 # cx mov \ Number of doubled pixels
begin
op: ax lods \ Get a pixel
op: ax d# 2400 [edi] mov \ Write to next line
More information about the openfirmware
mailing list