c7874b9f60
- Update documentation. - Update atari.h and apple2.h header files. - Adapt Atari test/target programs. - Fix a typo in "div" entry in funcref.sgml.
18 lines
301 B
C
18 lines
301 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 (doesclrscrafterexit()) cgetc();
|
|
return 0;
|
|
}
|