X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fstruct.c;h=58a35857c4668550fb5b2ecd33eec1fb2c81299a;hp=9e3d256f9eb3f88b57937a76f25289a8c0c9c4bb;hb=7f7bde5dd1305cfc598fe09030c69aad0dc01368;hpb=bf31ea99380e3ee2198f61f6510ebe6e4a3961f5 diff --git a/src/struct.c b/src/struct.c index 9e3d256..58a3585 100644 --- a/src/struct.c +++ b/src/struct.c @@ -1,12 +1,19 @@ -#include "casl2.h" +#include "struct.h" +#include "cmem.h" -/* COMET IIの仮装実行マシンシステム */ +/** + * COMET IIの仮装実行マシンシステム + */ SYSTEM *sys; -/* CASL IIプログラムのプロパティ */ +/** + * CASL IIプログラムのプロパティ + */ PROGPROP *prog; -/* COMET II仮想マシンのリセット */ +/** + * COMET II仮想マシンのリセット + */ void reset(int memsize, int clocks) { int i; @@ -28,7 +35,9 @@ void reset(int memsize, int clocks) prog = malloc_chk(sizeof(PROGPROP), "prog"); } -/* COMET II仮想マシンのシャットダウン */ +/** + * COMET II仮想マシンのシャットダウン + */ void shutdown() { free_chk(prog, "prog");