X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Fstruct.c;h=58a35857c4668550fb5b2ecd33eec1fb2c81299a;hb=7f7bde5dd1305cfc598fe09030c69aad0dc01368;hp=9e3d256f9eb3f88b57937a76f25289a8c0c9c4bb;hpb=555c5e8b851becc08ba661a9cb19f617d5a00c12;p=YACASL2.git 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");