Page 1 of 1

v1.99B Windows XP

Posted: Sat Apr 21, 2018 7:34 pm
by jonesypeter
Hello,

I'm trying to get v1.99B running on a Virtual Machine Client Windows XP SP3.

I have sorted out all the paths, but when I type 'zsdcc -v' I get a popup window which says:

c:\z88dk\bin\zsdcc.exe is not a valid win32 application

What am I doing wrong?

Thanks

Posted: Sun Apr 22, 2018 4:53 pm
by alvin
Use the current version instead. 1.99B is more than a thousand commits behind and some things have changed a lot.

A binary package can be downloaded from http://nightly.z88dk.org/.

Just unzip where you want it and set ZCCCFG and the PATH as mentioned here:
https://www.z88dk.org/wiki/doku.php?id= ... nt#windows


I am not sure why it would claim zsdcc is not a valid win32 application. The new build above will contain a more recent binary you can try. I'll try downloading the 199B package again to check.

Posted: Sun Apr 22, 2018 5:05 pm
by alvin
It seems to be fine:

Code: Select all

C:\>dumpbin /headers psdcc.exe

Microsoft (R) COFF/PE Dumper Version 14.00.24215.1
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file zsdcc.exe

PE signature found

File Type: EXECUTABLE IMAGE

FILE HEADER VALUES
             14C machine (x86)
               6 number of sections
        58693B08 time date stamp Sun Jan  1 10:23:20 2017
               0 file pointer to symbol table
               0 number of symbols
              E0 size of optional header
             103 characteristics
                   Relocations stripped
                   Executable
                   32 bit word machine

Posted: Sun Apr 22, 2018 6:52 pm
by jonesypeter
Hi Alvin,

Thanks for the reply. I downloaded the nightly build and this works fine thank you. It was only the stable version. I tried three times. Anyway, problem solved so thank you!

Not sure if you are aware of it, but there is a rather nice Z88DK tutorial on GitHub. The author posted on my spectrumcomputing.co.uk website:

https://github.com/z88dk/z88dk/blob/mas ... edGuide.md

Best wishes

Peter

Posted: Sun Apr 22, 2018 10:25 pm
by alvin
jonesypeter wrote:I downloaded the nightly build and this works fine thank you. It was only the stable version. I tried three times. Anyway, problem solved so thank you!
I'm glad you got it to work. I'm thinking it might be something to do with XP. For a time we were compiling with Visual Studio targetting win vista and above and that was changed to xp and above some months ago.
Not sure if you are aware of it, but there is a rather nice Z88DK tutorial on GitHub. The author posted on my spectrumcomputing.co.uk website:
https://github.com/z88dk/z88dk/blob/mas ... edGuide.md
Indeed yes. I am the one committing them :)

The tutorial is inside z88dk's codebase which is on github:
https://github.com/z88dk/z88dk