[comp.sys.mac] Problems with ResEdit and Map re-visited.

cyosta@taux01.UUCP ( Yossie Silverman ) (02/05/89)

A whilte ago I asked the network about playing snd's in ResEdit.  Anoher
question I had was how to get Map to run on my 512Ke (with 512Ke XPRAM-INIT).
Since I never got an answer to either of my questions I did some research
myself and here are the results.  Use at your own risk (of course):

ResEdit (this applies to ResEdit 1.2b3):  The problem was that ResEdit is doing
a _SysEnvirons and checking that the machine is a MacII before trying to
_SndPlay.  The solution (since system 6.0.2 supports _SndPlay etc.. on ALL
machines) was to disable the check.  The following patch does this:

Find: 7004 B06E FFF2 6600 00FA
Repl:                4E71 4E71

Map:  Here the situation is interesting.  Map actually checks to see that its
'mach' resource was not monkeyed with!  One would assume that setting the
'mach' resource to FFFF 0000 would make Map work on all systems.  As it turns
out, setting this causes the cdev to be called with the macDev message.  What
Map does in this case is return 1, which means that this cdev does NOT work.
How very strange.  Anyway, the solution is simple:

Find: 7008 B044 6606 7E01
Repl:           6006

And don't forget to set the 'mach' -4096 resource to 'FFFF 0000' as well!

I used Fedit to apply the patches and RedEdit to change the 'mach' resource.

Have fun.  - Yossie
-- 
Yossie Silverman                                   What did the Caspian sea?
National Semiconductor Ltd. (Israel)				- Saki
UUCP: taux01!yossie@nsc.UUCP
NSA LSD FBI KGB PCP CIA MOSAD NUCLEAR MI5 SPY ASSASSINATE SDI -- OOCLAY ITAY