Unix emulator of the Tesla PMD 85, an 8-bit personal micro-computer and all its compatible models produced in eighties of 20th century in former Czechoslovakia.
Emulator crashes immediatelly after any snapshot is saved. Snapshot was always created correctly and can be loaded without any problem.
I tried it on older Gentoo Linux and another computer with updated Debian 9 Jessie.
It doesn't depend on PMD configuration (selected model, or enabled peripherals) or running software, even after reset just in monitor it crashes same way.
Popup dialog which could be shown for every block in Tape Browser has serious issue:
it crashing after Import tape... was selected and File browser appears but after exiting from file browser without selection (ESC) it crash on NULL pointer exception (probably because it wipe out pointer to current menu item(s), but it doesn't explain why it works properly if file was chosen...?)
consider if File browser dialog could be completely independent from all generic menus or submenus because of its menu-independent behaviour.
every byte stored into VRAM memspace will be projected into union rectangle
screen rendering will be performed only on that union rectangle so redrawing will be performed only on that part of screen witch was changed (and save the CPU if nothing changed)
union rectangle should be reset to empty rectangle just before screen redrawing with be performed
When I open the menu and navigate through various sub-menus, the emulator used to freeze in short time. I found it's because of the SDL_Delay calls in MenuOpen and MenuClose routines. In attachment is a patch to eliminate this. menufix.txt