From bbc31f67da71559f06348291333e36961d9eb838 Mon Sep 17 00:00:00 2001 From: Christian Groessler Date: Wed, 24 Jul 2013 00:40:09 +0200 Subject: [PATCH] implement _sysrename for Atari --- libsrc/atari/open.s | 5 +- libsrc/atari/syschdir.s | 7 ++ libsrc/atari/sysmkdir.s | 7 ++ libsrc/atari/sysremove.s | 7 ++ libsrc/atari/sysrename.s | 184 +++++++++++++++++++++++++++++++++++++++ libsrc/atari/sysrmdir.s | 13 ++- libsrc/atari/ucase_fn.s | 18 ++-- 7 files changed, 231 insertions(+), 10 deletions(-) create mode 100644 libsrc/atari/sysrename.s diff --git a/libsrc/atari/open.s b/libsrc/atari/open.s index 306cf52c2..2188257cb 100644 --- a/libsrc/atari/open.s +++ b/libsrc/atari/open.s @@ -91,7 +91,10 @@ cont: ldy #3 jsr ldaxysp .ifdef UCASE_FILENAME - +.ifdef DEFAULT_DEVICE + ldy #$80 + sty tmp2 ; set flag for ucase_fn +.endif jsr ucase_fn bcc ucok1 invret: lda #