Displaying 1 result from an estimated 1 matches for "vmware_paste".
2011 Feb 18
1
[PATCH] core: Allow pasting from a VMware host by typing Ctrl-P
...Ctrl-X>
je force_text_mode
+ cmp al,'P' & 1Fh ; <Ctrl-P>
+ je paste
cmp al,08h ; Backspace
jne get_char
backspace: cmp di,command_line ; Make sure there is anything
@@ -143,6 +145,10 @@ force_text_mode:
call vgaclearmode
jmp enter_command
+paste:
+ call vmware_paste
+ jmp get_char
+
set_func_flag:
mov byte [FuncFlag],1
jmp short get_char_2
@@ -568,6 +574,72 @@ getchar_timeout:
call vgahidecursor
ret
+; Copy data from VMware's clipboard to the command-line buffer
+VMwareMagic equ 564D5868h ; VMWare magic number
+VMwarePort equ 5658h ; VMW...