[Coco] emulator reading standard input

Glen Hewlett glen.hewlett at sympatico.ca
Tue Aug 1 19:27:12 EDT 2017


Hi Joel,

You can paste text from an editor in MAME.  You need to go into the UI menu with the Tab key, go into Input (general) and then User Interface then scroll down to the option UI Paste Text. Once on that line hit Enter to get it to acknowledge what key or key combination you want to use for pasting text into MAME. If you mess up the key you want press Enter then Esc and it will be set to None and try again. Once set I think MAME will remember it next time you start it. Also to paste you must have the keyboard in the Partial Emulation mode Hit delete key on a Mac, I think it’s scroll lock on Linux and Windows.  Once it’s setup and your keyboard mode is set to Partial Emulation mode you can press the key or key combination you selected anytime while MAME is running the emulation.

If you delete or scroll lock doesn’t allow you to get into the settings with the tab key or change to partial emulation you can set the key when you start mame with the “-uimodekey” option

For example to make it the F11 key use this in part of your MAME startup line:
mame … -uimodekey F11

Cheers,
Glen

> On Aug 1, 2017, at 5:57 PM, Joel Rees <joel.rees at gmail.com> wrote:
> 
> On some emulators for other machines that I have used, I can
> select-and-copy text from a text editor and paste it into the window
> running the emulator, and the emulator accepts the text as if it had
> been typed at the keyboard.
> 
> When I try this on xroar, it activates debugging trace in the background
> shell. Do any of you who use xroar know of a way to get xroar to move
> standard input to the emulated machine besides changing things in the
> source and re-compiling?
> 
> Also, can the mame emulators be induced to read standard input?
> 
> (I haven't yet been able to figure out how to tell mame to read the
> rom images I have, so I haven't been able to test it for myself.)
> 
> -- 
> Joel Rees
> 
> One of these days I'll get someone to pay me
> to design a language that combines the best of Forth and C.
> Then I'll be able to leap wide instruction sets with a single #ifdef,
> run faster than a speeding infinite loop with a #define,
> and stop all integer size bugs with my bare cast.
> http://defining-computers.blogspot.com/2017/06/reinventing-computers.html
> 
> More of my delusions:
> http://reiisi.blogspot.com/2017/05/do-not-pay-modern-danegeld-ransomware.html
> http://reiisi.blogspot.jp/p/novels-i-am-writing.html
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list