]> git.sur5r.net Git - cc65/blob - testcode/lib/atari/defdev.c
Atari: add new function '_is_cmdline_dos()' and some other small changes.
[cc65] / testcode / lib / atari / defdev.c
1 /*
2 ** testprogram printing the default device
3 **
4 ** 26-Nov-2009, Christian Groessler
5 */
6
7 #include <stdio.h>
8 #include <conio.h>
9 #include <atari.h>
10
11 extern char _defdev[];
12
13 int main(void)
14 {
15         printf("default device: %s\n", _defdev);
16         if (! _is_cmdline_dos()) cgetc();
17         return 0;
18 }