Newer
Older
emul / emul.c
@ApricotSavor ApricotSavor on 23 May 2016 377 bytes ncurses対応準備
#include <stdio.h>
#include "emul_inst_exec.h"
#include "emul_io_std.h"

int main(int argc, char *argv[]) {
    //emul_std_debug(2);
    if (argc == 1) {
        printf("[Error] No input file!\n");
        return 0;
    }
    emul_inst_exec_load(argv[1]);
    emul_inst_exec_init();
    emul_inst_exec_run();
    emul_out_std("exit...\n");
    getchar();
    emul_std_end();
}