supermario/base/SuperMarioProj.1994-02-09/Libs/InterfaceSrcs/PrintCalls.a
2019-06-29 23:17:50 +08:00

121 lines
2.4 KiB
Plaintext

;
; File: PrintCalls.a
;
; Contains: This file is the source code for the routines that high-level programmers can link
; against to use printing. It uses the routine PrGlue, which is included.
;
; Copyright: © 1990-1992 by Apple Computer, Inc. All rights reserved.
;
; Change History (most recent first):
;
; <SM2> 10/28/92 SWC Changed INCLUDEs to a LOAD of StandardEqu.d.
; <3> 7/24/91 MH Now includes the public files PrPrivate.a and PrintTrapsEqu.a
; instead of the private files :PrPrivate.a and :InnerPrintTraps.
; <2> 9/18/90 gbm fix up left over crap regarding ROM
;
BLANKS ON
STRING ASIS
LOAD 'StandardEqu.d'
INCLUDE 'PrintTrapsEqu.a'
INCLUDE 'Printing.a'
INCLUDE 'PrPrivate.a'
MACRO
_PrintCal
IMPORT PrintCalls
Move.l (sp),-(sp) ; Double-push return address
Move.l #&SysLst[1],4(sp) ; Overwrite earlier return address w/
.* ; glue parameter
Jmp PrintCalls ; into the glue
ENDM
;
PrOpenDoc PROC EXPORT
_PrintCal $04000C00
;
PrCloseDoc PROC EXPORT
_PrintCal $08000484
;
PrOpenPage PROC EXPORT
_PrintCal $10000808
;
PrClosePage PROC EXPORT
_PrintCal $1800040C
;
PrintDefault PROC EXPORT
_PrintCal $20040480
;
PrStlDialog PROC EXPORT
_PrintCal $2A040484
;
PrJobDialog PROC EXPORT
_PrintCal $32040488
;
PrStlInit PROC EXPORT
_PrintCal $3C04040C
;
PrJobInit PROC EXPORT
_PrintCal $44040410
;
PrDlgMain PROC EXPORT
_PrintCal $4A040894
;
PrValidate PROC EXPORT
_PrintCal $52040498
;
PrJobMerge PROC EXPORT
_PrintCal $5804089C
;
PrPicFile PROC EXPORT
_PrintCal $60051480
;
PrHack PROC EXPORT
_PrintCal $6C070C80
;
PrGeneral PROC EXPORT
_PrintCal $70070480
;
PrDrvrOpen PROC EXPORT
_PrintCal $80000000
;
PrDrvrClose PROC EXPORT
_PrintCal $88000000
;
PrDrvrDCE PROC EXPORT
_PrintCal $94000000
;
PrDrvrVers PROC EXPORT
_PrintCal $9A000000
;
PrCtlCall PROC EXPORT
_PrintCal $A0000E00
;
PrPurge PROC EXPORT
_PrintCal $A8000000
;
PrNoPurge PROC EXPORT
_PrintCal $B0000000
;
PrError PROC EXPORT
_PrintCal $BA000000
;
PrSetError PROC EXPORT
_PrintCal $C0000200
;
PrOpen PROC EXPORT
_PrintCal $C8000000
;
PrClose PROC EXPORT
_PrintCal $D0000000
;
;
; Now get the PrintCalls routine
;
INCLUDE ':PrGlue.a'
;
END