From d27b06ecd26cd0874eb7a39a31e756335144982e Mon Sep 17 00:00:00 2001 From: cpg Date: Thu, 16 Dec 2004 22:19:46 +0000 Subject: [PATCH] use DEFAULT_DEVICE definition for the default drive git-svn-id: svn://svn.cc65.org/cc65/trunk@3330 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/ucase_fn.s | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libsrc/atari/ucase_fn.s b/libsrc/atari/ucase_fn.s index c52de8ef7..2d609bb5c 100644 --- a/libsrc/atari/ucase_fn.s +++ b/libsrc/atari/ucase_fn.s @@ -82,12 +82,15 @@ loop2: lda (ptr4),y inc tmp3 ; no, prepend "D:" inc tmp3 ; adjust stack size used - ldy #2 + ldy #3 jsr subysp ; adjust stack pointer - ldy #1 + ldy #2 lda #':' sta (sp),y ; insert ':' dey + lda #'0' + DEFAULT_DEVICE + sta (sp),y ; insert device number + dey lda #'D' sta (sp),y ; insert 'D' hasdev2: -- 2.39.5