mirror of
https://github.com/cc65/cc65.git
synced 2024-10-31 04:04:49 +00:00
19 lines
305 B
C
19 lines
305 B
C
|
/*
|
||
|
* 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;
|
||
|
}
|