Path: utzoo!utgpu!cunews!micor!latour!atronx!rwm From: rwm@atronx.OCUnix.On.Ca (Russell McOrmond) Newsgroups: comp.sys.amiga.hardware Subject: Re: A3000 boot colours Message-ID: <55724.661141543@atronx.OCUnix.On.Ca> Date: Thu Dec 13 20:25:43 1990 Followup-To: comp.sys.amiga.hardware In-Reply-To: DXB132@psuvm.psu.edu In a message posted on 12 Dec 90 18:05:01 GMT, DXB132@psuvm.psu.edu wrote: D>>bad idea to rely on this anyways). ASDG has a real easy command to the D>>siosbx.device - Does Supra have something similar for their modem0.device? If D>Could you describe how this command (in the ASDG driver) is implemented? If you do implement something similar, let me know , and I'll document it with all my stuff. Here's an exerpt from the code that I use - The ASDG stuff is basically right out of their manual: ... /* DTR.c -- handle DTR */ /****************************************/ /* Set com DTR line */ /* FALSE = DTR off; TRUE = dtr on */ /****************************************/ void SetInternalDTR(ios,set) IOSER *ios; int set; { struct CIA *Ciab; Ciab=(struct CIA *)0xBFD000; Disable(); Ciab->ciaddra |= CIAF_COMDTR; /* Set DTR as output */ if (set) Ciab->ciapra &= ~CIAF_COMDTR; /* Set DTR low */ else Ciab->ciapra |= CIAF_COMDTR; /* Set DTR high */ Enable(); } /****************************************************/ /* ASDG Dual Serial Board (and presumably 4 board) */ /* DTR control support. */ /****************************************************/ #define SIOCMD_SETCTRLLINES 0x10 #define SIOB_RTSB 0 #define SIOB_DTRB 1 #define SIOB_RTSF (1<IOSer.io_Command=SIOCMD_SETCTRLLINES; ios->IOSer.io_Offset=SIOB_DTRF; if(set==TRUE) { ios->IOSer.io_Length=SIOB_DTRF; } else { ios->IOSer.io_Length=0; } DoIO(ios); } /*************************************************/ void SerHangup() { if(ASDG_DSB) { SetAsdgDTR(&Iosw,FALSE); } else { SetInternalDTR(&Iosw,FALSE); } Delay(30); if(ASDG_DSB) { SetAsdgDTR(&Iosw,TRUE); } else { SetInternalDTR(&Iosw,TRUE); } Delay(60); } --- Opinions expressed in this message are my Own. My Employer does not even know what these networks ARE. Russell McOrmond rwm@Atronx.OCUnix.On.Ca {tigris,alzabo,...}!atronx!rwm FidoNet 1:163/109 Net Support: (613) 230-2282 Amiga-Fidonet Support 1:1/109