Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!gatech!seismo!ut-sally!pyramid!amiga!dale From: dale@amiga.UUCP Newsgroups: net.micro.amiga Subject: Re: Missing graphics routines Message-ID: <832@amiga.amiga.UUCP> Date: Sat, 8-Mar-86 22:54:58 EST Article-I.D.: amiga.832 Posted: Sat Mar 8 22:54:58 1986 Date-Received: Tue, 11-Mar-86 01:16:17 EST References: <154@heurikon.UUCP> Reply-To: dale@tooter.UUCP (Dale Luck) Distribution: net Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030 Lines: 51 In article <154@heurikon.UUCP> dave@heurikon.UUCP (Dave Scidmore) writes: >The routines "SetOpen()", "SetAfPt()" and "SetDrPt()" which are mentioned >in the ROM Kernel Manual volume 1, don't seem to appear in volume 2. These routines are currently implemented as macros. Look in gfxmacros.h There was a bug in 1.1 gfxmacros.h You might want to compare this one with the one you have. ----------------------Cut here---------------------------------- #ifndef GRAPHICS_GFXMACROS_H #define GRAPHICS_GFXMACROS_H /****** gfxmacros.h *************************************************/ /* */ /* Commodore-Amiga, Inc. */ /* */ /* Modification History */ /* date : author : Comments */ /* ------- ------ --------------------------------------- */ /* 8-24-84 Dale added this header file */ /* 9-06-84 Dale fixed macros using w-> to use (w)-> */ /* 9-07-84 Dale fixed macros to use new RastPort */ /* */ /********************************************************************/ #ifndef GRAPHICS_RASTPORT_H #include #endif #define ON_DISPLAY custom.dmacon = BITSET|DMAF_RASTER; #define OFF_DISPLAY custom.dmacon = BITCLR|DMAF_RASTER; #define ON_SPRITE custom.dmacon = BITSET|DMAF_SPRITE; #define OFF_SPRITE custom.dmacon = BITCLR|DMAF_SPRITE; #define ON_VBLANK custom.intena = BITSET|INTF_VERTB #define OFF_VBLANK custom.intena = BITCLR|INTF_VERTB #define SetOPen(w,c) {(w)->AOlPen = c;(w)->Flags |= AREAOUTLINE;} #define SetDrPt(w,p) {(w)->LinePtrn = p;(w)->Flags |= FRST_DOT;(w)->linpatcnt=15;} #define SetWrMsk(w,m) {(w)->Mask = m;} #define SetAfPt(w,p,n) {(w)->AreaPtrn = p;(w)->AreaPtSz = n;} #define BNDRYOFF(w) {(w)->Flags &= ~AREAOUTLINE;} #define CINIT(c,n) { UCopperListInit(c,n); } #define CMOVE(c,a,b) { CMove(c,&a,b);CBump(c); } #define CWAIT(c,a,b) { CWait(c,a,b);CBump(c); } #define CEND(c) { CWAIT(c,10000,255); } #endif ---------------------end of gfxmacros.h, cut here too-------