fixed SETNAM storing pointer in wrong place
This commit is contained in:
1 parent
aa7e220575
commit
9ea1c04da3
2 files changed
+4
-2
No files matched your search
@@ -42,6 +42,8 @@
|
|||||||
|
|
||||||
.alias FNLEN $B7 ; current file name length
|
.alias FNLEN $B7 ; current file name length
|
||||||
|
|
||||||
|
.alias FNADDR $BB ; $BB-$BC, current file name pointer
|
||||||
|
|
||||||
.alias STAL $C1 ; $C1-$C2 LOAD/SAVE start address
|
.alias STAL $C1 ; $C1-$C2 LOAD/SAVE start address
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
|||||||
+2
-2
@@ -14,7 +14,7 @@ setnam:
|
|||||||
;; I hope this one won't cause similarity to CBM code
|
;; I hope this one won't cause similarity to CBM code
|
||||||
|
|
||||||
sta FNLEN
|
sta FNLEN
|
||||||
sty STAL + 1
|
sty FNADDR + 1
|
||||||
stx STAL + 0
|
stx FNADDR + 0
|
||||||
|
|
||||||
rts
|
rts
|
||||||
Reference in new issue
Block a user