This project looks very interesting. Having an oldy computer behaving as a TI calculator !!
http://eigenmath.cvs.sourceforge.net/vi ... /?view=tar
But I did not manage to compile it. Neither for Spectrum nor VG5000
Can anyone help me to compile?
Compiling Eigenmaths
I'm always a little worried about size and ram requirements when trying to compile a 32-bit program but you never know until you try it.joaopa wrote:Can anyone help me to compile?
zcc doesn't like the .cpp extension so you'll gave to change that to .c. I didn't notice any obvious c++ in there until I tried to translate "symbol.cpp" aka "symbol.c" to assembly. Two functions declared in "prototypes.h" were found to be overloaded:
void decomp(void);
void decomp(int n);
and
void divpoly(void);
void divpoly(int n);
You'll have to disambiguate those by changing their names and then going through all the source to change to the correct function call. You might want to consider changing all the function names to have a scope preamble in their names to identify which source file they belong to but maybe that's not necessary for a quick attempt.
To translate to assembler:
Code: Select all
zcc +zx -vn -O3 -a symbol.c
zcc +zx -vn -SO3 -clib=sdcc_iy --max-allocs-per-node200000 symbol.c
Of course the "-a" flag is required for stopping after C translation for both compile lines:
Code: Select all
zcc +zx -vn -a -O3 symbol.c
zcc +zx -vn -a -SO3 -clib=sdcc_iy --max-allocs-per-node200000 symbol.c
Re: Compiling Eigenmaths
just looking around for the ZX calculator INFO
the above link is not working anymore
i found this as eigenmath home
https://georgeweigt.github.io/
the above link is not working anymore
i found this as eigenmath home
https://georgeweigt.github.io/