Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!ted From: ted@cs.utexas.edu (Ted Woodward) Newsgroups: comp.sys.mac.games Subject: Re: Railroad Tycoon Does not work on System 7!!! ACK!!! Message-ID: <348@victoria.cs.utexas.edu> Date: 26 May 91 00:27:59 GMT References: <1991May22.064120.15986@crash.cts.com> Organization: U Texas Dept of Computer Sciences, Austin TX Lines: 49 In article ckd@eff.org (Christopher Davis) writes: > Kevin> It works fine up until the Fiscal year end. When I get to the > Kevin> record part i.e. record revenue, speed, etc. it works fine up to > Kevin> that screen, but when I press enter to get to the part that > Kevin> offers me a job as a Hobo or something, it gives me this: > Kevin> UNIMPLIMENTED TRAP ROUTINE.. what is up??? >What machine are you running on? How much RAM? How much RAM did you >give RT? >It works fine on a IIfx, 8M RAM, with a 3000K partition size (I had to, >I use a two-page 16-gray monitor). He's on a plus, SE, or classic. The trap that's unimpimented just happens to be _SetPalette. Those of us without color quickdraw don't have it. I thought this was really annoying, so I wrote a little init (my first) that patches _SetPalette. Don't use it on a machine with CQD (SE/30 on up), or you lose _SetPallete. All it does is remove the 10 bytes passed to it from the stack, and return. I tested it on RR Tycoon, and it worked. It's freeware; but if you use it, please send me email. Just drop it into the system folder and reboot. Oh, you must be on a machine with 128K ROMs or greater; I use NSetTrapAddress(). (Guess I wrote it in C, huh? :-) It's really simple, and if anybody wants the code, just write. Here it is, binhexed. It's so small that I decided not to stuff it. Only 800 bytes... (This file must be converted with BinHex 4.0) :%9"KE'9dG'8J9(*KF#"*6NP8!%P1593r2cmr!!!!!!!!!!!##P&T!!!!!!%!!!! "XJ!!!,)!!!"B!!!#"`Y3FQ9QCA*PEQ0PF`%!!!!!#3!!!LkM5JXrT'-48'&XCA4 dC5"8FQ&`)%P1593#!!)!58j*9$mr2cm"!!)!58j*9$mr2cm"!!#[!,m!!!!!!!! !!!!!!!!!!!!!"BLNC&S"!!!!!!!!!JS!!(0MBQYcBf*V%3!!D!#!!!!!!!6k!!! !!!!!!!!!!!!!!!"9R`!!9J#N2(9!T&pT(`!!!!!!K!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!#6X3!V!!!!!!!!!!!!!!!!Bh*KF'*[EfXJ4QPXC@X#!!!!Ff0 LDh0MBQX4!!"S!!!!RQ!1!!"*6NP8!)!!!!!!!!""q[rZ6R&1F@!!!%3LAb"IS"Y 1qJ!1,hJ#TJ!%6[S!$(!!,`Na`!)J6R9`!'$f)PmJAk"+6[Vrl#*I%Km`(b"I,`P +!@F%TNGJ!U*(6R8[#kRr3UG1Z[r!)&p)8%kkrkj#TdKj3dp%46mm!)#S(b"I*NJ [#kQ5,`Y1Z[qd,a-r2!+9(c`!!8kkrl!QAdje!!!!$#"Ihr`!!!!+6Y"1G3!!!3! !!!'b!!!!XJ!!!&J!,ECL"N!!!!!F!%B!!8P1593!!!!53dp%43!!!"i!J!!!A!! !!!!!!!!!J2rr@!!!SJ!YY@)4Ae0PG&"KE'9dG'8JCQPiCA+Lb!: -- Ted Woodward (ted@cs.utexas.edu) "Mad scientists HATE shopping for shoes!" -- Peaches