From da65866e24efd7698e7b5675ebc926b358bd7122 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Wed, 25 May 2016 00:51:40 +0200 Subject: [PATCH] Atari: add new function '_is_cmdline_dos()' and some other small changes. - 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 --- doc/atari.sgml | 1 + doc/funcref.sgml | 35 +++++++++++++++++++++++++++++++++ include/atari.h | 11 ++++++----- libsrc/atari/getdefdev.s | 7 +++---- libsrc/atari/sysrmdir.s | 5 +++-- libsrc/atari/targetutil/w2cas.c | 28 +++++++++++++++++--------- testcode/lib/atari/defdev.c | 2 +- testcode/lib/atari/mem.c | 3 +-- 8 files changed, 69 insertions(+), 23 deletions(-) diff --git a/doc/atari.sgml b/doc/atari.sgml index 2087a8541..f911d568e 100644 --- a/doc/atari.sgml +++ b/doc/atari.sgml @@ -275,6 +275,7 @@ See the for declaration and u _getcolor _getdefdev _graphics +_is_cmdline_dos _rest_vecs _save_vecs _scroll diff --git a/doc/funcref.sgml b/doc/funcref.sgml index a2ccf6c73..9bd4a3595 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -98,6 +98,7 @@ function. + @@ -939,6 +940,40 @@ id="malloc" name="malloc"> may still return +_is_cmdline_dos