; File:  M16.Quickdraw
;
;
; Copyright Apple Computer, Inc. 1986-90
; All Rights Reserved
;
;
 MACRO
&lab _AddPt
&lab ldx #$8004
     jsl $E10000
 MEND
 MACRO
&lab _CStringBounds
&lab ldx #$AE04
     jsl $E10000
 MEND
 MACRO
&lab _CStringWidth
&lab ldx #$AA04
     jsl $E10000
 MEND
 MACRO
&lab _CharBounds
&lab ldx #$AC04
     jsl $E10000
 MEND
 MACRO
&lab _CharWidth
&lab ldx #$A804
     jsl $E10000
 MEND
 MACRO
&lab _ClearScreen
&lab ldx #$1504
     jsl $E10000
 MEND
 MACRO
&lab _ClipRect
&lab ldx #$2604
     jsl $E10000
 MEND
 MACRO
&lab _ClosePoly
&lab ldx #$C204
     jsl $E10000
 MEND
 MACRO
&lab _ClosePort
&lab ldx #$1A04
     jsl $E10000
 MEND
 MACRO
&lab _CloseRgn
&lab ldx #$6E04
     jsl $E10000
 MEND
 MACRO
&lab _CopyRgn
&lab ldx #$6904
     jsl $E10000
 MEND
 MACRO
&lab _DiffRgn
&lab ldx #$7304
     jsl $E10000
 MEND
 MACRO
&lab _DisposeRgn
&lab ldx #$6804
     jsl $E10000
 MEND
 MACRO
&lab _DrawCString
&lab ldx #$A604
     jsl $E10000
 MEND
 MACRO
&lab _DrawChar
&lab ldx #$A404
     jsl $E10000
 MEND
 MACRO
&lab _DrawString
&lab ldx #$A504
     jsl $E10000
 MEND
 MACRO
&lab _DrawText
&lab ldx #$A704
     jsl $E10000
 MEND
 MACRO
&lab _EmptyRgn
&lab ldx #$7804
     jsl $E10000
 MEND
 MACRO
&lab _EqualPt
&lab ldx #$8304
     jsl $E10000
 MEND
 MACRO
&lab _EqualRect
&lab ldx #$5104
     jsl $E10000
 MEND
 MACRO
&lab _EqualRgn
&lab ldx #$7704
     jsl $E10000
 MEND
 MACRO
&lab _EraseArc
&lab ldx #$6404
     jsl $E10000
 MEND
 MACRO
&lab _EraseOval
&lab ldx #$5A04
     jsl $E10000
 MEND
 MACRO
&lab _ErasePoly
&lab ldx #$BE04
     jsl $E10000
 MEND
 MACRO
&lab _EraseRRect
&lab ldx #$5F04
     jsl $E10000
 MEND
 MACRO
&lab _EraseRect
&lab ldx #$5504
     jsl $E10000
 MEND
 MACRO
&lab _EraseRgn
&lab ldx #$7B04
     jsl $E10000
 MEND
 MACRO
&lab _FillArc
&lab ldx #$6604
     jsl $E10000
 MEND
 MACRO
&lab _FillOval
&lab ldx #$5C04
     jsl $E10000
 MEND
 MACRO
&lab _FillPoly
&lab ldx #$C004
     jsl $E10000
 MEND
 MACRO
&lab _FillRRect
&lab ldx #$6104
     jsl $E10000
 MEND
 MACRO
&lab _FillRect
&lab ldx #$5704
     jsl $E10000
 MEND
 MACRO
&lab _FillRgn
&lab ldx #$7D04
     jsl $E10000
 MEND
 MACRO
&lab _ForceBufDims
&lab ldx #$CC04
     jsl $E10000
 MEND
 MACRO
&lab _FrameArc
&lab ldx #$6204
     jsl $E10000
 MEND
 MACRO
&lab _FrameOval
&lab ldx #$5804
     jsl $E10000
 MEND
 MACRO
&lab _FramePoly
&lab ldx #$BC04
     jsl $E10000
 MEND
 MACRO
&lab _FrameRRect
&lab ldx #$5D04
     jsl $E10000
 MEND
 MACRO
&lab _FrameRect
&lab ldx #$5304
     jsl $E10000
 MEND
 MACRO
&lab _FrameRgn
&lab ldx #$7904
     jsl $E10000
 MEND
 MACRO
&lab _GetAddress
&lab ldx #$0904
     jsl $E10000
 MEND
 MACRO
