Differences From Artifact [e04eec81edecc3a3]:
File retro.c part of check-in [90c0b418f9] - Update to 11.0-2010.12.19 and latest VM; fix editor.rx and debug.rx to work with new image by charleschilders on 2010-12-20 00:46:13. [annotate] [view]
To Artifact [33ccf33bfce8c794]:
File retro.c part of check-in [12cef85851] - updated vm, image by crc on 2011-02-12 17:54:13. [annotate] [view]
@@ -1,6 +1,6 @@
/* Ngaro VM ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Copyright (c) 2008 - 2010, Charles Childers
+ Copyright (c) 2008 - 2011, Charles Childers
Copyright (c) 2009 - 2010, Luke Parrish
Copyright (c) 2010, Marc Simpson
Copyright (c) 2010, Jay Skeer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@@ -41,9 +41,9 @@
VM_SHR, VM_ZERO_EXIT, VM_INC, VM_DEC, VM_IN, VM_OUT,
VM_WAIT };
#define NUM_OPS VM_WAIT + 1
-int stats[NUM_OPS];
+int stats[NUM_OPS + 1];
/* Console I/O Support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
struct termios new_termios, old_termios;
FILE *input[12];