Digital Research
This commit is contained in:
2020-11-06 18:50:37 +01:00
parent 621ed8ccaf
commit 31738079c4
8481 changed files with 1888323 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
/***************************************************************************
*
* _ l s t o u t F u n c t i o n
* -------------------------------
*
* Function "_lstout" is called to perform "write" operations to the
* list device.
*
* Calling Sequence:
* ret = _lstout(buffer,count,func);
*
* Where:
* buffer -> the output buffer (byte 0 is count)
* ret = count on return
*
****************************************************************************/
#include "portab.h"
#include "osif.h"
WORD _lstout(buffer) /***************************/
REG BYTE *buffer; /* -> 1st char output */
{ /***************************/
REG WORD count; /* = # bytes to xfer */
WORD xcount; /* save area for count */
/* */
xcount = count = (0xFF & *buffer++); /* Copy for later */
/* */
while(count-- > 0) /* Until all written */
__OSIF(LSTOUT,*buffer++); /* Output next character */
return(xcount); /* return original count */
} /***************************/