move remaining stuff from testcode/lib/ one level up to testcode/
This commit is contained in:
19
testcode/atari/defdev.c
Normal file
19
testcode/atari/defdev.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
** testprogram printing the default device
|
||||
**
|
||||
** 26-Nov-2009, Christian Groessler
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <conio.h>
|
||||
#include <atari.h>
|
||||
#include <cc65.h>
|
||||
|
||||
extern char _defdev[];
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("default device: %s\n", _defdev);
|
||||
if (doesclrscrafterexit()) cgetc();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user