mike@smu.UUCP (08/14/84)
#N:smu:21700004:000:1359 smu!mike Aug 13 20:51:00 1984 I'm not sure how many people will really care about this, and it's most likely that anyone who does has already fixed the problem, but I'm bored. The game ``snake'' (at least our 4.2 version) has problems at all but a few baud rates. The problem is that the programmable delay routine doesn't work correctly, causing the SPACE WARP feature to lose most of its excitement potential. The fix for this is quite simple. It seems that whoever originally wrote the game assumed that people would be running terminals at either 300, 1200, 9600, and one other which I have forgotten. Not really a bad assumption, but it's so easy to account for the rest that I'm not sure why the author didn't bother. The fix is made in the module ``move.c'' in the routine called ``baudrate'': baudrate() { switch (orig.sg_ospeed){ case B0: return 0; case B50: return 50; case B75: return 75; case B110: return 110; case B134: return 134; case B150: return 150; case B200: return 200; case B300: return 300; case B600: return 600; case B1200: return 1200; case B1800: return 1800; case B2400: return 2400; case B4800: return 4800; case B9600: return 9600; case B19200: return 19200; default: return(0); } } B19200 is defined as EXTA on our system; you may want to change this. Have fun. Mike McNally ...convex!smu!mike