From: cpg Date: Thu, 26 Nov 2009 18:19:35 +0000 (+0000) Subject: initial check-in X-Git-Tag: V2.13.1~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=38a061e43948e59c9477e3d5470bc194c67aa5ee;p=cc65 initial check-in git-svn-id: svn://svn.cc65.org/cc65/trunk@4493 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/testcode/lib/atari/defdev.c b/testcode/lib/atari/defdev.c new file mode 100644 index 000000000..717eaa4f3 --- /dev/null +++ b/testcode/lib/atari/defdev.c @@ -0,0 +1,18 @@ +/* + * testprogram printing the default device + * + * 26-Nov-2009, Christian Groessler + */ + +#include +#include +#include + +extern char _defdev[]; + +int main(void) +{ + printf("default device: %s\n", _defdev); + if (_dos_type != SPARTADOS && _dos_type != OSADOS) cgetc(); + return 0; +}