* Copyright (c) 1980 Regents of the University of California.
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and other materials related to such
* distribution and use acknowledge that the software was developed
* by the University of California, 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'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
static char sccsid
[] = "@(#)board.c 5.3 (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");