Path: utzoo!utgpu!water!watmath!clyde!att!ihnp4!cbmvax!carolyn From: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: Problem with double-buffering and some 1-second interrupt annoyance Message-ID: <4229@cbmvax.UUCP> Date: 11 Jul 88 21:41:41 GMT References: <3183@crash.cts.com> Reply-To: carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) Organization: Commodore Technology, West Chester, PA Lines: 44 In article <3183@crash.cts.com> haitex@pnet01.cts.com (Wade Bickel) writes: > > Hi Carolyn, > > What is this "_custom" your speaking of and where is it > documented? It's the address of the custom chips. It's defined in amiga.lib and is the address of the custom chips as C programmers reference it: 1. from C #include "hardware/custom.h" extern struct Custom custom; 2. Asm equivalent XREF _custom lea _custom, a0 3. Other way (hardcoding it in your source) The asm examples in the hardware manual use an EQU instead... CUSTOM EQU $DFF000 Remember though - the last thing you must do in your server is to load d0 with 0. You must exit server with Z flag set (as documented in the AW RKM Exec). -- ========================================================================== Carolyn Scheppner -- CATS Commodore Amiga Technical Support PHONE 215-431-9180 UUCP ...{uunet,allegra,rutgers}!cbmvax!carolyn Pad with zeros for a light, airy program. ==========================================================================