&lab _GetArcRot
&lab ldx #$B104
     jsl $E10000
 MEND
 MACRO
&lab _GetBackColor
&lab ldx #$A304
     jsl $E10000
 MEND
 MACRO
&lab _GetBackPat
&lab ldx #$3504
     jsl $E10000
 MEND
 MACRO
&lab _GetCharExtra
&lab ldx #$D504
     jsl $E10000
 MEND
 MACRO
&lab _GetClip
&lab ldx #$2504
     jsl $E10000
 MEND
 MACRO
&lab _GetClipHandle
&lab ldx #$C704
     jsl $E10000
 MEND
 MACRO
&lab _GetColorEntry
&lab ldx #$1104
     jsl $E10000
 MEND
 MACRO
&lab _GetColorTable
&lab ldx #$0F04
     jsl $E10000
 MEND
 MACRO
&lab _GetCursorAdr
&lab ldx #$8F04
     jsl $E10000
 MEND
 MACRO
&lab _GetFGSize
&lab ldx #$CF04
     jsl $E10000
 MEND
 MACRO
&lab _GetFont
&lab ldx #$9504
     jsl $E10000
 MEND
 MACRO
&lab _GetFontFlags
&lab ldx #$9904
     jsl $E10000
 MEND
 MACRO
&lab _GetFontGlobals
&lab ldx #$9704
     jsl $E10000
 MEND
 MACRO
&lab _GetFontID
&lab ldx #$D104
     jsl $E10000
 MEND
 MACRO
&lab _GetFontInfo
&lab ldx #$9604
     jsl $E10000
 MEND
 MACRO
&lab _GetFontLore
&lab ldx #$D904
     jsl $E10000
 MEND
 MACRO
&lab _GetForeColor
&lab ldx #$A104
     jsl $E10000
 MEND
 MACRO
&lab _GetGrafProcs
&lab ldx #$4504
     jsl $E10000
 MEND
 MACRO
&lab _GetMasterSCB
&lab ldx #$1704
     jsl $E10000
 MEND
 MACRO
&lab _GetPen
&lab ldx #$2904
     jsl $E10000
 MEND
 MACRO
&lab _GetPenMask
&lab ldx #$3304
     jsl $E10000
 MEND
 MACRO
&lab _GetPenMode
&lab ldx #$2F04
     jsl $E10000
 MEND
 MACRO
&lab _GetPenPat
&lab ldx #$3104
     jsl $E10000
 MEND
 MACRO
&lab _GetPenSize
&lab ldx #$2D04
     jsl $E10000
 MEND
 MACRO
&lab _GetPenState
&lab ldx #$2B04
     jsl $E10000
 MEND
 MACRO
&lab _GetPicSave
&lab ldx #$3F04
     jsl $E10000
 MEND
 MACRO
&lab _GetPixel
&lab ldx #$8804
     jsl $E10000
 MEND
 MACRO
&lab _GetPolySave
&lab ldx #$4304
     jsl $E10000
 MEND
 MACRO
&lab _GetPort
&lab ldx #$1C04
     jsl $E10000
 MEND
 MACRO
&lab _GetPortLoc
&lab ldx #$1E04
     jsl $E10000
 MEND
 MACRO
&lab _GetPortRect
&lab ldx #$2004
     jsl $E10000
 MEND
 MACRO
&lab _GetROMFont
&lab ldx #$D804
     jsl $E10000
 MEND
 MACRO
&lab _GetRgnSave
&lab ldx #$4104
     jsl $E10000
 MEND
 MACRO
&lab _GetSCB
&lab ldx #$1304
     jsl $E10000
 MEND
 MACRO
&lab _GetSpaceExtra
&lab ldx #$9F04
     jsl $E10000
 MEND
 MACRO
&lab _GetStandardSCB
&lab ldx #$0C04
     jsl $E10000
 MEND
 MACRO
&lab _GetSysField
&lab ldx #$4904
     jsl $E10000
 MEND
 MACRO
&lab _GetSysFont
&lab ldx #$B304
     jsl $E10000
 MEND
 MACRO
&lab _GetTextFace
&lab ldx #$9B04
     jsl $E10000
 MEND
 MACRO
&lab _GetTextMode
&lab ldx #$9D04
     jsl $E10000
 MEND
 MACRO
&lab _GetTextSize
&lab ldx #$D304
     jsl $E10000
 MEND
 MACRO
&lab _GetUserField
&lab ldx #$4704
     jsl $E10000
 MEND
 MACRO
