From: cpg Date: Thu, 16 Dec 2004 22:19:46 +0000 (+0000) Subject: use DEFAULT_DEVICE definition for the default drive X-Git-Tag: V2.12.0~506 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d27b06ecd26cd0874eb7a39a31e756335144982e;p=cc65 use DEFAULT_DEVICE definition for the default drive git-svn-id: svn://svn.cc65.org/cc65/trunk@3330 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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: