search for: vmwaremag

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

Did you mean: vmwaremagic
2011 Feb 18
1
[PATCH] core: Allow pasting from a VMware host by typing Ctrl-P
...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 ; 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 c...