X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fcasl2.h;h=038f3dd8a70bf2d5538c04c0f2ba8aab89beb93e;hp=9a2fc073161ff9ba3a933d848141200210c8bc67;hb=5562b8293058464957a1f833777e187a78220ed5;hpb=2b0ff8e75f11c5fb58e16e95d8195d6f1252c97c diff --git a/include/casl2.h b/include/casl2.h index 9a2fc07..038f3dd 100644 --- a/include/casl2.h +++ b/include/casl2.h @@ -78,15 +78,16 @@ typedef enum { NONE = 0, } CMDTYPE; -extern int cmdcodesize; - -/* 命令コードの配列 */ +/* 命令コード配列 */ typedef struct { char *cmd; CMDTYPE type; WORD code; } CMDCODEARRAY; +/* 命令コード配列のサイズ */ +extern int cmdcodesize; + /* 命令コードのハッシュ表 */ typedef struct _CMDCODETAB { struct _CMDCODETAB *next; @@ -97,6 +98,12 @@ extern CMDCODETAB **cmdtype_code; extern CMDCODETAB **code_type; extern int cmdtabsize; +/* COMET II仮想マシンのリセット */ +void reset(); + +/* COMET II仮想マシンのシャットダウン */ +void shutdown(); + /* 命令と命令タイプがキーのハッシュ表を作成する */ bool create_cmdtype_code();