ASM Support
Hey BZT,
First off... holy shit amazing project (puts all other fantasy systems to shame).
I noticed in the documentation ASM is mentioned as being supported:
https://bztsrc.gitlab.io/meg4/manual_en.html#ex_asm
Looking at cpu.c
I can see that meg4.src
is checked for #!asm
and meg4.code_type
is set to 15
.
However, in comp.c the line if(meg4.code_type > 1) code_error(2, lang[ERR_UNKLNG]); return 0;
prevents ASM being compiled. That is code_type > 1
is true being set to 15
.
Any thoughts on this? On purpose or bug?
Regards,
Relector Tuxnix
Edited by Relector Tuxnix