Displaying 1 result from an estimated 1 matches for "vmware_don".
Did you mean:
vmware_done
2011 Feb 18
1
[PATCH] core: Allow pasting from a VMware host by typing Ctrl-P
...m VMware's clipboard to the command-line buffer
+VMwareMagic equ 564D5868h ; VMWare magic number
+VMwarePort equ 5658h ; VMWare magic port
+vmware_paste:
+ mov eax,VMwareMagic
+ mov ebx,0
+ mov cx,000ah ; Get VMware version
+ mov dx,VMwarePort
+ in eax,dx
+ cmp ebx,VMwareMagic
+ jne vmware_done
+
+ mov eax,VMwareMagic
+ mov cx,0006h ; Get clipboard length
+ mov dx,VMwarePort
+ in eax,dx
+ and eax,eax
+ jz vmware_done
+ cmp eax,0ffffffffh
+ jz vmware_done
+ mov ebx,eax
+
+vmware_get_data:
+ mov eax,VMwareMagic
+ mov cx,00007h ; Get clipboard data
+ mov dx,VMwarePort
+ in...