From 6542cd2ced8307460520d45777122fe130765c0c Mon Sep 17 00:00:00 2001
From: "ol.sc"
Date: Tue, 7 Feb 2012 16:14:23 +0000
Subject: [PATCH] "Apple disk names are null-terminated strings of 16
characters or less (counting the null-terminator)."
git-svn-id: svn://svn.cc65.org/cc65/trunk@5487 b7a2c559-68d2-44c3-8de9-860c34a00d81
---
libsrc/geos-cbm/devel/mainargs.s | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libsrc/geos-cbm/devel/mainargs.s b/libsrc/geos-cbm/devel/mainargs.s
index 5474dc589..6f27a4e93 100644
--- a/libsrc/geos-cbm/devel/mainargs.s
+++ b/libsrc/geos-cbm/devel/mainargs.s
@@ -37,7 +37,11 @@
ldy #0
@fn_loop:
lda dirEntryBuf+OFF_FNAME,y
+.ifdef __GEOS_CBM__
cmp #$a0
+.else
+ cmp #0
+.endif
beq @fn_end
sta argv0,y
iny
--
2.39.5