#Generated automatically by emulator.
-#Thu Mar 08 17:39:01 KST 2012
-window.y=61
-window.x=969
+#Thu Mar 08 21:45:08 KST 2012
+window.y=71
+window.x=1009
window.scale=1
window.rotate=1
#!/bin/bash
-./qemu-system-i386 --skin-args a --qemu-args -M maru-x86-machine -net nic,model=virtio -soundhw all -usb -usbdevice wacom-tablet -vga maru -bios bios.bin -L ../../../pc-bios -kernel bzImage -usbdevice keyboard -net user -rtc base=utc -enable-kvm emulimg.x86
+./qemu-system-i386 --skin-args a --qemu-args -M maru-x86-machine -net nic,model=virtio -soundhw all -usb -usbdevice wacom-tablet -vga maru -bios bios.bin -L ../../../pc-bios -kernel bzImage -usbdevice keyboard -net user -rtc base=utc -enable-kvm emulimg.x86 -redir tcp:1202:10.0.2.16:22
#include <stdlib.h>
#include <pthread.h>
#include "maruskin_client.h"
+#include <string.h>
#define JAR_SKINFILE_PATH "EmulatorSkin.jar"
static int skin_argc;
static char** skin_argv;
-static void* run_skin_client()
+static void* run_skin_client(void* arg)
{
char cmd[256];
char argv[200];
}
sprintf(cmd, "%s %s %s %s", JAVA_EXEFILE_PATH, JAVA_EXEOPTION, JAR_SKINFILE_PATH, argv);
- system(cmd);
+ if( system(cmd) ) {
+
+ }else {
+
+ }
return NULL;
}
#include "maruskin_operation.h"
#include "maruskin_sdl.h"
#include "../debug_ch.h"
+#include "console.h"
//FIXME uncomment
-//#include "console.h"
//#include "maru_pm.h"
MULTI_DEBUG_CHANNEL(qemu, maruskin_operation);
int type = ( MOUSE_DRAG == event_type ) ? MOUSE_DOWN : event_type;
if ( MOUSE_UP == type || MOUSE_DOWN == type ) {
-//FIXME uncomment
-// kbd_mouse_event(x, y, z, type);
+ kbd_mouse_event(x, y, z, type);
} else {
INFO( "undefined mouse event type:%d\n", type );
}