search for: vmware_enter

Displaying 1 result from an estimated 1 matches for "vmware_enter".

2011 Feb 18
1
[PATCH] core: Allow pasting from a VMware host by typing Ctrl-P
...cx,00007h ; Get clipboard data + mov dx,VMwarePort + in eax,dx + mov ecx,4 + +vmware_paste_char: + and al,al + je vmware_clear_buffer + cmp al,7Fh ; <DEL> == <BS> + je vmware_no_enter + cmp al,' ' ; ASCII? + jb vmware_no_enter ; don't paste no non-ASCII + ja vmware_enter + cmp di,command_line ; Space must not be first + je short vmware_no_enter +vmware_enter: cmp di,max_cmd_len+command_line ; Check there's space + jnb short vmware_no_enter + stosb ; Save it + call writechr ; Echo to screen +vmware_no_enter: + shr eax,8 + dec ebx + je vmware_done +...