Page 1 of 1

Windows 10 installation problem

Posted: Sat Mar 11, 2023 12:06 pm
by Jdra
Hi

I do effort to install z88dk on Windows 10 using instructions from:

https://github.com/z88dk/z88dk/wiki/installation

After unzipping the nightly build into the destination directory, adding "/bin" to PATH and "/lib/config" to ZCCCFG env variable created,
while I try to compile a "test.c" with "zcc +cpc test.c -create-app", I get: “The system cannot find the path specified".

Thanks for any suggestions!

Re: Windows 10 installation problem

Posted: Sat Mar 11, 2023 2:48 pm
by stefano
This quick workaround will probably work, try putting it in c:\z88dk and don't mind configuring env variables

Re: Windows 10 installation problem

Posted: Sat Mar 11, 2023 4:46 pm
by WORP3
Jdra wrote: Sat Mar 11, 2023 12:06 pm After unzipping the nightly build into the destination directory, adding "/bin" to PATH and "/lib/config" to ZCCCFG env variable created,
Hopefully you are using \bin and \lib\config as windows is working with backlashes instead of forwards slash. Also having special characters inside your directory name can give problems.

Re: Windows 10 installation problem

Posted: Sun Mar 12, 2023 5:57 pm
by Timmy
Please note there are currently several new and exciting features for the CPC platform being tested (well, I'll try to do some testing when the there aren't too many changes in a day.) But in the meantime, beware that for the CPC platform, libraries and usage can change quickly.

Re: Windows 10 installation problem

Posted: Thu Mar 16, 2023 8:50 am
by stefano
Regarding the past features, I think I should remind that when I merged the cpcsrlib, I left a nice features behind.
It's related to code optimised on the chosen video mode.
I can dig the missing part out of you are interested.. but I wasn't able to find a nice way to do the job.

Re: Windows 10 installation problem

Posted: Thu Mar 16, 2023 12:22 pm
by Timmy
A few months ago I looked into the missing cpcsrlib functions... I missed a lot of them when I compared to their original release.

At the moment I could just copy and paste them on my side as inline functions, but I don't see a lot of useful features right now. (I mean, perhaps some time later in the future.) And for now my gut feeling is that a lot of them feels like code bloat and makes them even less appealing to use them in game. (I might change my mind later. I need more resaerch into it, but I'm already doing too much for my current health conditions.)

Reading a bit into CPC forums I understand they also now have found new special modes like 256x256 and modes with different amount of colours, even if I don't see any code there. But those are not in cpcrslib anyway so no need to add those.

Another thing is that it's just a lot of work to check what is availablae because many of the modes also requires me to design some sprites first before checking and creating sprites for all the modes requires me to draw a lot of new things in many colours. (Which is not going to happen soon.) For now I'd rather look at some simple modes that we can support, and list them along with the current supported functions (and mostly, which functions in cpcrslib we don't support yet. Because there's simply too many stuff in there to support properly.)

And in the meantime I'm also looking at the new Ringo-8 engine for the spectrum (and I might have to look at that first.) I just feel overwhelmed right now.