vhelin / wla-dx

WLA DX - Yet Another GB-Z80/Z80/Z80N/6502/65C02/65CE02/65816/68000/6800/6801/6809/8008/8080/HUC6280/SPC-700/SuperFX Multi Platform Cross Assembler Package
Other
548 stars 98 forks source link

Z80 assembly does not work #237

Closed maxim-zhao closed 5 years ago

maxim-zhao commented 5 years ago

Any attempt to assemble anything I've written fails on the first opcode seen :( e.g. code at https://github.com/maxim-zhao/mappy-gg-translation

mappy-gg-translation.gg.asm:62: ERROR: Unknown symbol "call".

This is on latest master.

vhelin commented 5 years ago

I just downloaded the latest master from GitHub, and all seems to work also on the z80 side. At least the included tests run through without errors...

maxim-zhao commented 5 years ago

It may well be me at fault :) I built my fork after rebasing on latest, which has no code changes, but maybe it needs a clean. I'll check later when I get access to power.

maxim-zhao commented 5 years ago

Hmm... building Release-x64 in VS2017 gets me non-working programs via ninja. Building at the commandline with

cmake .
cmake . --build --config Release

...gets me something that works, via msbuild. I think incomprehensible CMake is at fault here, or perhaps just PEBKAC on my end.

vhelin commented 5 years ago

I have no idea what you just said, but I'll trust you. 👍