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>2011-11-10 05:00:12 (GMT)
commitf6bbbae3fab825ffff6ad8247b7fd5182914f73c (patch)
treec356ebb1f81636982704a97ecac9797e46c9b951
parent4d3427f5b017c59a0fcd209cb615c31f60d8bc1e (diff)
downloadabc8000-old-f6bbbae3fab825ffff6ad8247b7fd5182914f73c.zip
abc8000-old-f6bbbae3fab825ffff6ad8247b7fd5182914f73c.tar.gz
abc8000-old-f6bbbae3fab825ffff6ad8247b7fd5182914f73c.tar.bz2
abc8000-old-f6bbbae3fab825ffff6ad8247b7fd5182914f73c.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 6ff0f9f..9ba9c58 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);