******************************************************************************* * intuition.library.I Written by Readysoft. * Copyright 1993,1994 RS. All rights reserved. 1993.03.04.-1994.05.18. * v2.0. ******************************************************************************* ******************************************************************************* * Macros ******************************************************************************* ;------------------------------------------------------------------------------ ; IntuitionName Macro ;------------------------------------------------------------------------------ INL.NAM MACRO DC.B 'intuition.library',0 EVEN ENDM ;------------------------------------------------------------------------------ ; GadList Macro ;------------------------------------------------------------------------------ INL.GAL MACRO DC.W \1 # of gadgets in list ENDM ;------------------------------------------------------------------------------ ; Gadget Macro ;------------------------------------------------------------------------------ INL.GG MACRO DC.W \1,\2 identifier,flags DC.W \3,\4,\5,\6 xpos,ypos,width,height DC.L \7,\8 normobj,selobj ENDM ******************************************************************************* * Constant Definitions ******************************************************************************* ;------------------------------------------------------------------------------ ; CList Structure ;------------------------------------------------------------------------------ RSRESET inl_cl_COLORS RS.W 64 inl_cl_DIWSTRT RS.W 2 inl_cl_DIWSTOP RS.W 2 inl_cl_DDFSTRT RS.W 2 inl_cl_DDFSTOP RS.W 2 inl_cl_BPLCON1 RS.W 2 inl_cl_BPLCON2 RS.W 2 inl_cl_BPL1MOD RS.W 2 inl_cl_BPL2MOD RS.W 2 inl_cl_BPLPT RS.W 24 inl_cl_SizeOf RS.B 0 ;------------------------------------------------------------------------------ ; NewScreen Structure ;------------------------------------------------------------------------------ RSRESET inl_ns_LeftEdge RS.W 1 left edge inl_ns_TopEdge RS.W 1 top edge inl_ns_DWidth RS.W 1 display width inl_ns_DHeight RS.W 1 display height inl_ns_BPWidth RS.W 1 bitplane width inl_ns_BPHeight RS.W 1 bitplane height inl_ns_Depth RS.W 1 # of bitplanes inl_ns_ViewMode RS.W 1 viewmodes inl_ns_IDCMP RS.L 1 IDCMP flags inl_ns_BitPlane RS.L 1 ptr to custom bitplane inl_ns_Colors RS.L 1 ptr to palette inl_ns_SizeOf RS.B 0 ;------------------------------------------------------------------------------ ; Screen Structure ;------------------------------------------------------------------------------ RSRESET inl_sc_Next RS.L 1 ptr to next screen inl_sc_BackScr RS.L 1 prt to backgroundscreen inl_sc_Gadgets RS.L 1 ptr to gadget list inl_sc_IDCMP RS.L 1 IDCMP flags inl_sc_LeftEdge RS.W 1 left edge rel. inl_sc_TopEdge RS.W 1 top edge rel. inl_sc_Left RS.W 1 left abs. inl_sc_Top RS.W 1 left abs. inl_sc_DWidth RS.W 1 display width inl_sc_DHeight RS.W 1 display height inl_sc_BPWidth RS.W 1 bitplane width inl_sc_BPHeight RS.W 1 bitplane height inl_sc_Depth RS.W 1 # of bitplanes inl_sc_ViewMode RS.W 1 viewmode BPLCON0 inl_sc_Priority RS.W 1 priority BPLCON2 inl_sc_VHeight RS.W 1 visible height inl_sc_HOffs RS.W 1 horizontal offset inl_sc_VOffs RS.W 1 vertical offset inl_sc_BitPlane RS.L 1 ptr to first bitplane inl_sc_NextBPl RS.L 1 offset of next bitplane inl_sc_NextRaw RS.W 1 offset of next raw inl_sc_DRawSize RS.W 1 bytes p. raw on display inl_sc_MemAddr RS.L 1 addr. of allocated area inl_sc_MemSize RS.L 1 size of allocated area inl_sc_CList RS.L 1 address of CList inl_sc_Colors RS.W 32 colortable inl_sc_SizeOf RS.B 0 ;------------------------------------------------------------------------------ ; ViewMode Bit Definitions ;------------------------------------------------------------------------------ inl_wm_b_HIRES EQU 15 high resolution inl_wm_b_HOMOD EQU 11 hold and modify inl_wm_b_DBLPF EQU 10 double playfield inl_wm_b_LACE EQU 2 interlace ;------------------------------------------------------------------------------ ; ViewMode Values ;------------------------------------------------------------------------------ inl_wm_HIRES EQU 1<