mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-22 04:31:30 +00:00
450 lines
23 KiB
Plaintext
450 lines
23 KiB
Plaintext
|
;
|
|||
|
; File: SysPrivateEqu.a
|
|||
|
;
|
|||
|
; Contains: private equates that were formerly in SysEqu.a
|
|||
|
; Make sure that the ExpandMemRec is kept in sync with ExpandMemPriv.h
|
|||
|
;
|
|||
|
; Copyright: © 1990-1994 by Apple Computer, Inc., all rights reserved.
|
|||
|
;
|
|||
|
; Change History (most recent first):
|
|||
|
;
|
|||
|
; <SM30> 1/14/94 ged Added the jSWModemSoundVector field to the ExpandMemRec to
|
|||
|
; support software modem sound using various modems.
|
|||
|
; <SM29> 11/11/93 fau <aek> Added pointer to Expansion Bus Manager Globals. Bumped
|
|||
|
; version to 132.
|
|||
|
; <SM29> 10/31/93 aek Added pointer to Expansion Bus Manager Globals. Bumped version to
|
|||
|
; 132.
|
|||
|
; <SM28> 10/29/93 pdw Moved intRegs and intRegsSize from InterruptHandlers.a into this
|
|||
|
; file to show that they are used elsewhere as well
|
|||
|
; (SCSIMgr4pt3:HALc96Routines.a).
|
|||
|
; <SM27> 9/12/93 SAM Changed emFigmentGlobals to emHeapUtilsGlobals which is more
|
|||
|
; accurate.
|
|||
|
; <SM26> 9/11/93 SAM Added emFigmentGlobals (new memory manager). Bumped emVersion
|
|||
|
; to 131 to reflect the first post cyclone expandmem change.
|
|||
|
; <SM25> 6/7/93 CSS Add expandmem to stash the control handle during thumb dragging.
|
|||
|
; Plus rollin from Reality:
|
|||
|
; <85> 5/20/93 KWR Added emSpeechRecognitionGlobals and bumped the version number
|
|||
|
; <84> 5/20/93 PKE Delete names for obsolete fields emNumer, emDenom (they are now
|
|||
|
; unused).
|
|||
|
; <SM24> 05/19/93 HY Added emIDEGlobals and updated emCurVersion.
|
|||
|
; <SM23> 4/22/93 CSS Remove ";" from emButtonIntGlobals.
|
|||
|
; <SM22> 4/22/93 CSS Change emFFSwapMMU to emButtomIntGlobals per expandmempriv.h.
|
|||
|
; Also, update from Reality. Reality Comments follow:
|
|||
|
; <81> 3/29/93 DTY Added emAuxiliaryWindowHashTable and
|
|||
|
; emAuxiliaryControlHashTable.
|
|||
|
; <80> 3/26/93 YK Add emHasMultiScript. This flag will be true if non-Roman
|
|||
|
; script system is installed, but still be zero until the Procee
|
|||
|
; Mgr is initialized. Most of the code for multi lingual support
|
|||
|
; can be skipped by checking this value.
|
|||
|
; <79> 3/25/93 DTY Add field to store PixMapHandle used for drawing defproc
|
|||
|
; gadgets.
|
|||
|
; <78> 3/18/93 SES Steven Swenson - added a longword to ExpandMemRec for the
|
|||
|
; globals for the Internal Modem Manager.
|
|||
|
; <77> 3/11/93 ngk Rename emUsed2 to emWindowMgrFlags
|
|||
|
; <76> 3/10/93 GMA General synch with SuperMario and Ludwig. Adding in Reno info.
|
|||
|
; <SM21> 3/10/93 GS Getting in touch with Reality...
|
|||
|
; <75> 3/7/93 DTY Add Tinge Manager information.
|
|||
|
; <74> 2/25/93 IH Change type of emDisplayManagerGlobals from Handle to Ptr.
|
|||
|
; <73> 2/23/93 ngk Add emTranslationMgrGlobals
|
|||
|
; <72> 2/23/93 IH Add emDisplayMgrGlobals and Get/Set macros
|
|||
|
; <71> 12/22/92 YK Added emLanguagePackGlobals in the first long of two in the
|
|||
|
; emUnused3 spot.
|
|||
|
; <SM20> 2/20/93 SAM Added emDMADispGlobs for DMA Manager/Dispatcher globals.
|
|||
|
; <SM19> 1/27/93 PN Add emStartTicks extended memory global for "startticks" in
|
|||
|
; ListMgrPack
|
|||
|
; <SM1> 12/09/92 HI Added emIsDragging field to be used as a flag to determine
|
|||
|
; whether OSEventAvail was called from DragTheRgn or not. The
|
|||
|
; flag is set by DragTheRgn only. OSEventAvail uses this flag
|
|||
|
; to bypass the HelpMgr patch code if called from DragTheRgn.
|
|||
|
; (Hoon Im)
|
|||
|
; <70> 10/27/92 JMF Added emButtonManagerGlobals in the emUnused1 spot and added
|
|||
|
; emSerialManagerGlobals in the first long of three in the
|
|||
|
; emUnused3 spot.
|
|||
|
; <69> 10/15/92 aen Change 'fndr' names to 'emFndr'
|
|||
|
; <68> 10/14/92 gs Steal a long word from emUnused1 for FSCommon Library.
|
|||
|
; <67> 10/14/92 aen Added fndrDeskRgn, fndrDeskRgnTracking, fndrDeskRgnChange, and bumped
|
|||
|
; the version number to 0x129 for Bungee Finder support of UltraDesk
|
|||
|
; (Andy Nicholas).
|
|||
|
; <66> 10/8/92 KST emUnused4 is now used by WS II printing stuff.
|
|||
|
; <65> 7/21/92 bbm Add emNetBootGlobals for Network Booting and Appletalk stuff.
|
|||
|
; (see Steve Roth)
|
|||
|
; <64> 7/6/92 gbm Add the emDragGlobals entry (for Finder’s drag-o-matically cool
|
|||
|
; stuff)
|
|||
|
; <63> 7/6/92 PN Take out emCommToolBoxTable and emBigModel and put them in
|
|||
|
; CTBBlock
|
|||
|
; <62> 7/6/92 JSM Remove emPrinterPortCache, it’s no longer needed by the Icon
|
|||
|
; Utilities.
|
|||
|
; <61> 7/1/92 PN Adding emCommToolboxTable and emBigModel for SuperMario
|
|||
|
; <60> 6/25/92 PN Add emRectRgn for SuperMario
|
|||
|
; <59> 6/4/92 JSM Add emPPCPromptForUserGlobals from SuperMario.
|
|||
|
; <58> 5/11/92 JSM #1029437 <DC>: Add emProcessMgrExists, set by the Process Mgr
|
|||
|
; after it installs itself. This lets other parts of system
|
|||
|
; software that want to call routines that require the Process Mgr
|
|||
|
; (like _BeginSystemMode or _GetNextHighLevelEvent) to easily
|
|||
|
; check if the boot process is far enough along yet instead of
|
|||
|
; calling Gestalt all the time. Add emScrollSpeedGlobals from
|
|||
|
; SuperMario. Renumber emUnused fields. Don’t update the
|
|||
|
; emCurVersion field, it’s kind of stupid to always do this during
|
|||
|
; development builds.
|
|||
|
; <57> 4/23/92 TN Replaced emUnused4 with emResrvMemSemaphore for MemoryMgr roll
|
|||
|
; in (as part of SuperMario).
|
|||
|
; <56> 4/17/92 PKE #1027387,<DTY>: Rename emItlDirectGetIntl to emItlDontUnlockYet.
|
|||
|
; <55> 4/13/92 YK Rename unused fields that were used by InputUtils.
|
|||
|
; <54> 4/9/92 RLM Bump the version number too, even though our size didn't change…
|
|||
|
; <53> 4/9/92 RLM Moved emDialogGlobals to an emUnused slot, also updated from
|
|||
|
; SuperMario…
|
|||
|
; <52> 4/7/92 JSM Split up emPackGlobals to show unused areas since we really
|
|||
|
; don’t use very much of this block. emUnused fields should be
|
|||
|
; used before adding on to ExpandMem again.
|
|||
|
; <51> 3/19/92 DC Added the printerPortCache for bug fix to Icon Utilities
|
|||
|
; <50> 3/2/92 DTY Add entry for LowMemoryPrintingPatchGlobals
|
|||
|
; <49> 2/12/92 DTY Add emOpenFontFiles, a counter of how many font files in the
|
|||
|
; Fonts folder are open. We want to keep a cap on this number.
|
|||
|
; It’s currently 128.
|
|||
|
; <48> 1/19/92 DTY Add emAppleTalkInactiveOnStartup. This is set by
|
|||
|
; BeforePatches.a.
|
|||
|
; <47> 12/09/91 HY Added emFFSwapMMUMode ptr to ExpandMem. Needed for Foster Farms
|
|||
|
; ROM (030 LC).
|
|||
|
; <46> 11/26/91 GMR Added CursorDev global ptr to ExpandMem.
|
|||
|
; <45> 11/2/91 DTY Add emScanOverrideMaps to allow programs like ResEdit to turn
|
|||
|
; off resource overriding.
|
|||
|
; <44> 11/1/91 DTY Silly me. I need to remember the override map, too.
|
|||
|
; <43> 11/1/91 DTY Rename emTopOverrideMap to emLastMapOverriden to reflect its new
|
|||
|
; use.
|
|||
|
; <42> 10/28/91 DTY Add emResourceCache for more resource override stuff.
|
|||
|
; <41> 10/24/91 sam Added Tsunami Printing Manager global to ExpandMemRec.
|
|||
|
; <40> 10/23/91 YK Adding a handle and a counter to ExpandMemRec for InputUtils
|
|||
|
; Package
|
|||
|
; <39> 10/17/91 DTY Add TopOverrideMap for resource overriding magic.
|
|||
|
; <38> 10/8/91 JH Whoops, forgot my pack count global, which I'm adding now.
|
|||
|
; <37> 10/8/91 JH Adding a handle to ExpandMemRec for Dictionary Manager Package.
|
|||
|
; <36> 10/8/91 BBM One of the 7.0.1 team misunderstood the allocation process. He
|
|||
|
; allocated an expandmem global from the forked off regatta
|
|||
|
; sources, without checking to see if it was already allocated.
|
|||
|
; It was. The Tsunami projects global gets smashed by 7.0.1.
|
|||
|
; Since Tsunami didn’t ship with the new printers, we were lucky
|
|||
|
; this time. Move the Tsunami global past the two globals that
|
|||
|
; 7.0.1 allocated and bump the version number.
|
|||
|
; <35> 8/29/91 DC Changed comment on emIconCluts to indicate that it is a ptr to
|
|||
|
; the icon globals in stead of a global.
|
|||
|
; <34> 8/26/91 JSM Cleanup header.
|
|||
|
; <33> 6/4/91 DFH Corrected spelling of emMessageManagerGlobals.
|
|||
|
; <32> 5/29/91 bbm added expandmem for message manager
|
|||
|
; <31> 3/13/91 RLC stb,#83253 - Add a new expandmem (emMinSysHeapFreeSpace) so that
|
|||
|
; SaveBits() can accurately judge how much free system heap space
|
|||
|
; should be left after allocating from the system heap.
|
|||
|
; <30> 2/7/91 djw <hjr> Add new field in ExpandmemRec for emSndPrimitives - a
|
|||
|
; pointer to a vector table of sound primitives.
|
|||
|
; <29> 2/6/91 gbm sab, #38: Change the ‘keep this file from loading’ variable to
|
|||
|
; upper case for security reasons...
|
|||
|
; <28> 1/30/91 VL dba, #Whiteboard7.0b4q6HowDoYouLikeThisBugNumberChris?: Add one
|
|||
|
; more field ancestorRgnsCalced to ExpandMem for PaintOne and
|
|||
|
; PaintBehind.
|
|||
|
; <27> 1/14/91 KIP <dba> add new fields in ExpandMemRec for jSetupSoundInterrupt,
|
|||
|
; jSuspendSoundInterrupt, jResumeSoundInterrupt and
|
|||
|
; jAcknowledgeSoundInterrupt.
|
|||
|
; <26> 12/14/90 dnf (djw) add jSCSIFreeHook vector.
|
|||
|
; <25> 10/2/90 DFH Added comment about keeping HL language files up to date.
|
|||
|
; <24> 9/24/90 BG Removed <15>. 040s are now behaving more reliably.
|
|||
|
; <23> 9/22/90 dnf Add 4 vectors to allow AppleShare/FileShare a cleaner interface
|
|||
|
; for patches to HFS queueing code.
|
|||
|
; <22> 9/5/90 ngk Added emAppleEventsGlobal and emEditionMgrPerApp
|
|||
|
; <21> 7/25/90 PKE Renamed emItlAppCacheHndl to emScriptAppGlobals, reflecting its
|
|||
|
; even newer function (still gets swapped for each app). Deleted
|
|||
|
; some old field names that were synonyms for newer ones.
|
|||
|
; <20> 7/9/90 PKE Renamed emItlCache2Ptr and emItlAppCachePtr fields in
|
|||
|
; ExpandMemRec to reflect their function (for now, the old names
|
|||
|
; still work too).
|
|||
|
; <19> 6/27/90 BG Removed special re-definition of -eclipseDebug- on orders from
|
|||
|
; my lawyers. This re-definition causes more problems than it
|
|||
|
; fixes. Looks like yer going to have to fend for yerselves, guys.
|
|||
|
; <18> 6/27/90 BG Added a missing ENDIF.
|
|||
|
; <17> 6/27/90 BG Adding some symbol definition checks for the Quickdraw folks
|
|||
|
; non-standard builds (yer welcome, Chazz, Mike).
|
|||
|
; <16> 6/26/90 PKE Add emItlAppCachePtr field to ExpandMemRec (ptr to itl cache
|
|||
|
; that is swapped for each app).
|
|||
|
; <15> 6/18/90 CCH Added EclipseNop macro for 68040 debugging.
|
|||
|
; <14> 6/14/90 DDG NEEDED FOR SIXPACK: Rearranged the expandmem fields once again,
|
|||
|
; this time to match what shipped with 6.0.5.
|
|||
|
; <13> 6/13/90 DC added emIconCluts
|
|||
|
; <12> 6/12/90 PKE Deleted emLastGrafPort and emLastFixedPen fields from
|
|||
|
; ExpandMemRec (see <10>) - they are no longer used.
|
|||
|
; <11> 6/7/90 PKE Added emNumer and emDenom fields to ExpandMemRec, used for
|
|||
|
; scaling hi-level QD routines. Updated ExpandMemRec version
|
|||
|
; number.
|
|||
|
; <10> 5/23/90 JT Added the emLastGrafPort and emLastFixedPen fields to the
|
|||
|
; expandMem record so we can keep a fixed horizontal pen location
|
|||
|
; in old GrafPorts.
|
|||
|
; <9> 5/16/90 DDG Rearranging some locations to make particular globals be in the
|
|||
|
; same spot as on the erickson build.
|
|||
|
; <8> 5/2/90 PKE Added two more fields to ExpandMemRec: emScriptMapPtr,
|
|||
|
; emLangMapPtr.
|
|||
|
; <7> 5/1/90 PKE Added emItlCache2Ptr field to ExpandMemRec, updated version
|
|||
|
; number.
|
|||
|
; <6> 4/27/90 GM prevent redefinition warnings by avoiding multiple inclusions
|
|||
|
; <5> 4/23/90 NC Add a New Sound Manager global longword in expandMem.
|
|||
|
; <4> 4/17/90 dba add emSysErrorUpdateRect
|
|||
|
; <3> 4/17/90 BBM Add Apple Events Global Pointer to the ExpandMem Record and
|
|||
|
; update version.
|
|||
|
; <2> 4/5/90 BBM Add a global for the Ethertalk Lap code.
|
|||
|
; <1> 3/23/90 CCH Moved private stuff in from SysEqu.a.
|
|||
|
;
|
|||
|
|
|||
|
IF &TYPE('__INCLUDINGSYSPRIVATEEQU__') = 'UNDEFINED' THEN
|
|||
|
__INCLUDINGSYSPRIVATEEQU__ SET 1
|
|||
|
|
|||
|
;___________________________________________________________________________
|
|||
|
;
|
|||
|
; SysEnvirons info
|
|||
|
|
|||
|
; *** temporarily private equates (don't release yet!) ****
|
|||
|
envElsie EQU 15
|
|||
|
envXO EQU 17
|
|||
|
envEclipse EQU 18
|
|||
|
; *********************************************************
|
|||
|
|
|||
|
|
|||
|
IntRegs reg a0-a3/d0-d3 ; registers saved by all interrupt handlers
|
|||
|
IntRegsSize equ 8*4 ; size of IntRegs in bytes - must change if IntRegs changes!
|
|||
|
; if this changes, then you must update HALc96Routines.a to handle
|
|||
|
; both old and new cases.
|
|||
|
|
|||
|
;___________________________________________________________________________
|
|||
|
;
|
|||
|
; Extended Low Memory area available on all machines
|
|||
|
|
|||
|
ExpandMemRec RECORD 0
|
|||
|
emVersion DS.W 1 ; version of expanded memory
|
|||
|
emSize DS.L 1 ; length of em
|
|||
|
emIntlGlobals DS.L 1 ; international globals pointer
|
|||
|
emKeyDeadState DS.L 1 ; Key1Trans, Key2Trans dead state
|
|||
|
emKeyCache DS.L 1 ; KCHR keyboard cache
|
|||
|
emIntlDef DS.L 1 ; Reserved for Intl
|
|||
|
emFirstKeyboard ds.b 1 ; flag byte
|
|||
|
emAlign ds.b 1 ; long-align until we need this storage
|
|||
|
emItlCacheSize equ 16 ; bytes in cache
|
|||
|
emItlCache ds.b emItlCacheSize ; reserve room for cache
|
|||
|
emItlNeedUnlock ds.b 1 ; for pack6
|
|||
|
emItlDontUnlockYet ds.b 1 ; for pack6 <56>
|
|||
|
emItlFiller ds.b 2 ; Reserved room
|
|||
|
emScriptsInstalled ds.b 1 ; number of installed scripts
|
|||
|
emTwoCursorsFlag ds.w 1 ; indicates split cursor and if emCursor2Rect is high cursor
|
|||
|
emCursor2Rect ds.w 4 ; top, left, bottom, right edges of split cursor: initialized to 0
|
|||
|
emFmtOrderHFlag ds.b 1 ; flag to indicate a handle was allocated
|
|||
|
emDirection ds.l 1 ; direction param for C2P for both offsets
|
|||
|
emMeasureLine ds.b 1 ; flag that says to measure the whole line
|
|||
|
emCleanWordBrk ds.l 1 ; storage for 32-bit clean defWordBrk address
|
|||
|
emNewFont ds.b 1 ; textStyle.tsFont: the only field I fill in
|
|||
|
emNewStyle ds.w 4 ; SetRsrved params: flag.b, textStylePtr.l, mode.w
|
|||
|
emBufferHandle ds.l 1 ; handle for text buffering
|
|||
|
emUnsynchedFlag ds.b 1 ; indicates unsynched keyboard and font
|
|||
|
emTExtra ds.b 3 ; extra TE bytes
|
|||
|
emBufferLen ds.w 1 ; length of text in buffer
|
|||
|
emSERDVars ds.l 1 ; Serial Driver Globals
|
|||
|
emGestalt ds.l 1 ; Gestalt Globals
|
|||
|
emLayoutGlobals ds.l 1 ; Layout Mgr Globals
|
|||
|
emTSMGlobals ds.l 1 ; Text-Service Mgr Globals
|
|||
|
emSplineKey ds.l 1 ; Bass Fonts Globals
|
|||
|
emSnarfGlobals ds.l 1 ; Snarf Man
|
|||
|
emLAPGlobals ds.l 1 ; AppleTalk globals
|
|||
|
emLMgrGlobals ds.l 1 ; LAP Mgr globals
|
|||
|
emHelpGlobals ds.l 1 ; Help Mgr Globals
|
|||
|
emPPCGlobals ds.l 1 ; PPC Mgr globals
|
|||
|
emDataPub ds.l 1 ; Data Publications globals
|
|||
|
emReliability ds.l 1 ; Reliability manager globals
|
|||
|
emjRunSlotHandlrs ds.l 1 ; for slot mgrs
|
|||
|
emFolderCache ds.l 1 ; used by Folder Manager
|
|||
|
|
|||
|
vDoErase ds.l 1
|
|||
|
vCaretDisplay ds.l 1 ; Used by TextEdit for vectors
|
|||
|
vGetLRPosition ds.l 1 ; to patch Rom
|
|||
|
vGetRLPosition ds.l 1
|
|||
|
vOnLineEnd ds.l 1
|
|||
|
vCaretInsideRun ds.l 1
|
|||
|
vSetDirection ds.l 1
|
|||
|
vGetDirection ds.l 1
|
|||
|
vGetStylesInOrder ds.l 1
|
|||
|
vteGetFormatOrder ds.l 1
|
|||
|
vGetWidth ds.l 1
|
|||
|
vGetCurScript ds.l 1
|
|||
|
vOnSameLine ds.l 1
|
|||
|
vMeasureWidth ds.l 1
|
|||
|
vMeasureWholeRun ds.l 1
|
|||
|
vHiliteLineEnds ds.l 1
|
|||
|
vInvrtRectangle ds.l 1
|
|||
|
vPixelWidths ds.l 1
|
|||
|
vTEBufferText ds.l 1
|
|||
|
vDumpBuffer ds.l 1
|
|||
|
vCursorMovement ds.l 1
|
|||
|
vTestRunDirection ds.l 1
|
|||
|
vBufferChar ds.l 1
|
|||
|
vSetFont2Keyboard ds.l 1
|
|||
|
vSetKeyboard2Font ds.l 1
|
|||
|
vStyleGuts ds.l 1
|
|||
|
vConcatRuns ds.l 1
|
|||
|
|
|||
|
resourceMgrDirID ds.l 1 ; dirID one-shot for Resource Mgr
|
|||
|
emLAPAGlobals ds.l 1 ; LAP Mgr (router) globals
|
|||
|
emMailGlobals ds.l 1 ; AppleMail globals
|
|||
|
emADASGlobals ds.l 1 ; ADAS globals
|
|||
|
|
|||
|
emELAPGlobals ds.l 1 ; EtherTalk LAP globals
|
|||
|
|
|||
|
soundMgrGlobals ds.l 1 ; one global for ALL machines
|
|||
|
|
|||
|
emWindowListGlobals ds.l 1 ; <52> globals for layerless windowing
|
|||
|
|
|||
|
emDragGlobals ds.l 1 ; <64> globals for dragging stuff (in Finder, etc)
|
|||
|
|
|||
|
emFSCommon ds.l 1 ; <68> globals for FSCommon Library Modules
|
|||
|
emButtonMgrGlobals ds.l 1 ; <52> <70> globals for Button Manager (Not enUnused1 anymore)
|
|||
|
|
|||
|
emPack8Globals ds.w 1 ; <52> globals for Apple Event Manager package
|
|||
|
emPack9Globals ds.w 1 ; <52> globals for PPC Browser package
|
|||
|
|
|||
|
emProcessMgrExists ds.w 1 ; <58> true when Process Mgr is running
|
|||
|
|
|||
|
emPack11Globals ds.w 1 ; <52> globals for Edition Manager package
|
|||
|
|
|||
|
emWindowMgrFlags ds.w 1 ; <77> flags to speed CheckUpdateIn (previously emUnused2)
|
|||
|
|
|||
|
emPack13Globals ds.w 1 ; <52> globals for Data Access Manager package
|
|||
|
emPack14Globals ds.w 1 ; <52> globals for Balloon Help package
|
|||
|
|
|||
|
emResrvMemSemaphore ds.l 1 ; Semaphore for ResrvMem moved to here. Used to be emUnused4. <57>
|
|||
|
|
|||
|
emPack15Globals ds.w 1 ; <52> globals for Picture Utilities package
|
|||
|
|
|||
|
emSerialMgrGlobals ds.l 1 ; <70> globals for Serial Manager (one long out of emUnused3)
|
|||
|
emLanguagePackGlobals ds.l 1 ; <71> globals for LanguagePackExtension (one long out of emUnused3)
|
|||
|
|
|||
|
emStartTicks ds.l 1 ; PN global used by ListMgrPack
|
|||
|
|
|||
|
emRectRgn ds.l 1 ; <SM10> global used by WindowMgr routine <PN>
|
|||
|
|
|||
|
emPPCPromptForUserGlobals ds.l 1 ; <59> global used by PPC’s PromptForUser routine
|
|||
|
|
|||
|
emScrollSpeedGlobals ds.l 1 ; <58> global used by scroll speed throttling
|
|||
|
|
|||
|
emDialogGlobals ds.l 1 ; <53> FM Dialog Manager Globals
|
|||
|
|
|||
|
emAppleEvents ds.l 1 ; Apple Events (switched for each application)
|
|||
|
|
|||
|
sysErrorUpdateRect ds.w 4 ; rectangle for updating after SysError box goes away
|
|||
|
|
|||
|
emItlSysCachePtr ds.l 1 ; pointer to system itl cache <7><20>
|
|||
|
emScriptMapPtr ds.l 1 ; pointer to script mapping/sorting data <8>
|
|||
|
emLangMapPtr ds.l 1 ; pointer to language mapping/sorting data <8>
|
|||
|
|
|||
|
ds.l 1 ; was emNumer (obsolete), now unused <11><84>
|
|||
|
ds.l 1 ; was emDenom (obsolete), now unused <11><84>
|
|||
|
emIconCluts ds.l 1 ; Ptr to global icon info <13>
|
|||
|
emScriptAppGlobals ds.l 1 ; Handle to application-specific script globals <16><20><21>
|
|||
|
emAppleEventsGlobal ds.l 1 ; Apple Events/Apple Scripts global pointer (not switched) <22>
|
|||
|
emEditionMgrPerApp ds.l 1 ; EditionMgr global (switched) <22>
|
|||
|
|
|||
|
; Note: These vectors are not used by the local file system. They exist to provide a cleaner interface
|
|||
|
; to AppleShare and FileShare. Thus, you can't change these vectors and assume that you're patching
|
|||
|
; the file system. (This may change, however, so don't patch them expecting to only affect AppleShare and
|
|||
|
; FileShare, either).
|
|||
|
jSyncWait ds.l 1 ; points to the top of the HFS sync call spin loop <23>
|
|||
|
jAfterFSQHook ds.l 1 ; points into FSQueue just after return from calling fsQueueHook <23>
|
|||
|
jCmdDone ds.l 1 ; points to the top of File System Command Done processing <23>
|
|||
|
jDispatchNext ds.l 1 ; point into code where the FS checks for another call to process <23>
|
|||
|
jSCSIFreeHook ds.l 1 ; vector called by SCSI Mgr every time it frees the bus
|
|||
|
; this vector is used by the File System to complete SCSI Busy deferrals
|
|||
|
|
|||
|
; routines to manage the sound interrupt source
|
|||
|
jSetupSoundInterrupt ds.l 1
|
|||
|
jSuspendSoundInterrupt ds.l 1
|
|||
|
jResumeSoundInterrupt ds.l 1
|
|||
|
jAcknowledgeSoundInterrupt ds.l 1
|
|||
|
|
|||
|
; lomem for PaintOne and PaintBehind flag
|
|||
|
|
|||
|
ancestorRgnsCalced ds.w 1
|
|||
|
|
|||
|
emSndPrimitives ds.l 1 ; points to a vector table of sound primitive routines <30>
|
|||
|
|
|||
|
emMinSysHeapFreeSpace ds.l 1 ; contains a minimum memory value for sysheap free after allocations <31>
|
|||
|
|
|||
|
emHwPrivTable ds.l 1 ; Ptr to a jump table for HwPriv's selectors <36>
|
|||
|
emKeyTMTaskPtr ds.l 1 ; Ptr to a TimeMgr task that Eclipse Keyswitch uses to shut down <36>
|
|||
|
|
|||
|
emMessageManagerGlobals ds.l 3 ; Globals for the new message manager <32>
|
|||
|
|
|||
|
emDictionaryMgrPackHandle ds.l 1 ; handle to the package code <37>
|
|||
|
emDictionaryMgrUseCount ds.w 1 ; pack use count for ProcHelper
|
|||
|
|
|||
|
emWorldScriptIIPrintingGlobals ds.l 1 ; <66> it is now used by WS II printing stuff, so don't use it
|
|||
|
emHasMultiScript ds.w 1 ; true when non-Roman script system is installed. (but false until the Process Mgr is initialized)
|
|||
|
|
|||
|
emResourceCache ds.l 1 ; Information for calls to _CountResources and _GetIndResource
|
|||
|
emLastMapOverridden ds.w 1 ; Reference number of last resource map that was overriden
|
|||
|
emOverrideMapRefNum ds.w 1 ; Reference number of override map
|
|||
|
emScanOverrideMaps ds.w 1 ; Boolean determining whether or not override maps are scanned for resources
|
|||
|
|
|||
|
emPrintingGlobals ds.l 1 ; Tsunami Printing Manager non-swapped printing globals <41>
|
|||
|
|
|||
|
emCursorGlobals ds.l 1 ; Ptr to CursorDev globals <46>
|
|||
|
|
|||
|
emButtonIntGlobals ds.l 1 ; Ptr to Button Interrupt globals. previously Ptr to "real" SwapMMUMode routine <SM22> CSS
|
|||
|
|
|||
|
emAppleTalkInactiveOnBoot ds.w 1 ; True if AppleTalk was inactive on boot <48>
|
|||
|
|
|||
|
emOpenFontFiles ds.w 1 ; Count of open font files in the Fonts folder. <49>
|
|||
|
|
|||
|
emLowMemoryPrintingGlobals ds.l 1 ; Handle to globals used by LowMemoryPrintingPatches <50>
|
|||
|
|
|||
|
emNetBootGlobals ds.l 1 ; Handle to globals used by emNetBootGlobals for Network Booting and Appletalk stuff. <65>
|
|||
|
|
|||
|
emFndrDeskRgn ds.l 1 ; Handle to region maintained by Bungee Finder if fndrDeskRgnTracking is true <67> <69>
|
|||
|
|
|||
|
emFndrDeskRgnTracking ds.w 1 ; If true, the Bungee Finder will keep an up-to-date region handle in fndrDeskRgn of the icons on the desktop <67> <69>
|
|||
|
|
|||
|
emFndrDeskRgnChange ds.w 1 ; Always incremented by the Bungee Finder for every change made to the desktop <67> <69>
|
|||
|
|
|||
|
emDisplayManagerGlobals ds.l 1 ; Pointer to globals used by Display Manager
|
|||
|
|
|||
|
emTranslationMgrGlobals ds.l 1 ; Pointer to globals used by Translation Manager (Macintosh Easy Open) <73>
|
|||
|
|
|||
|
emTingeInfo ds.l 1 ; Handle to color information kept by the Tinge Manager
|
|||
|
|
|||
|
emIsDragging ds.b 1 ; Set within DragTheRgn and cleared before exiting; if true, HelpMgr
|
|||
|
emIsDraggingSlop ds.b 3 ; patch in OSEventAvail is bypassed. <SM1>
|
|||
|
|
|||
|
emRenoGlobals ds.l 1 ; Ptr to Reno Globals <LW2>
|
|||
|
|
|||
|
emDMADispatchGlobals ds.l 1 ; DMA dispatch globals ptr <SM20>
|
|||
|
|
|||
|
emInternalModemMgrGlobals ds.l 1 ; Internal modem manager globals <78>
|
|||
|
|
|||
|
emGadgetPixMap ds.l 1 ; PixMapHandle used by defprocs to draw gadgets
|
|||
|
|
|||
|
emAuxiliaryWindowHashTable ds.l 1 ; Pointer to auxiliary window record hash table
|
|||
|
emAuxiliaryControlHashTable ds.l 1 ; Pointer to auxiliary control record hash table
|
|||
|
|
|||
|
emIDEGlobals ds.l 1 ; IDE driver globals <SM24>
|
|||
|
|
|||
|
emSpeechRecognitionGlobals ds.l 1 ; Speech Recognition Globals <85><KWR>
|
|||
|
|
|||
|
emControlHandle ds.l 1 ; control handle used in _DragTheRgn when the thumb is being dragged so we can send a draw thumb outline message. <SM25> CSS
|
|||
|
|
|||
|
emHeapUtilsGlobals ds.l 1 ; Heap Utilities globals
|
|||
|
|
|||
|
emExpansionBusGlobals ds.l 1 ; Pointer to Expansion Bus Manager Globals
|
|||
|
|
|||
|
jSWModemSoundVector ds.l 1 ; Vector to control routine for software modem sound
|
|||
|
|
|||
|
; NOTE: When adding new fields here, be sure to update the high-level language header files as well
|
|||
|
; (currently {CInternal}ExpandMemPriv.h is the one)
|
|||
|
; Be sure to update the Reality sources when you change this file (and the version number)
|
|||
|
|
|||
|
emCurVersion EQU $0133 ; version
|
|||
|
|
|||
|
emRecSize equ * ; size for this version
|
|||
|
size equ *
|
|||
|
|
|||
|
ENDR
|
|||
|
|
|||
|
ENDIF ; ...already included
|