&lab _GetVisHandle
&lab ldx #$C904
     jsl $E10000
 MEND
 MACRO
&lab _GetVisRgn
&lab ldx #$B504
     jsl $E10000
 MEND
 MACRO
&lab _GlobalToLocal
&lab ldx #$8504
     jsl $E10000
 MEND
 MACRO
&lab _GrafOff
&lab ldx #$0B04
     jsl $E10000
 MEND
 MACRO
&lab _GrafOn
&lab ldx #$0A04
     jsl $E10000
 MEND
 MACRO
&lab _HideCursor
&lab ldx #$9004
     jsl $E10000
 MEND
 MACRO
&lab _HidePen
&lab ldx #$2704
     jsl $E10000
 MEND
 MACRO
&lab _InflateTextBuffer
&lab ldx #$D704
     jsl $E10000
 MEND
 MACRO
&lab _InitColorTable
&lab ldx #$0D04
     jsl $E10000
 MEND
 MACRO
&lab _InitCursor
&lab ldx #$CA04
     jsl $E10000
 MEND
 MACRO
&lab _InitPort
&lab ldx #$1904
     jsl $E10000
 MEND
 MACRO
&lab _InsetRect
&lab ldx #$4C04
     jsl $E10000
 MEND
 MACRO
&lab _InsetRgn
&lab ldx #$7004
     jsl $E10000
 MEND
 MACRO
&lab _InvertArc
&lab ldx #$6504
     jsl $E10000
 MEND
 MACRO
&lab _InvertOval
&lab ldx #$5B04
     jsl $E10000
 MEND
 MACRO
&lab _InvertPoly
&lab ldx #$BF04
     jsl $E10000
 MEND
 MACRO
&lab _InvertRRect
&lab ldx #$6004
     jsl $E10000
 MEND
 MACRO
&lab _InvertRect
&lab ldx #$5604
     jsl $E10000
 MEND
 MACRO
&lab _InvertRgn
&lab ldx #$7C04
     jsl $E10000
 MEND
 MACRO
&lab _KillPoly
&lab ldx #$C304
     jsl $E10000
 MEND
 MACRO
&lab _Line
&lab ldx #$3D04
     jsl $E10000
 MEND
 MACRO
&lab _LineTo
&lab ldx #$3C04
     jsl $E10000
 MEND
 MACRO
&lab _LocalToGlobal
&lab ldx #$8404
     jsl $E10000
 MEND
 MACRO
&lab _MapPoly
&lab ldx #$C504
     jsl $E10000
 MEND
 MACRO
&lab _MapPt
&lab ldx #$8A04
     jsl $E10000
 MEND
 MACRO
&lab _MapRect
&lab ldx #$8B04
     jsl $E10000
 MEND
 MACRO
&lab _MapRgn
&lab ldx #$8C04
     jsl $E10000
 MEND
 MACRO
&lab _Move
&lab ldx #$3B04
     jsl $E10000
 MEND
 MACRO
&lab _MovePortTo
&lab ldx #$2204
     jsl $E10000
 MEND
 MACRO
&lab _MoveTo
&lab ldx #$3A04
     jsl $E10000
 MEND
 MACRO
&lab _NewRgn
&lab ldx #$6704
     jsl $E10000
 MEND
 MACRO
&lab _NotEmptyRect
&lab ldx #$5204
     jsl $E10000
 MEND
 MACRO
&lab _ObscureCursor
&lab ldx #$9204
     jsl $E10000
 MEND
 MACRO
&lab _OffsetPoly
&lab ldx #$C404
     jsl $E10000
 MEND
 MACRO
&lab _OffsetRect
&lab ldx #$4B04
     jsl $E10000
 MEND
 MACRO
&lab _OffsetRgn
&lab ldx #$6F04
     jsl $E10000
 MEND
 MACRO
&lab _OpenPoly
&lab ldx #$C104
     jsl $E10000
 MEND
 MACRO
&lab _OpenPort
&lab ldx #$1804
     jsl $E10000
 MEND
 MACRO
&lab _OpenRgn
&lab ldx #$6D04
     jsl $E10000
 MEND
 MACRO
&lab _PPToPort
&lab ldx #$D604
     jsl $E10000
 MEND
 MACRO
&lab _PaintArc
&lab ldx #$6304
     jsl $E10000
 MEND
 MACRO
&lab _PaintOval
&lab ldx #$5904
     jsl $E10000
 MEND
 MACRO
