mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2025-01-01 11:29:27 +00:00
0ba83392d4
Resource forks are included only for .rsrc files. These are DeRezzed into their data fork. 'ckid' resources, from the Projector VCS, are not included. The Tools directory, containing mostly junk, is also excluded.
195 lines
3.4 KiB
Plaintext
195 lines
3.4 KiB
Plaintext
;
|
|
; File: PrintTrapsEqu.a
|
|
;
|
|
; Contains: xxx put contents here xxx
|
|
;
|
|
; Written by: xxx put writers here xxx
|
|
;
|
|
; Copyright: © 1991 by Apple Computer, Inc., all rights reserved.
|
|
;
|
|
; Change History (most recent first):
|
|
;
|
|
; <3> 1/30/91 gbm sab, #38: Change the Ôalready including this fileÕ variable to
|
|
; all uppercase (for security reasons)
|
|
;
|
|
; To Do:
|
|
;
|
|
|
|
; Version: 1.02
|
|
; Created: Tuesday, August 2, 1988 at 9:39:44 PM
|
|
;
|
|
; File: PrintTraps.a
|
|
;
|
|
; Assembler Interface to the Macintosh Libraries
|
|
; Copyright Apple Computer, Inc. 1986-1988
|
|
; All Rights Reserved
|
|
;
|
|
;_______________________________________________________________________
|
|
;
|
|
; PrintTraps.a: This file contains macros that
|
|
; assembly language programmers can include to use
|
|
; printing. It implements the Printing Manager
|
|
; calls through ROM traps.
|
|
;_______________________________________________________________________
|
|
IF &TYPE('__INCLUDINGPRINTTRAPSEQU__') = 'UNDEFINED' THEN
|
|
__INCLUDINGPRINTTRAPSEQU__ SET 1
|
|
|
|
|
|
;
|
|
MACRO
|
|
_PrOpenDoc
|
|
Move.l #$04000C00,-(sp)
|
|
DC.W $A8FD ; The new Print Trap
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrClosDoc
|
|
Move.l #$08000484,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrOpenPage
|
|
Move.l #$10000808,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrClosPage
|
|
Move.l #$1800040C,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrintDefault
|
|
Move.l #$20040480,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrStlDialog
|
|
Move.l #$2A040484,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrJobDialog
|
|
Move.l #$32040488,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrStlInit
|
|
Move.l #$3C04040C,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrJobInit
|
|
Move.l #$44040410,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrDlgMain
|
|
Move.l #$4A040894,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrValidate
|
|
Move.l #$52040498,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrJobMerge
|
|
Move.l #$5804089C,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrPicFile
|
|
Move.l #$60051480,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrHack
|
|
Move.l #$6C070C80,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrGeneral
|
|
Move.l #$70070480,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrDrvrOpen
|
|
Move.l #$80000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrDrvrClose
|
|
Move.l #$88000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrDrvrDCE
|
|
Move.l #$94000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrDrvrVers
|
|
Move.l #$9A000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrCtlCall
|
|
Move.l #$A0000E00,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrPurge
|
|
Move.l #$A8000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrNoPurge
|
|
Move.l #$B0000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrError
|
|
Move.l #$BA000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrSetError
|
|
Move.l #$C0000200,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrOpen
|
|
Move.l #$C8000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
;
|
|
MACRO
|
|
_PrClose
|
|
Move.l #$D0000000,-(sp)
|
|
DC.W $A8FD
|
|
ENDM
|
|
|
|
ENDIF ; ...already included |