Core War is a game in which two or more virus-like programs fight against each other in a simulated memory space or core. Core War programs are written in an assembly language called Redcode which is interpreted by a Core War simulator or MARS (Memory Array Redcode Simulator). The object of the game is to prevent the other program(s) from executing.
15 lines
433 B
C
15 lines
433 B
C
$NetBSD: patch-src_sim.h,v 1.1 2016/06/11 18:41:56 kamil Exp $
|
|
|
|
Fix name clash with builtin 'round'.
|
|
|
|
--- src/sim.h.orig 2000-08-20 13:29:44.000000000 +0000
|
|
+++ src/sim.h
|
|
@@ -89,7 +89,7 @@ extern int displayMode;
|
|
#define FAR
|
|
#endif
|
|
|
|
-extern int round;
|
|
+extern int sim_round;
|
|
extern long cycle;
|
|
extern ADDR_T progCnt; /* program counter */
|
|
extern warrior_struct *W; /* indicate which warrior is running */
|