angros47 wrote:Anyway, your program could not work without changes, with the current form of the compiler: if contains some INPUT commands, so it would need the ASYNC mode to work (and would work only in graphic mode, not in text more, and as you can clearly see it doesn't contain any SCREEN instruction)
Of course, I compiled, having previously written the command in the code Screen
Also, in graphic mode as far as I know there is no Cyrillic font.
This is not a problem, there is a library that replaces symbols (ALBOM_FONT). As a last resort, you can use draw string with your own font.
Last but not least: I have always been pro retro-compatibility, but... come on: do you seriously expect to compile a software for ZX Spectrum without changes? Or you experimented with it because you just wanted to push the compiler to its limits?
Exactly!!! I always try to find the limits of possibilities when testing. After all, in work situations, it never happens that everything goes smoothly. So far I have made at least three conclusions when working with fbc-emscripten:
1) You can forget about outdated modes. Use only "FB" mode
2) You can forget about ASM inserts
3) The code should be written as simple as possible in a procedural style (without any classes, inheritance, polymorphism, etc.)
For the future, I want to check how the sound works (it seems like emscripten supports OpenAL). I haven't figured it out yet, but it's in the plans.