CMSC 422

Program 1, due 3/12/02
Reactive Programming
Simulator Patches

There is a problem with the simulator on some machines due to how they sense the location of objects. If you save the file colormap.patch to your SIM folder and run the command
"patch -p0 < colormap.patch" it should fix the problem by changing your "graphics.c" file -- if you edit this file for some reason, then you will need to repatch it later.

The simulator is written for solaris, but there is a patch that may work for your Linux or other Unix boxes.. If you save the file khepX.patch to your SIM folder and run the command
"patch -p0 < khepX.patch" it should fix the problem. However, note that the EXAMPLEs delete and then copy a makefile, so you must either change that or repatch each time. Some of the examples install a slightly different makefile and cannot be patched without changing the patch code - you're on your own at that point.

THANKS to Joe Engel who developed these patches!!

Web Accessibility