Page 1 of 1

Can't enter "=" into VICE monitor

Posted: Wed Dec 20, 2023 7:00 pm
by toby405
In the Windows version of VICE monitor if I type an equals sign something like a dash but not exactly a dash is echoed back.

So for example:

bk 100d if A == $41

Looks like:

bk 100d if A -- $41

And I get an error because monitor is expecting an operand.

I can type a plus just fine and every other key just fine (I tried them all).

Am I the only one?

Re: Can't enter "=" into VICE monitor

Posted: Thu Dec 21, 2023 1:04 am
by MrSterlingBS
I get this on my VICE @ WINDOWS 10.
VICE-Monitor.jpg

Re: Can't enter "=" into VICE monitor

Posted: Thu Dec 21, 2023 6:14 am
by rhurst
Is your Preferences -> Settings -> Input devices -> Keyboard mapping setup for Symbolic or Positional?
There is also a Host keyboard layout pick-list with a debugging option to try to figure this out. :P

Re: Can't enter "=" into VICE monitor

Posted: Thu Dec 21, 2023 8:52 am
by toby405
MrSterlingBS wrote: Thu Dec 21, 2023 1:04 am I get this on my VICE @ WINDOWS 10.
Today it works as you posted. Still looks funny but works. Must have been user error. I blame assembly for making my brain tired. :D

Re: Can't enter "=" into VICE monitor

Posted: Fri Dec 22, 2023 5:25 am
by Mike
rhurst wrote:Is your Preferences -> Settings -> Input devices -> Keyboard mapping setup for Symbolic or Positional?
This setting is only relevant for keyboard input into the emulated computer and does not apply to the host UI.
toby405 wrote:[...]
I'd recommend to the OP flagging this in the VICE bug tracker on sourceforge.

And in any case this is not a VIC-20 programming issue - Denial has the Emulation and Cross Development section to explicitly deal with that kind of stuff!

(mod: thread moved)

Re: Can't enter "=" into VICE monitor

Posted: Fri Dec 22, 2023 8:53 am
by rhurst
Mike wrote: Fri Dec 22, 2023 5:25 am This setting is only relevant for keyboard input into the emulated computer and does not apply to the host UI.
My bad, haha, somehow I read this as the VIC monitor, not the built-in VICE emulator monitor. :P

Re: Can't enter "=" into VICE monitor

Posted: Fri Dec 22, 2023 5:26 pm
by thegg
I think this is a font (typeface) problem. I see the same on my Vice 3.7 GTK3 installation on Win10. If I change the font from Monospace Normal to Monospace Bold the equals displays correctly. The equals seems to display correctly for most of the selectable fonts. Courier is another font which doesn't display the equals correctly.

Turns out it is a size thing. Selecting 10 as the font size in the Monitor Settings results in the correct display of equals for Monospace Normal and Courier.

Re: Can't enter "=" into VICE monitor

Posted: Wed Dec 27, 2023 8:04 am
by toby405
Ah, good find!