&lab _PaintPixels
&lab ldx #$7F04
     jsl $E10000
 MEND
 MACRO
&lab _PaintPoly
&lab ldx #$BD04
     jsl $E10000
 MEND
 MACRO
&lab _PaintRRect
&lab ldx #$5E04
     jsl $E10000
 MEND
 MACRO
&lab _PaintRect
&lab ldx #$5404
     jsl $E10000
 MEND
 MACRO
&lab _PaintRgn
&lab ldx #$7A04
     jsl $E10000
 MEND
 MACRO
&lab _PenNormal
&lab ldx #$3604
     jsl $E10000
 MEND
 MACRO
&lab _Pt2Rect
&lab ldx #$5004
     jsl $E10000
 MEND
 MACRO
&lab _PtInRect
&lab ldx #$4F04
     jsl $E10000
 MEND
 MACRO
&lab _PtInRgn
&lab ldx #$7504
     jsl $E10000
 MEND
  MACRO
&lab _QDBootInit &params
&lab jsl $E100A8
 dc i2"$0104"
 dc i4"&params"
  MEND
 MACRO
&lab _QDReset
&lab ldx #$0504
     jsl $E10000
 MEND
 MACRO
&lab _QDShutDown
&lab ldx #$0304
     jsl $E10000
 MEND
 MACRO
&lab _QDStartUp
&lab ldx #$0204
     jsl $E10000
 MEND
 MACRO
&lab _QDStatus
&lab ldx #$0604
     jsl $E10000
 MEND
 MACRO
&lab _QDVersion
&lab ldx #$0404
     jsl $E10000
 MEND
 MACRO
&lab _Random
&lab ldx #$8604
     jsl $E10000
 MEND
 MACRO
&lab _RectInRgn
&lab ldx #$7604
     jsl $E10000
 MEND
 MACRO
&lab _RectRgn
&lab ldx #$6C04
     jsl $E10000
 MEND
 MACRO
&lab _RestoreBufDims
&lab ldx #$CE04
     jsl $E10000
 MEND
 MACRO
&lab _SaveBufDims
&lab ldx #$CD04
     jsl $E10000
 MEND
 MACRO
&lab _ScalePt
&lab ldx #$8904
     jsl $E10000
 MEND
 MACRO
&lab _ScrollRect
&lab ldx #$7E04
     jsl $E10000
 MEND
 MACRO
&lab _SectRect
&lab ldx #$4D04
     jsl $E10000
 MEND
 MACRO
&lab _SectRgn
&lab ldx #$7104
     jsl $E10000
 MEND
 MACRO
&lab _SetAllSCBs
&lab ldx #$1404
     jsl $E10000
 MEND
 MACRO
&lab _SetArcRot
&lab ldx #$B004
     jsl $E10000
 MEND
 MACRO
&lab _SetBackColor
&lab ldx #$A204
     jsl $E10000
 MEND
 MACRO
&lab _SetBackPat
&lab ldx #$3404
     jsl $E10000
 MEND
 MACRO
&lab _SetBufDims
&lab ldx #$CB04
     jsl $E10000
 MEND
 MACRO
&lab _SetCharExtra
&lab ldx #$D404
     jsl $E10000
 MEND
 MACRO
&lab _SetClip
&lab ldx #$2404
     jsl $E10000
 MEND
 MACRO
&lab _SetClipHandle
&lab ldx #$C604
     jsl $E10000
 MEND
 MACRO
&lab _SetColorEntry
&lab ldx #$1004
     jsl $E10000
 MEND
 MACRO
&lab _SetColorTable
&lab ldx #$0E04
     jsl $E10000
 MEND
 MACRO
&lab _SetCursor
&lab ldx #$8E04
     jsl $E10000
 MEND
 MACRO
&lab _SetEmptyRgn
&lab ldx #$6A04
     jsl $E10000
 MEND
 MACRO
&lab _SetFont
&lab ldx #$9404
     jsl $E10000
 MEND
 MACRO
&lab _SetFontFlags
&lab ldx #$9804
     jsl $E10000
 MEND
 MACRO
&lab _SetFontID
&lab ldx #$D004
     jsl $E10000
 MEND
 MACRO
&lab _SetForeColor
&lab ldx #$A004
     jsl $E10000
 MEND
 MACRO
&lab _SetGrafProcs
&lab ldx #$4404
     jsl $E10000
 MEND
 MACRO
&lab _SetIntUse
&lab ldx #$B604
     jsl $E10000
 MEND
 MACRO
