]> git.sur5r.net Git - cc65/blob - libsrc/cbm510/doesclrscr.s
libsrc/atari/getdefdev.s: small optimization and fix a typo
[cc65] / libsrc / cbm510 / doesclrscr.s
1 ;
2 ; 2016-06, Christian Groessler
3 ; 2017-07-05, Greg King
4 ;
5 ; unsigned char doesclrscrafterexit (void);
6 ;
7 ; Returns 0/1 if, after program termination, the screen isn't/is cleared.
8 ;
9
10         .import         return1
11
12 ; cc65's CBM510 programs switch to a display screen in the program RAM bank;
13 ; then, they switch back to the system bank when they exit.
14 ; The screen is cleared.
15
16         .export         _doesclrscrafterexit := return1