2 ; Christian Groessler, June-2016
4 ; unsigned char doesclrscr(void);
6 ; returns 0/1 if after program termination the screen isn't/is cleared
9 .export _doesclrscrafterexit
10 .import __is_cmdline_dos
14 _doesclrscrafterexit = return1 ; the c65 runtime always clears the screen at program termination
17 jsr __is_cmdline_dos ; currently (unless a DOS behaving differently is popping up)
18 eor #$01 ; we can get by with the inverse of __is_cmdline_dos