* Copyright (c) 1980 Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that this notice is preserved and that due credit is given
* to the University of California at Berkeley. The name of the University
* may not be used to endorse or promote products derived from this
* software without specific prior written permission. This software
* is provided ``as is'' without express or implied warranty.
static char sccsid
[] = "@(#)board.c 5.2 (Berkeley) %G%";
writel ("_____________________________________________________\n");
for (j
= 1; j
< 50; j
+= 4) {
k
= j
/4+(j
> 24? 12: 13);
for (i
= 0; i
< 5; i
++) {
for (j
= 1; j
< 50; j
+= 4) {
k
= j
/4+(j
> 24? 12: 13);
if (off
[1] > i
|| (off
[1] < 0 && off
[1]+15 > i
)) {
if (off
[1] > i
+5 || (off
[1] < 0 && off
[1]+15 > i
+5)) {
if (off
[1] > i
+10 || (off
[1] < 0 && off
[1]+15 > i
+10)) {
for (i
= 4; i
> -1; i
--) {
for (j
= 1; j
< 50; j
+= 4) {
k
= ((j
> 24? 53: 49)-j
)/4;
if (off
[0] > i
|| (off
[0] < 0 && off
[0]+15 > i
)) {
if (off
[0] > i
+5 || (off
[0] < 0 && off
[0]+15 > i
+5)) {
if (off
[0] > i
+10 || (off
[0] < 0 && off
[0]+15 > i
+10)) {
for (j
= 1; j
< 50; j
+= 4) {
k
= ((j
> 24? 53: 49)-j
)/4;
writel ("|_______________________|___|_______________________|\n");