File:  [XINU] / xinu / sys / lpstubs.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:39:43 2018 UTC (8 years, 2 months ago) by root
Branches: xinu, MAIN
CVS tags: xinu-19910600, HEAD
Xinu for 68000/68010

#ifdef ATT7300
#include <intvectors_7300.h>
#include <pi7300.h>
#endif
/* Since ATT7300 parallel interface has interrupts enabled all the time,
   we had better arm them or face system crash on Centronics-pin-10 signal */
lpinit()
{
#ifdef ATT7300
  extern int piint();

  PIVEC = piint;		/* save C scratch regs, then jsr's to lpoin */
#endif
}
lpopen()
{
}
lpclose()
{
}
lpwrite()
{
}
lpputc()
{
}
lpcntl()
{
}
lpoin()
{
#ifdef ATT7300
  *PI_DATA = 0;			/* ack the PI by writing to data reg */
#endif
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.