keys recognized by the emulation? Is it enough to add the PORT_CODE(KEYCODE_RSHIFT) and PORT_CODE(KEYCODE_LCONTROL) in both lines? Is it necessary to change something in the PORT_CHAR() part?
Adding the PORT_CODEs to both lines should work for "emulated keyboard" mode, yes. The PORT_CHAR stuff is for the "natural keyboard" mode - I'm not sure if any change would be needed there.
Hm... Do you know why SHIFT has
PORT_CHAR(UCHAR_SHIFT_1) while CTRL has
PORT_CHAR(UCHAR_MAMEKEY(RCONTROL))?
Why doesn't SHIFT have
PORT_CHAR(UCHAR_MAMEKEY(LSHIFT))? And, more importantly... What's the difference?
The right shift at least seems to already work in natural keyboard mode, I don't know what the control key is supposed to do in MC-1000 so I can't check.
Well... CTRL+M should be the same as pressing the RETURN key, CTRL+C should break a running BASIC program or LIST output, and abort a line you were typing, CTRL+S should pause (and then resume) a running BASIC program or LIST output... not much more than that.