mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-29 20:49:19 +00:00
96 lines
3.5 KiB
Plaintext
96 lines
3.5 KiB
Plaintext
;
|
||
; File: ScriptMgrHeader.a
|
||
;
|
||
; Contains: Header for basic Script Mgr 'ptch' resource.
|
||
;
|
||
; Copyright: © 1986-1990, 1992 by Apple Computer, Inc., all rights reserved.
|
||
;
|
||
; Change History (most recent first):
|
||
;
|
||
; <4> 4/29/92 FM Get rid of SysVers conditionals
|
||
; <3> 4/10/90 PKE Deleted conditionalized definition of SysVers.
|
||
; <2> 3/25/90 PKE Updated header to BBS format. Don’t define forRom if undefined
|
||
; (it shouldn’t ever be).
|
||
; <1> 12/18/89 CCH Adding for the first time into BBS. Changed include 'inc.sum.a'
|
||
; to load 'StandardEqu.d'. Updated file name references.
|
||
;
|
||
; (BBS versions above, EASE versions below)
|
||
; <1.8> 8/26/89 PKE Cleaned up conditionals, changed Initialize to SMgrInitialize
|
||
; for System build too.
|
||
; <1.7> 8/22/89 SES Removed references to nFiles.
|
||
; <1.6> 6/23/89 PKE Skip definition of buildLevel (done in ScriptPriv.a).
|
||
; <1.5> 6/9/89 PKE Set patch ID=4 in Sys 6.04 as well as Sys 7.0
|
||
; <1.4> 3/12/89 PKE Get private SMgr version number from ScriptPriv.a, not public
|
||
; one from ScriptEqu.a.
|
||
; <1.3> 2/21/89 PKE Replaced with RomProj version, which already had system and Rom
|
||
; sources merged.
|
||
; (EASE ROMProj versions below)
|
||
; <1.5> 2/21/89 PKE Fix up LOAD files: always use include 'StandardEqu.d' and
|
||
; include 'ScriptPriv.a'.
|
||
; <1.4> 2/14/89 PKE Updated to use MPW 3.0 final ScriptEqu.a equate names
|
||
; <1.3> 2/3/89 PKE Merged with current system sources (CCH's 01/16/1989 merge of
|
||
; 6.0.4 and 7.0 sources, done in RES.sys:smgr)
|
||
; 2/2/89 pke Merged system sources and ROM sources
|
||
; <1.2> 11/14/88 PKE Synchronize EASE and Projector
|
||
; <1.1> 11/11/88 CCH Fixed Header.
|
||
; <1.0> 11/9/88 CCH Adding to EASE.
|
||
; (old EASE ROMProj versions below)
|
||
; <•1.3> 10/27/88 LDC Mods by Carl Hewitt and Brian McGhie in the process of putting
|
||
; Script Manager in ROM
|
||
; (EASE SYSProj versions below)
|
||
; <1.2> 2/14/89 PKE Updated to use MPW 3.0 final ScriptEqu.a equates
|
||
; <1.1> 1/16/89 CCH Merged 6.0.3 final sources into 7.0.
|
||
; <1.0> 11/16/88 CCH Added to EASE.
|
||
; (pre-EASE versions below)
|
||
; 10/18/88 ldc Can get minimal changes by including this in the ROM
|
||
; 10/10/88 ldc conditional assembly for rom
|
||
; 7/26/88 ldc defined smgrResourceNum
|
||
; ** changes above are for ROM or buildLevel >= 2 **
|
||
; 7/13/86 MED First draft: broke out from ScriptMgrInit.a
|
||
;___________________________________________________________________________________________________
|
||
; To Do:
|
||
;
|
||
;___________________________________________________________________________________________________
|
||
|
||
load 'standardequ.d'
|
||
include 'ScriptPriv.a'
|
||
|
||
IF (NOT forRom) THEN ; do this for 604 too <06/08/89 pke><08/26/89 pke>
|
||
smgrResourceNum equ 4
|
||
ENDIF
|
||
|
||
|
||
; -----------------------------------------------------------------------------
|
||
|
||
blanks on
|
||
string asis
|
||
|
||
IF NOT ForROM THEN
|
||
CodeEntry main export
|
||
ELSE
|
||
CodeEntry PROC export
|
||
ENDIF
|
||
|
||
IF NOT ForROM THEN
|
||
import SmgrInitialize ; start of init code
|
||
ENDIF
|
||
export versionAddress ; address of SMGR version
|
||
export PatchStart
|
||
|
||
IF NOT forRom THEN
|
||
bra.w SMgrInitialize ; branch over the header.
|
||
dc.l ('ptch') ; resource type.
|
||
dc.w smgrResourceNum ; resource number.
|
||
ENDIF
|
||
|
||
versionAddress
|
||
dc.w smgrVersPriv ; Use private version no. (in
|
||
; ScriptPriv.a) <03/12/89 pke>
|
||
|
||
PatchStart
|
||
; real code is linked in following this point
|
||
; -----------------------------------------------------------------------------
|
||
|
||
end
|
||
|