blob: 8d5867087715140822fde49364b8047cc6c539c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/**
* FujiNet Tools for CLI
*
* Error output
*
* Author: Thomas Cherryhomes
* <thom.cherryhomes@gmail.com>
*
* Released under GPL, see COPYING
* for details
*/
#include <atari.h>
#include "conio.h"
const char error_138[]="FUJINET NOT RESPONDING\x9B";
const char error_139[]="FUJINET NAK\x9b";
const char error[]="SIO ERROR\x9b";
/**
* Show error
*/
void err_sio(void)
{
switch (OS.dcb.dstats)
{
case 138:
print(error_138);
break;
case 139:
print(error_139);
break;
default:
print(error);
break;
}
}
|