Skip to content

Commit 5b04dc3

Browse files
committed
func rename
1 parent ca41e45 commit 5b04dc3

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

pip.s

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ args:
5555
bne @l2
5656
rts
5757
@l2:
58-
jsr SETNAM2
58+
jsr SETNAMX
5959

6060
ldy #0
6161
@l31:
@@ -100,7 +100,7 @@ open_files:
100100
beq redirect ; no output
101101
ldx FNADR1
102102
ldy FNADR1+1
103-
jsr SETNAM2
103+
jsr SETNAMX
104104

105105
lda #pipfho
106106
tay
@@ -199,15 +199,16 @@ error:
199199
; -----------------------------------------------------------------------------
200200
; set filename and optional device number
201201

202-
SETNAM2:
202+
SETNAMX:
203203
jsr SETNAM
204204
ldy #1
205205
lda (FNADR),Y
206206
cmp #':'
207-
bne @sndone
207+
bne @done
208208
DEY
209209
lda (FNADR),y
210210
jsr SETDEV
211+
beq @done
211212
clc
212213
lda FNADR
213214
adc #2
@@ -217,7 +218,7 @@ SETNAM2:
217218
sta FNADR+1
218219
dec FNLEN
219220
dec FNLEN
220-
@sndone:
221+
@done:
221222
rts
222223

223224
; -----------------------------------------------------------------------------
@@ -234,6 +235,7 @@ SETDEV:
234235
bpl @sdx
235236
@sde:
236237
lda 0
238+
rts
237239
@sdx:
238240
sta FA
239241
rts

run64.d64

0 Bytes
Binary file not shown.

run64.d71

0 Bytes
Binary file not shown.

run64.d81

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)