Open nikitalita opened 3 months ago
Yeah, sorry, I've got the same problem when I've updated my own copy of llvm-mos 😅
I'll need to deal with that when I get back to developing this (also I should probably add some proper licensing here, didn't expect someone else to actually try to compile it 😅)
what version was it originally compiled with?
It doesn't work on this one:
clang version 19.0.0git (https://github.com/llvm-mos/llvm-mos 4b79609ccfd41a2ceb0f9306dd6500b4d22a0b70)
... but it does on this one
clang version 18.0.0 (https://github.com/llvm-mos/llvm-mos bc9be3b91539473a3fc566a58b6a8236793b7dfc)
the "a" register issue I was already aware, I guess I just haven't pushed the fix yet bc the other is more pressing - some banks were already almost full before the update, and I think something changed which bank some code would end up to. I'd need to juggle stuff around for a bit to fix it.
btw, @nikitalita, can I ask why are you trying to compile this code as-is ? If you plan to use it as a skeleton for a different game you will probably fix the other error just by removing the old stuff :)
just curious to see how llvm-mos worked with a C++ code base, not planning on making any games
@nikitalita in that case you may want to try this other project - https://github.com/jroweboy/evolve-machine-game/ - it probably doesn't have these issues I'm having here
The game refuses to compile with LLVM-MOS v15.2:
It LOOKED LIKE that the particular inline asm it was calling was equivalent to a
lda
, so I just removed the last: "a"
part of from the asm, but now I'm getting this: