From 6876b97466aca2dc1fea0be4b76fd903480fe858 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Sun, 6 Mar 2016 21:11:18 +0100
Subject: [PATCH] Adjusted segment names to match recent cc65 change.
---
platform/apple2enh/lib/pfs.S | 2 +-
platform/c128/lib/pfs.S | 2 +-
platform/c64/lib/pfs.S | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/platform/apple2enh/lib/pfs.S b/platform/apple2enh/lib/pfs.S
index ed44dfc1e..5c2ac488c 100644
--- a/platform/apple2enh/lib/pfs.S
+++ b/platform/apple2enh/lib/pfs.S
@@ -66,7 +66,7 @@ read_count_out: .word $0000 ;TRANS_COUNT
close_param: .byte $01 ;PARAM_COUNT
close_fd: .byte $00 ;REF_NUM
;---------------------------------------------------------------------
- .segment "INIT"
+ .segment "ONCE"
init_pfs:
; Allow exec() to keep file open
diff --git a/platform/c128/lib/pfs.S b/platform/c128/lib/pfs.S
index acec45959..62a2a7840 100644
--- a/platform/c128/lib/pfs.S
+++ b/platform/c128/lib/pfs.S
@@ -72,7 +72,7 @@ pw: .byte $2C, $50, $2C, $57 ;,p,w
cmdc: .byte 0
flags: .res 10
;---------------------------------------------------------------------
- .segment "INIT"
+ .segment "ONCE"
init_pfs:
ldy #F_MAXLEN+8
diff --git a/platform/c64/lib/pfs.S b/platform/c64/lib/pfs.S
index 35e64f652..c63d08d2e 100644
--- a/platform/c64/lib/pfs.S
+++ b/platform/c64/lib/pfs.S
@@ -72,7 +72,7 @@ pw: .byte $2C, $50, $2C, $57 ;,p,w
cmdc: .byte 0
flags: .res 10
;---------------------------------------------------------------------
- .segment "INIT"
+ .segment "ONCE"
init_pfs:
ldy #F_MAXLEN+8