mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
use DEFAULT_DEVICE definition for the default drive
git-svn-id: svn://svn.cc65.org/cc65/trunk@3330 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
0ce95ffe6a
commit
d27b06ecd2
@ -82,12 +82,15 @@ loop2: lda (ptr4),y
|
|||||||
|
|
||||||
inc tmp3 ; no, prepend "D:"
|
inc tmp3 ; no, prepend "D:"
|
||||||
inc tmp3 ; adjust stack size used
|
inc tmp3 ; adjust stack size used
|
||||||
ldy #2
|
ldy #3
|
||||||
jsr subysp ; adjust stack pointer
|
jsr subysp ; adjust stack pointer
|
||||||
ldy #1
|
ldy #2
|
||||||
lda #':'
|
lda #':'
|
||||||
sta (sp),y ; insert ':'
|
sta (sp),y ; insert ':'
|
||||||
dey
|
dey
|
||||||
|
lda #'0' + DEFAULT_DEVICE
|
||||||
|
sta (sp),y ; insert device number
|
||||||
|
dey
|
||||||
lda #'D'
|
lda #'D'
|
||||||
sta (sp),y ; insert 'D'
|
sta (sp),y ; insert 'D'
|
||||||
hasdev2:
|
hasdev2:
|
||||||
|
Loading…
Reference in New Issue
Block a user