1
0
mirror of https://github.com/cc65/cc65.git synced 2024-08-19 17:29:37 +00:00
cc65/testcode/lib/atari/defdev.c
Christian Groessler c7874b9f60 Add Atari version of of doesclrscrafterexit().
- Update documentation.
- Update atari.h and apple2.h header files.
- Adapt Atari test/target programs.
- Fix a typo in "div" entry in funcref.sgml.
2016-06-07 00:42:51 +02:00

19 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;
}