&lab _SetMasterSCB
&lab ldx #$1604
     jsl $E10000
 MEND
 MACRO
&lab _SetOrigin
&lab ldx #$2304
     jsl $E10000
 MEND
 MACRO
&lab _SetPenMask
&lab ldx #$3204
     jsl $E10000
 MEND
 MACRO
&lab _SetPenMode
&lab ldx #$2E04
     jsl $E10000
 MEND
 MACRO
&lab _SetPenPat
&lab ldx #$3004
     jsl $E10000
 MEND
 MACRO
&lab _SetPenSize
&lab ldx #$2C04
     jsl $E10000
 MEND
 MACRO
&lab _SetPenState
&lab ldx #$2A04
     jsl $E10000
 MEND
 MACRO
&lab _SetPicSave
&lab ldx #$3E04
     jsl $E10000
 MEND
 MACRO
&lab _SetPolySave
&lab ldx #$4204
     jsl $E10000
 MEND
 MACRO
&lab _SetPort
&lab ldx #$1B04
     jsl $E10000
 MEND
 MACRO
&lab _SetPortLoc
&lab ldx #$1D04
     jsl $E10000
 MEND
 MACRO
&lab _SetPortRect
&lab ldx #$1F04
     jsl $E10000
 MEND
 MACRO
&lab _SetPortSize
&lab ldx #$2104
     jsl $E10000
 MEND
 MACRO
&lab _SetPt
&lab ldx #$8204
     jsl $E10000
 MEND
 MACRO
&lab _SetRandSeed
&lab ldx #$8704
     jsl $E10000
 MEND
 MACRO
&lab _SetRect
&lab ldx #$4A04
     jsl $E10000
 MEND
 MACRO
&lab _SetRectRgn
&lab ldx #$6B04
     jsl $E10000
 MEND
 MACRO
&lab _SetRgnSave
&lab ldx #$4004
     jsl $E10000
 MEND
 MACRO
&lab _SetSCB
&lab ldx #$1204
     jsl $E10000
 MEND
 MACRO
&lab _SetSolidBackPat
&lab ldx #$3804
     jsl $E10000
 MEND
 MACRO
&lab _SetSolidPenPat
&lab ldx #$3704
     jsl $E10000
 MEND
 MACRO
&lab _SetSpaceExtra
&lab ldx #$9E04
     jsl $E10000
 MEND
 MACRO
&lab _SetStdProcs
&lab ldx #$8D04
     jsl $E10000
 MEND
 MACRO
&lab _SetSysField
&lab ldx #$4804
     jsl $E10000
 MEND
 MACRO
&lab _SetSysFont
&lab ldx #$B204
     jsl $E10000
 MEND
 MACRO
&lab _SetTextFace
&lab ldx #$9A04
     jsl $E10000
 MEND
 MACRO
&lab _SetTextMode
&lab ldx #$9C04
     jsl $E10000
 MEND
 MACRO
&lab _SetTextSize
&lab ldx #$D204
     jsl $E10000
 MEND
 MACRO
&lab _SetUserField
&lab ldx #$4604
     jsl $E10000
 MEND
 MACRO
&lab _SetVisHandle
&lab ldx #$C804
     jsl $E10000
 MEND
 MACRO
&lab _SetVisRgn
&lab ldx #$B404
     jsl $E10000
 MEND
 MACRO
&lab _ShowCursor
&lab ldx #$9104
     jsl $E10000
 MEND
 MACRO
&lab _ShowPen
&lab ldx #$2804
     jsl $E10000
 MEND
 MACRO
&lab _SolidPattern
&lab ldx #$3904
     jsl $E10000
 MEND
 MACRO
&lab _StringBounds
&lab ldx #$AD04
     jsl $E10000
 MEND
 MACRO
&lab _StringWidth
&lab ldx #$A904
     jsl $E10000
 MEND
 MACRO
&lab _SubPt
&lab ldx #$8104
     jsl $E10000
 MEND
 MACRO
&lab _TextBounds
&lab ldx #$AF04
     jsl $E10000
 MEND
 MACRO
&lab _TextWidth
&lab ldx #$AB04
     jsl $E10000
 MEND
 MACRO
&lab _UnionRect
&lab ldx #$4E04
     jsl $E10000
 MEND
 MACRO
&lab _UnionRgn
&lab ldx #$7204
     jsl $E10000
 MEND
 MACRO
&lab _XorRgn
&lab ldx #$7404
     jsl $E10000
 MEND
