summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-11-10 05:00:12 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2014-02-11 02:07:50 (GMT)
commit612b5cb1f23cb2118e7f0fd06f83caef508004ab (patch)
treec59fdade974831f7393a6d9dba82b786a8015893
parent0f6d1f2d74cb71a177a559d599ac79f34f38a0db (diff)
downloadabc8000-612b5cb1f23cb2118e7f0fd06f83caef508004ab.zip
abc8000-612b5cb1f23cb2118e7f0fd06f83caef508004ab.tar.gz
abc8000-612b5cb1f23cb2118e7f0fd06f83caef508004ab.tar.bz2
abc8000-612b5cb1f23cb2118e7f0fd06f83caef508004ab.tar.xz
sysrom: make the border in the test picture easier to see
Make it easier to spot off-by-one errors in the display unit
-rw-r--r--data/sysrom/sysstart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/sysrom/sysstart.c b/data/sysrom/sysstart.c
index 2897dcc..a2986f1 100644
--- a/data/sysrom/sysstart.c
+++ b/data/sysrom/sysstart.c
@@ -222,7 +222,7 @@ static void picture(void)
memset((void *)ptr, 0, 256000); /* Clear picture 1 */
for (i = 0; i < 120; i++) {
unsigned int ofs = i*2;
- unsigned int col = i+1;
+ unsigned int col = i+63;
aptr = &ptr[ofs*641];
bptr = &ptr[(479*640)-ofs*639];
memset((void *)aptr, col, 640-2*ofs);