From 634db88fe0e8bd72371cf752eea033a438aa5f31 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Thu, 29 Oct 2015 22:25:48 +0100 Subject: [PATCH] Adjusted cc65 constructor to recent cc65 change. With https://github.com/cc65/cc65/commit/0ee9b2e446198746c3a05b142ecd00784becf727 cc65 constructor may not use the BSS anymore. --- platform/c128/lib/pfs.S | 7 ++----- platform/c64/lib/pfs.S | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/platform/c128/lib/pfs.S b/platform/c128/lib/pfs.S index a2edb1cfd..acec45959 100644 --- a/platform/c128/lib/pfs.S +++ b/platform/c128/lib/pfs.S @@ -64,16 +64,13 @@ SETNAM = $FFBD CLALL = $FFE7 WRITE = $DEF1 READ = $DEF4 -;--------------------------------------------------------------------- - .bss - -cmdc: .res 1 -flags: .res 10 ;--------------------------------------------------------------------- .data illchr: .byte $3A, $2A, $3F, $3D ;illegal chars pw: .byte $2C, $50, $2C, $57 ;,p,w +cmdc: .byte 0 +flags: .res 10 ;--------------------------------------------------------------------- .segment "INIT" diff --git a/platform/c64/lib/pfs.S b/platform/c64/lib/pfs.S index 02f9744ec..35e64f652 100644 --- a/platform/c64/lib/pfs.S +++ b/platform/c64/lib/pfs.S @@ -64,16 +64,13 @@ SETNAM = $FFBD CLALL = $FFE7 WRITE = $DEF1 READ = $DEF4 -;--------------------------------------------------------------------- - .bss - -cmdc: .res 1 -flags: .res 10 ;--------------------------------------------------------------------- .data illchr: .byte $3A, $2A, $3F, $3D ;illegal chars pw: .byte $2C, $50, $2C, $57 ;,p,w +cmdc: .byte 0 +flags: .res 10 ;--------------------------------------------------------------------- .segment "INIT"