When i try to boot FreeDOS in bochs and use SDL2 as display_library setting with fullscreen and debugger option turned on and when i switch to linux command line [CTRL]+[ALT]+[F#] to kill the bochs process from there with one of the following commands:
kill -15 boch's_ID
or
kill -9 boch's_ID
then bochs isn't able to restore the original resolution of the desktop environment when i switch back to X Window [CTRL]+[ALT]+[F7].
Also, when i use the kill -15 option, a SDL window with the title "PANIC" pops up like shown in the screenshot. But the button "Quit" doesn't work. Thus it's not possible to quit bochs with the kill -15 option.
Only kill -9 does work.
The desktop environment is KDE in this case running on Debian bullseye.
When Bochs is killed with SIGTERM, it no longer shows a dialog box. A graceful exit in the SIGKILL case is not yet implemented.