Comments (11)
xl c128_40col_zsdcc
It all seems to work properly now. Thank you so much for everything!
from cross-lib.
Hi!
First of all thanks for reporting this issue and using Cross-Lib.
The error clearly comes from the Z88DK compiler/dev-kit.
Which exact version under which exact operating systems are you using?
Did you build Z88DK from source? From the very last source code? Or did you use a snapshot or package? Which one?
from cross-lib.
Hi,
I am using a self-compiled version of the z88dk compiler directly from git:
ron@x570:~/source/z88dk$ git log -1
commit e9cc6e3930c1c0cbaedff874c625bce44e04e88a (HEAD -> master)
Author: Paulo Custodio <[email protected]>
Date: Tue Jan 9 09:39:43 2024 +0000
Issue #2474: cleanup build_ldflags$$.exe
ron@x570:~/source/z88dk/bin$ zcc --version
A config file must be specified with +file as the first argument
zcc - Frontend for the z88dk Cross-C Compiler - v16001-8b55fd9-20200203
This issue happens on my amd64 based Linux workstation (Debian 12 Bookworm).
I don't wish to waste your time if it's related to z88dk and not Cross-Lib specifically. Still not sure how to resolve other than pull a fresh copy of z88dk from git, build and trying again.
Thanks again for your help!
-Ron
from cross-lib.
No time wasted. I try to chase Z88DK changes. I will have to compile the latest version and see if I can reproduce the problem. It is easily fixable because they probably changed the way the generic console is set in the command line.
from cross-lib.
So, there is indeed an issue but it is not the one you are reporting.
../tools/generic/c1541 -format "crosschase,0" d64 FULL_c128_z80_40col.d64
/bin/sh: 1: ../tools/generic/c1541: not found
make: *** [Makefile_common:853: c128_z80_40col] Error 127
A work around is to replace c1541.exe in tools/generic
with c1541 built for your architecture (e.g., the one that comes with the Vice emulator).
I might consider automatically building it from source but it is a bit cumbersome because it has too many dependencies.
Or I could include a prebuilt version for the most common Linux architectures (i.e., at least Intel/AMD 64-bit).
from cross-lib.
On the other hand, your issue seems to be related to Z88DK.
I have taken the very latest nightly build for Z88DK and -clib=gencon
is recognized without any issue.
from cross-lib.
So, there is indeed an issue but it is not the one you are reporting.
../tools/generic/c1541 -format "crosschase,0" d64 FULL_c128_z80_40col.d64 /bin/sh: 1: ../tools/generic/c1541: not found make: *** [Makefile_common:853: c128_z80_40col] Error 127
A work around is to replace c1541.exe in
tools/generic
with c1541 built for your architecture (e.g., the one that comes with the Vice emulator).I might consider automatically building it from source but it is a bit cumbersome because it has too many dependencies.
Or I could include a prebuilt version for the most common Linux architectures (i.e., at least Intel/AMD 64-bit).
I did notice this and added a quick work around for it (as well as another work-around for a minor case sensitivity issue:
f [ -f $HOME/source/vice/trunk/vice/src/c1541 ]; then
ln -s $HOME/source/vice/trunk/vice/src/c1541 $HOME/source/CROSS-LIB/tools/generic/c1541
else
echo
echo Warning! Missing c1541 binary needed for C64 and C128.
echo
fi
# fix issue with Makefile.common
sed -i "s/A40.ldr/A40.LDR/" $HOME/source/CROSS-LIB/src/Makefile_common
sed -i "s/A80.ldr/A80.LDR/" $HOME/source/CROSS-LIB/src/Makefile_common
from cross-lib.
On the other hand, your issue seems to be related to Z88DK.
I have taken the very latest nightly build for Z88DK and
-clib=gencon
is recognized without any issue.
I just pulled and built z88dk from it's repo. The original error I reported is now gone for me as well. Thank you! :)
from cross-lib.
I am working on a fix for the c1541. I will tell you when you can pull my fix with git pull
. My current fix requires to have vice
installed so that c1541 is in your PATH
.
from cross-lib.
I have improved/fixed the issue with c1541
under Unix.
Could you please run git pull
to update Cross-Lib.
Then you need to install the vice
emulator and make sure that your terminal finds c1541
.
After these steps you should be able to run:
xl <game> c128
(for a 40 col version)
or
xl <game> c128_40col_zsdcc
(for a slightly faster running 40 col version built with a slower and experimental compiler)
or
xl <game> c128_80col
(for super slow 80 column VDC graphics)
P.S.: The C128 versions are currently built for the Zilog 80 CPU, which runs at effective 2mhz (4mhz but every second cycle is lost and this means that it is very slow).
from cross-lib.
It is a pleasure to support the people that find my project fun.
Feel free to open more tickets with questions and or reports on issues.
from cross-lib.
Related Issues (20)
- xl - build issue under ubuntu 20.04.3 HOT 3
- make: *** No rule to make target 'examples/color/generated_assets/cmoc_udc_25_tiles_and_fonts.s', needed by 'coco'. Stop. HOT 11
- [new feature] chase coco has no color output HOT 3
- ld65: Warning: cross_lib/cfg//cc65/vic20-8k_GFX.cfg(17): Segment 'CODE' overflows memory area 'RAMEXP' by 3 bytes HOT 6
- MO5/TO7 makefile error "cmoc_udc_25_tiles" HOT 2
- MO5/TO7 f2k5.exe is not running on Cygwin HOT 6
- Cygwin Perl last version have no "perl.exe" HOT 1
- "./xl build chase zx81" errors HOT 11
- [new feature] Build tools automatically from C source for both Cygwin/Windows and Unix flavors (Linux, FreeBSD)
- Xsnake_coleco.rom Not Working HOT 9
- [z88dk-zsdcc] - testing v4.3.0 HOT 4
- No known emulator HOT 2
- How to build for the Sega SG 1000? HOT 4
- corrections/clarifications in documentation HOT 7
- Loaded question: output to emulators, webassembly + canvas? HOT 6
- Please add SDCC support HOT 3
- Case issue with src/Makefile.common when building c128 targets in Linux HOT 3
- xl script missing
- Linker error when compiling for 'mc10' target HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cross-lib.