Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!mailrus!cornell!uw-beaver!mit-eddie!genrad!lsrhs!evans From: evans@lsrhs.UUCP (Dave Evans) Newsgroups: comp.sys.amiga Subject: Re: Request for Interceptor patch Keywords: Interceptor patch Message-ID: <838@lsrhs.UUCP> Date: 28 Jul 88 23:53:24 GMT References: <3750@enea.se> Reply-To: evans@lsrhs.UUCP (Dave Evans) Organization: Lincoln Sudbury Regional High School. Sudbury Ma. Lines: 47 In article <3750@enea.se> tope@enea.se (Tommy Petersson) writes: >Someone posted a patch to Interceptor a couple of weeks ago. I >didn't pay much attention to it, since I'm not very interested >in flight simulators. Last week though, a friend of mine bought >the program and is already tired of the code-wheel juggle. > >Could someone mail the patch to me (or repost it, usually a lot >of people misses these things and will post requests after mine). > >If anyone respond, thanks in advance. Here it is, if you have any problems, mail me. Dave, | <> UUCP: mit-eddie!mit-caf!lsrhs!evans | ARPA: lsrhs!evans@caf.mit.edu <>| | _________________________________________________________________________| -------------------------------------------------------------------------- /* * f18fix.c by Sean Casey, PUBLIC DOMAIN. */ #include "fcntl.h" main() { char s[8], zero = 0; char *fn = "df0:F-18 Interceptor"; int fp; puts("Insert copy of F-18 Interceptor into DF0: and press RETURN:\n"); gets(s); if ((fp = open(fn, O_RDWR)) < 0) { puts("Couldn't open file \"DF0:F-18 Interceptor\"\n"); exit(-1); } lseek(fp, (long) 0x1cd8d, 0); write(fp, &zero, 1); lseek(fp, (long) 0x1cd9d, 0); write(fp, &zero, 1); lseek(fp, (long) 0x1cdad, 0); write(fp, &zero, 1); lseek(fp, (long) 0x1cdbb, 0); write(fp, &zero, 1); close(fp); }