-cp C:/Mona/MonaNew/share/dotnet/PEAnalyzerLib.dll PEAnalyzerLib.dll cp C:/Mona/MonaNew/share/dotnet/IL2Asm16.exe IL2Asm16.exe IL2Asm16.exe /MAIN:SecondBootMain /OPT:1 /POST:secondboot32.asm /OUT:secondboot. as_ SecondBoot.exe Entry Point: void Mona.SecondBoot::Main() ERROR PE_0000025C: nop in void Mona.SecondBoot::Main() ERROR PE_00000262: nop in void Mona.SecondBoot::Main() ERROR PE_0000026D: nop in void Mona.SecondBoot::Main() ...(似たようなのがかなり続く)... make[1]: *** [secondboot.asm] Error 1 make[1]: Leaving directory `/Mona/MonaNew/core/secondboot'
perl mkimg.pl /Mona/MonaNew cp /Mona/MonaNew/share/fat_write/fat_template.img mona.img fat_write mona.img --mbr /Mona/MonaNew/bin/firstboot.bin fat_write mona.img MONA.CFG MONA.CFG fat_write mona.img MONITOR.CFG MONITOR.CFG fat_write mona.img AUTOEXEC.MSH AUTOEXEC.MSH fat_write mona.img /Mona/MonaNew/bin/AUTOEXEC.MSH AUTOEXEC.MSH fat_write mona.img /Mona/MonaNew/bin/FILE.BIN FILE.BIN fat_write mona.img /Mona/MonaNew/bin/KERNEL.BIN KERNEL.BIN fat_write mona.img /Mona/MonaNew/bin/LOADER.BIN LOADER.BIN fat_write mona.img /Mona/MonaNew/bin/MONA.CFG MONA.CFG fat_write mona.img /Mona/MonaNew/bin/mona.img mona.img can not create file Died at mkimg.pl line 27. make[1]: *** [all] Error 2 make[1]: Leaving directory `/Mona/MonaNew/tool/mkimg' make: *** [all] Error 2
MSG_MOUSE_REGIST_TO_SERVER = 0x0300, MSG_MOUSE_UNREGIST_FROM_SERVER, MSG_MOUSE_INFO, MSG_MOUSE_ENABLE_CURSOR, MSG_MOUSE_DISABLE_CURSOR, MSG_MOUSE_GET_CURSOR_POSITION, MSG_MOUSE_SET_CURSOR_POSITION, ←追加
case MSG_MOUSE_SET_CURSOR_POSITION: this->posX = receive.arg1; this->posY = receive.arg2; Paint(); Message::reply(&receive); SendMouseInformation(); break;
#include <monapi.h> #include <monapi/messages.h> int MonaMain(List<char*>* pekoe) { dword pid = monapi_get_server_thread_id(ID_MOUSE_SERVER); MonAPI::Message::sendReceive(NULL, pid, MSG_MOUSE_SET_CURSOR_POSITION, 10, 10); sleep(1000); MonAPI::Message::sendReceive(NULL, pid, MSG_MOUSE_SET_CURSOR_POSITION, 20, 20); sleep(1000); MonAPI::Message::sendReceive(NULL, pid, MSG_MOUSE_SET_CURSOR_POSITION, 30, 30); sleep(1000); MonAPI::Message::sendReceive(NULL, pid, MSG_MOUSE_SET_CURSOR_POSITION, 40, 40); return 0; }