I very much enjoy your projectand the vintage world of MZ-800. It was my very first computer.
Now the problem and its possible solution.
I run both the precompiled 64-bit linux version and my own compiled linux version 1.0.5.
In all cases, The SDL windows soon gets bricked. Output is not shown or only partly shown. One can temporarily solve this by resize the window with the mouse. However, repeating this for every output is very annoying. Furthermore,I had to start with locked_window_aspect_ratio = 1 set in the *.ini file.
Iinvestigated the source and found a cure for this:
in file iface_sdl.c I added the following line of code at the end (i.e. after the last statements) of function iface_sdl_pool_all_events().
// force window event in order to sanitize display
g_iface_sdl.redraw_full_screen_request = 1;
This screen refresh seems to work now. Please have a kind lookand check, thank you!
Hi,
I think so I know this bug - it is caused inside by SDL in Linux (or somewhere deeper).
In this case, there already is no need to modify the source code of the emulator - we have solution in the main menu in the section "Display".
Display -> Forced full screen redraving enabled [checkbox]
Let me know if it helped you...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi chakry, all,
I very much enjoy your projectand the vintage world of MZ-800. It was my very first computer.
Now the problem and its possible solution.
I run both the precompiled 64-bit linux version and my own compiled linux version 1.0.5.
In all cases, The SDL windows soon gets bricked. Output is not shown or only partly shown. One can temporarily solve this by resize the window with the mouse. However, repeating this for every output is very annoying. Furthermore,I had to start with locked_window_aspect_ratio = 1 set in the *.ini file.
Iinvestigated the source and found a cure for this:
in file iface_sdl.c I added the following line of code at the end (i.e. after the last statements) of function iface_sdl_pool_all_events().
// force window event in order to sanitize display
g_iface_sdl.redraw_full_screen_request = 1;
This screen refresh seems to work now. Please have a kind lookand check, thank you!
Hi,
I think so I know this bug - it is caused inside by SDL in Linux (or somewhere deeper).
In this case, there already is no need to modify the source code of the emulator - we have solution in the main menu in the section "Display".
Display -> Forced full screen redraving enabled [checkbox]
Let me know if it helped you...