mirror of
https://github.com/cc65/cc65.git
synced 2024-10-27 08:28:58 +00:00
da65866e24
- use this function instead of directly looking at _dos_type in the included targetutil and test programs - fixes/improvements to the Atari runtime library regarding the recently changed _dos_type values - libsrc/atari/targetutil/w2cas.c: exit if no filename was entered - add documentation for the new function
19 lines
299 B
C
19 lines
299 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 (! _is_cmdline_dos()) cgetc();
|
|
return 0;
|
|
}
|