mirror of
https://github.com/elliotnunn/supermario.git
synced 2024-11-29 20:49:19 +00:00
81 lines
3.7 KiB
Plaintext
81 lines
3.7 KiB
Plaintext
|
;
|
|||
|
; File: SplineDefines.a
|
|||
|
;
|
|||
|
; Contains: All particular spline definitions needed for the spline package.
|
|||
|
;
|
|||
|
; Written by: Charlton E. Lui
|
|||
|
;
|
|||
|
; Copyright: © 1989-1990 by Apple Computer, Inc., all rights reserved.
|
|||
|
;
|
|||
|
; Change History (most recent first):
|
|||
|
;
|
|||
|
; <2> 2/1/91 CL (MR)Setting debugging to zero if it is not defined.
|
|||
|
; <9> 10/10/90 JL Changed DebugStr to MDebugStr because of conflict with Opword.
|
|||
|
; <8> 7/9/90 CL Took out old code.
|
|||
|
; <7> 6/22/90 CL Took out equates that existed in other includes.
|
|||
|
; <6> 5/29/90 CL Took out width table references to the cache handles.
|
|||
|
; <5> 5/3/90 CL Got rid of old comments. may have added support for extra memory
|
|||
|
; area.
|
|||
|
; <4> 4/10/90 CL Added support for double byte codes. Worked on disk caching.
|
|||
|
; <3> 3/20/90 CL support for tag format
|
|||
|
; <2> 2/27/90 CL suppport for DrText’s optimizations
|
|||
|
; <1.9> 11/14/89 CEL Adding Device left side bearing.
|
|||
|
; <1.8> 9/15/89 CEL Added flag to turn on debugging from macsbug.
|
|||
|
; <1.7> 8/28/89 CEL Updated splinekey to match c defines.
|
|||
|
; <1.6> 8/14/89 CEL Added memory macros. Added in encrytion var in width table.
|
|||
|
; Added splineKeyRec.
|
|||
|
; <1.5> 8/1/89 CEL Conditionalized the Debug Macro. Used assembly records for
|
|||
|
; structures that are passed between Drtext and buffer code. Added
|
|||
|
; NewTempHandle, NewTempBuffer, NewDisposeHandle macros.
|
|||
|
; <1.4> 6/10/89 CEL Moved Private.a QuickDraw Equates into proper QuickDraw private
|
|||
|
; file (colorequ.a), got rid of QuickDraw nFiles dependencies and
|
|||
|
; fixed up necessary files…
|
|||
|
; <1.3> 6/2/89 CEL Changed translate24To32 trap address so we can worked with
|
|||
|
; 32-bit QD once more
|
|||
|
; <1.2> 5/26/89 CEL Integrated the new Font Scaler 1.0 into Spline Fonts
|
|||
|
; <•1.1> 5/3/89 CEL All kinks worked out, Blasting in bass files…
|
|||
|
; <1.0> 5/2/89 CEL Rolling in bass for the first time…
|
|||
|
;
|
|||
|
; To Do:
|
|||
|
;
|
|||
|
;——————————————————————————————————————————————————————————————————————————————————————————
|
|||
|
BLANKS ON
|
|||
|
STRING PASCAL
|
|||
|
|
|||
|
;——————————————————————————————————————————————————————————————————————————————————————————
|
|||
|
; Debug Macros
|
|||
|
;——————————————————————————————————————————————————————————————————————————————————————————
|
|||
|
IF (&TYPE('debugging') = 'UNDEFINED') THEN
|
|||
|
debugging EQU 0 ; <CEL-2>
|
|||
|
ENDIF
|
|||
|
|
|||
|
MACRO
|
|||
|
Check &ea,&dReg
|
|||
|
IF debugging THEN
|
|||
|
CHK &ea,&dReg
|
|||
|
ENDIF
|
|||
|
ENDM
|
|||
|
|
|||
|
IF (&TYPE('_Debug') = 'UNDEFINED') THEN
|
|||
|
MACRO
|
|||
|
_Debug
|
|||
|
IF debugging THEN
|
|||
|
DC.W $A9FF
|
|||
|
ENDIF
|
|||
|
ENDM
|
|||
|
ENDIF
|
|||
|
|
|||
|
MACRO
|
|||
|
_MDebugStr &foo
|
|||
|
IF debugging THEN
|
|||
|
BRA.S @1
|
|||
|
@0 DC.B &foo
|
|||
|
@1 PEA @0
|
|||
|
DC.W $ABFF
|
|||
|
ENDIF
|
|||
|
ENDM
|
|||
|
;——————————————————————————————————————————————————————————————————————————————————————————
|
|||
|
;——————————————————————————————————————————————————————————————————————————————————————————
|
|||
|
|
|||
|
|