projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
メモリ確保時のサイズを修正
[YACASL2.git]
/
src
/
exec.c
diff --git
a/src/exec.c
b/src/exec.c
index
5e1f56d
..
2cd6d8a
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-265,20
+265,6
@@
WORD srl(WORD val0, WORD val1)
return res;
}
return res;
}
-/* COMET II仮想マシンのリセット */
-void reset()
-{
- int i;
- for(i = 0; i < REGSIZE; i++) {
- GR[i] = 0x0;
- }
- SP = PR = FR = 0x0;
- memory = malloc(memsize);
- for(i = 0; i < memsize; i++) {
- memory[i] = 0x0;
- }
-}
-
/* 仮想マシンCOMET IIでの実行 */
void exec()
{
/* 仮想マシンCOMET IIでの実行 */
void exec()
{