MonAPIをMona/0.3.0に向けて整理する。
dword syscall_get_pid(); | |
dword syscall_get_tick(); | |
dword syscall_get_tid(); | |
int syscall_get_date(KDate*); | |
kill_threadで代用可能 | int syscall_kill(); |
int syscall_kill_thread(dword tid); | |
MONAPI_BOOL monapi_call_dispose_handle(int id, dword handle); | |
MONAPI_BOOL monapi_call_mouse_set_cursor(MONAPI_BOOL enabled); | |
MONAPI_BOOL monapi_register_to_server(int id, MONAPI_BOOL enabled); | |
byte* monapi_cmemorymap_map(dword id); | |
dword monapi_cmemorymap_create(dword size); | |
dword monapi_get_server_thread_id(int id); | |
dword syscall_file_position(); | |
dword syscall_file_seek(dword pt, int flag); | |
dword syscall_get_pid(); | |
dword syscall_get_tick(); | |
dword syscall_get_tid(); | |
dword syscall_lookup(const char* name); | |
dword syscall_memory_map_create(dword size); | |
dword syscall_memory_map_get_size(dword id); | |
int monapi_call_process_execute_file(const char* command_line, MONAPI_BOOL prompt); | |
int monapi_call_process_execute_file_get_tid(const char* command_line, MONAPI_BOOL prompt, dword* tid, dword stdout_id = NULL); | |
int monapi_cmemoryinfo_create(monapi_cmemoryinfo*, dword, int); | |
int monapi_cmemoryinfo_map(monapi_cmemoryinfo*); | |
int monapi_cmemorymap_unmap(dword id); | |
int syscall_cd(const char* path); | |
int syscall_clear_screen(); | |
int syscall_dir_close(); | |
int syscall_dir_open(); | |
int syscall_dir_read(const char* name, int* size, int* attr); | |
int syscall_exist_message(); | |
int syscall_fdc_close(); | |
int syscall_fdc_disk_changed(); | |
int syscall_fdc_open(); | |
int syscall_fdc_read(dword lba, byte* buffer, dword blocknum); | |
int syscall_fdc_write(dword lba, byte* buffer, dword blocknum); | |
int syscall_file_close(); | |
int syscall_file_create(const char* path); | |
int syscall_file_open(const char* path, int mode, volatile dword* size); | |
int syscall_file_read(const char* path, dword size, dword* readSize); | |
int syscall_file_write(const char* path, dword size, dword* writeSize); | |
int syscall_free_pages(dword address, dword size); | |
int syscall_get_arg(char* buf, int n); | |
int syscall_get_arg_count(); | |
int syscall_get_cursor(int* x, int* y); | |
サーバに持たせられない? | int syscall_get_date(KDate* date); |
int syscall_get_io(); | |
int syscall_get_kernel_version(char* buf, dword size); | |
int syscall_get_memory_info(MemoryInfo* INFO); | |
int syscall_get_vram_info(volatile ScreenInfo* info); | |
int syscall_load_process(const char* path, const char* name, CommandOption* list); | |
int syscall_load_process_image(LoadProcessInfo* info); | |
int syscall_lookup_main_thread(const char* name); | |
int syscall_map(dword pid, dword sharedId, dword linearAddress, dword size); | |
int syscall_map2(MappingInfo* info); | |
int syscall_memory_map_map(dword id, dword address); | |
int syscall_memory_map_unmap(dword id); | |
int syscall_mthread_create(dword f); | |
関数名おかしい | int syscall_mthread_join(dword id); |
int syscall_mthread_yield_message(); | |
int syscall_mutex_create(); | |
int syscall_mutex_destroy(int id); | |
int syscall_mutex_lock (int id ); | |
int syscall_mutex_trylock(int id); | |
int syscall_mutex_unlock(int id); | |
int syscall_peek(MessageInfo* message, int index, int flags); | |
int syscall_print(const char*); | |
int syscall_read_ps_dump(PsInfo* info); | |
int syscall_receive(MessageInfo* message); | |
int syscall_remove_irq_receiver(int irq); | |
int syscall_send(dword id, MessageInfo* message); | |
int syscall_set_cursor(int x, int y); | |
int syscall_set_irq_receiver(int irq); | |
int syscall_set_ps_dump(); | |
int syscall_sleep(dword tick); | |
int syscall_test(dword laddress); | |
int syscall_unmap2(dword sharedId); | |
monapi_cmemoryinfo* monapi_call_file_decompress_bz2(monapi_cmemoryinfo* mi); | |
monapi_cmemoryinfo* monapi_call_file_decompress_bz2_file(const char* file, MONAPI_BOOL prompt); | |
monapi_cmemoryinfo* monapi_call_file_decompress_st5(monapi_cmemoryinfo* mi); | |
monapi_cmemoryinfo* monapi_call_file_decompress_st5_file(const char* file, MONAPI_BOOL prompt); | |
monapi_cmemoryinfo* monapi_call_file_read_data(const char* file, MONAPI_BOOL prompt); | |
monapi_cmemoryinfo* monapi_call_file_read_directory(const char* path, MONAPI_BOOL prompt); | |
monapi_cmemoryinfo* monapi_cmemoryinfo_new(); | |
void monapi_cmemoryinfo_delete(monapi_cmemoryinfo*); | |
void monapi_cmemoryinfo_dispose(monapi_cmemoryinfo*); |
コメントはありません。 コメント/議論/MonAPI?