From: Christian Groessler Date: Mon, 6 Jun 2016 22:42:51 +0000 (+0200) Subject: Add Atari version of of doesclrscrafterexit(). X-Git-Tag: V2.16~112^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c7874b9f60cebee3f6ce237cebf2aa8ecfad0f36;p=cc65 Add Atari version of of doesclrscrafterexit(). - Update documentation. - Update atari.h and apple2.h header files. - Adapt Atari test/target programs. - Fix a typo in "div" entry in funcref.sgml. --- diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 9bd4a3595..5b529b822 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -949,27 +949,7 @@ id="malloc" name="malloc"> may still return -Many Atari DOSes which don't support command line arguments immediately clear the screen -and display their menu after a program exits. Therefore it might be difficult to read -the last messages printed by the program prior to its exit. This function can be used -to decide if a delay or wait for a key press should be executed when then program -exits. - -/* Hello World for Atari */ -#include -#include -#include -int main(void) -{ - printf("Hello World\n"); - if (! _is_cmdline_dos()) - sleep(5); - return 0; -} - @@ -2572,8 +2552,8 @@ used in presence of a prototype. / - The function is only available as fastcall function, so it may only @@ -2587,6 +2567,40 @@ ldiv +doesclrscrafterexit