mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +00:00
initial check-in
git-svn-id: svn://svn.cc65.org/cc65/trunk@4493 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
20e9cf6d85
commit
38a061e439
18
testcode/lib/atari/defdev.c
Normal file
18
testcode/lib/atari/defdev.c
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* testprogram printing the default device
|
||||
*
|
||||
* 26-Nov-2009, Christian Groessler
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <conio.h>
|
||||
#include <atari.h>
|
||||
|
||||
extern char _defdev[];
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("default device: %s\n", _defdev);
|
||||
if (_dos_type != SPARTADOS && _dos_type != OSADOS) cgetc();
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user