Gergely Szasz - 2015-02-13

The NMI button (snapshot) works when user hold down the CAPS SHIFT. manula page 26

With GTK(2) UI it is works, You have to hold down SHIFT and select the menu item Machine->NMI (with mouse) and snapshot mode activated.

But with SDL and Xlib UI (WIDGET UIs) this is not work, because we have to press and release keys in the menu, and fuse release the "SHIFT" too with the released key (at least with SDL and Xlib UI).

Here are two solutions:

  1. prevent spectrum keyrelease events when fuse in menu
  2. add a new menu entry which "press" Caps before add z80_nmi_event

Both have drawback:

1st: if we press a key (e.g. b), when press F1 for menu, than after leave menu the key "stucked" and we got endless e.g. 'b's.
2nd: the Caps shift "stucked"...

I attached two little patch...

 

Last edit: Gergely Szasz 2015-02-13