/* * Copyright (C) 1993, 1994 by * Digital Equipment Corporation, Maynard, Massachusetts. * All rights reserved. * * This software is furnished under a license and may be used and copied * only in accordance of the terms of such license and with the * inclusion of the above copyright notice. This software or any other * copies thereof may not be provided or otherwise made available to any * other person. No title to and ownership of the software is hereby * transferred. * * The information in this software is subject to change without notice * and should not be construed as a commitment by Digital Equipment * Corporation. * * Digital assumes no responsibility for the use or reliability of its * software on equipment which is not supplied by Digital. * */ /*$Id$*/ #include "nwtypes.h" #include "alpha-uart.h" /*#include "alphansi.h"*/ #include "alpha-patch.h" #include ULONG com_interrupt() { if (inVti(com1Lsr) & 1) return COM1 | inVti (com1Rbr); return 0; } void putcLpt(int c) { int i, s; while(!((s = inVti(lptSr)) & 0x80)) ; for(i=0;i