Files
Digital-Research-Source-Code/CPM OPERATING SYSTEMS/CPM 86/CONCURRENT/CCPM-86 3.1 SOURCE/D6/CPMERR.C
Sepp J Morris 31738079c4 Upload
Digital Research
2020-11-06 18:50:37 +01:00

28 lines
896 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*----------------------------------------------------------------------*\
| NAME : cpmerr |
| CREATED : 10-August-83 LAST MODIFIED: 12-September-83 |
| FUNCTION: Cpmerr prints CP/M error messages, specifically |
| BDOS error messages. |
| INPUT : term_msg -- ptr to an error message to print. |
| err_mode -- return or exit after printing. |
| OUTPUT : No return value. |
\*----------------------------------------------------------------------*/
#include <portab.h>
#include "utildef.h"
#include "cpmfunc.h"
/* THIS REFERENCE IS IN CPMFUNC.H
EXTERN VOID c_writestr();
*/
VOID cpmerr( term_msg,err_mode )
BYTE *term_msg; /* termination message */
WORD err_mode; /* exit/return mode */
{
c_writestr( term_msg );
if( err_mode < 0 )
p_termcpm();
}