]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/sysremove.s
Shorten a URL.
[cc65] / libsrc / atari / sysremove.s
index 1e7b4760f6e7b885842f70919327d39c18c10e0c..15bc19e1cb25a3073132ae894b079d72b4448812 100644 (file)
@@ -12,6 +12,9 @@
         .importzp tmp3
         .import addysp
         .import ucase_fn
+.ifdef  DEFAULT_DEVICE
+        .importzp tmp2
+.endif
 .endif
         .export __sysremove
 
@@ -37,6 +40,10 @@ iocbok: stx     tmp4            ; remember IOCB index
 
 .ifdef  UCASE_FILENAME
 
+.ifdef  DEFAULT_DEVICE
+        ldy     #$80
+        sty     tmp2            ; set flag for ucase_fn
+.endif
         jsr     ucase_fn
         bcc     ucok1