mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 17:30:50 +00:00
writefndiskcmd gets its arguments in ptr1 and Y.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3945 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
3c168b4323
commit
89951068dd
@ -11,6 +11,7 @@
|
|||||||
.import popax
|
.import popax
|
||||||
|
|
||||||
.import fncmd, fnunit
|
.import fncmd, fnunit
|
||||||
|
.importzp ptr1
|
||||||
|
|
||||||
|
|
||||||
;--------------------------------------------------------------------------
|
;--------------------------------------------------------------------------
|
||||||
@ -25,6 +26,9 @@
|
|||||||
jsr fnadd
|
jsr fnadd
|
||||||
|
|
||||||
jsr popax
|
jsr popax
|
||||||
|
sta ptr1
|
||||||
|
stx ptr1+1
|
||||||
|
ldy #0
|
||||||
jsr fnparsename ; Parse second filename
|
jsr fnparsename ; Parse second filename
|
||||||
bne done
|
bne done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user