mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Code optimization contributed by Kajtar Zsolt, soci@c64.rulez.org
git-svn-id: svn://svn.cc65.org/cc65/trunk@5356 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
5b659547b8
commit
4127923ad1
@ -144,13 +144,13 @@ drivedone:
|
|||||||
|
|
||||||
fncomplete:
|
fncomplete:
|
||||||
pha ; Save mode
|
pha ; Save mode
|
||||||
jsr fnaddcomma ; Add a comma
|
|
||||||
lda __filetype
|
lda __filetype
|
||||||
jsr fnadd ; Add the type
|
jsr fnaddmode ; Add the type
|
||||||
pla
|
pla
|
||||||
fnaddmode:
|
fnaddmode:
|
||||||
pha
|
pha
|
||||||
jsr fnaddcomma
|
lda #','
|
||||||
|
jsr fnadd
|
||||||
pla
|
pla
|
||||||
|
|
||||||
fnadd: ldx fnlen
|
fnadd: ldx fnlen
|
||||||
@ -158,10 +158,6 @@ fnadd: ldx fnlen
|
|||||||
sta fnbuf,x
|
sta fnbuf,x
|
||||||
rts
|
rts
|
||||||
|
|
||||||
fnaddcomma:
|
|
||||||
lda #','
|
|
||||||
bne fnadd
|
|
||||||
|
|
||||||
;--------------------------------------------------------------------------
|
;--------------------------------------------------------------------------
|
||||||
; Data
|
; Data
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user