[comp.sys.mac.programmer] Apple Hardcodes snth Resources

imp@crayview.msi.umn.edu (Chuck Lukaszewski) (12/12/88)

This complaint is directed at the Sound Manager group at Apple Computer.

One of my projects over the weekend was to build Sound Manager support into
MacWorks Plus.  The 'ptch' 3 resource in the System File was very straight-
forward and was easily modified to generate sound on the Lisa.  However,
I found that several of the 'snth' resources in the System File also fiddled
with the hardware and required modification (System Software 6.0.2).  Much
to my frustration, the VIA addresses are hardcoded into the 'snth' resources,
as opposed to working off of the VIA low memory global.  (That is the proper
technique as espoused by DTS and that is what 'ptch' 3 does.)

PLEASE fix this!

It's too late for MacWorks Plus - I'm going to have to waste memory by 
building a copy of the resource into the kernel, and then I'm going to have
to put in two 'middle' patches (and people here only argue about header
and tail patches!).  One will have to tell _RGetResource to look in the
ROM resource file for 'snth' resources 1,3,5,4097,4099 & 4101, and the other
(applied to each snth) will have to fix the addressing.  Oh, and that
also forces ME to hardcode addresses.  Not good.

These are headaches that I don't need.

______________________________________________________________________________
Chuck Lukaszewski          imp@crayview.msi.umn.edu               612 789 0931