]> git.sur5r.net Git - cc65/commitdiff
Use 'return0' for default 'doesclrscrafterexit()' implementation in libsrc/common. 307/head
authorChristian Groessler <chris@groessler.org>
Tue, 7 Jun 2016 13:05:00 +0000 (15:05 +0200)
committerChristian Groessler <chris@groessler.org>
Tue, 7 Jun 2016 13:05:00 +0000 (15:05 +0200)
Fix include/atari.h formatting.

include/atari.h
libsrc/common/doesclrscr.s

index eedd814e07a9a74c5dd27b92297b7a65d3667b23..fa99fca20d719e1676d725349b73ed20437c3635 100644 (file)
@@ -161,12 +161,12 @@ extern void __fastcall__ _scroll (signed char numlines);
                                           /* numlines < 0  scrolls down */
 
 /* misc. functions */
-extern unsigned char get_ostype(void);            /* get ROM version */
-extern unsigned char get_tv(void);                /* get TV system */
-extern void _save_vecs(void);                     /* save system vectors */
-extern void _rest_vecs(void);                     /* restore system vectors */
-extern char *_getdefdev(void);                    /* get default floppy device */
-extern unsigned char _is_cmdline_dos(void);       /* does DOS support command lines */
+extern unsigned char get_ostype(void);       /* get ROM version */
+extern unsigned char get_tv(void);           /* get TV system */
+extern void _save_vecs(void);                /* save system vectors */
+extern void _rest_vecs(void);                /* restore system vectors */
+extern char *_getdefdev(void);               /* get default floppy device */
+extern unsigned char _is_cmdline_dos(void);  /* does DOS support command lines */
 
 /* global variables */
 extern unsigned char _dos_type;         /* the DOS flavour */
index 71f7ab70e798d52431fa6abff5afb606d0a1be38..49ce2fd12754ca9759796a94d8d1381c838e0103 100644 (file)
@@ -6,9 +6,7 @@
 ; returns 0/1 if after program termination the screen isn't/is cleared
 ;
 
-        .export  _doesclrscrafterexit
+        .export _doesclrscrafterexit
+        .import return0 
 
-_doesclrscrafterexit:
-        ldx     #$00
-        txa
-        rts
+_doesclrscrafterexit = return0