Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site rruxo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!pyuxww!pyuxv!rruxa!rruxo!vch From: vch@rruxo.UUCP (Kerro Panille) Newsgroups: net.micro.pc Subject: Re: Speaker control on XTs Message-ID: <125@rruxo.UUCP> Date: Tue, 19-Nov-85 10:24:38 EST Article-I.D.: rruxo.125 Posted: Tue Nov 19 10:24:38 1985 Date-Received: Wed, 20-Nov-85 08:32:01 EST References: <1686@uwmacc.UUCP> Organization: Colony, Pandora Lines: 31 >I find myself in need of some help. Can anyone out there point >me in there direction of finding a reference? I am trying to >access the speaker of my XT via assmebly language routines, and >I am having a devil of a time. Any magazine or journal references >that you might recommend? The speaker is accessed by a port number - use the IN and OUT instructions to access it. I don't know exactly what port it is, but it should be in the IBM Technical Reference Manual. Peter Norton has a few sample assembler programs in his book, Inside The IBM PC. Chapter 3, listing 3.2. Norton also goes into a little detail as to how this works. Here it is, the speaker port is number 61 (hex). Inside The IBM PC is a good book for beginners - it does not go into great detail, but should be sufficient for most simple tasks. Buy an assembly language book for more details. Manuals also help. -- Vince Hatem ---------------- A Bell Communications Research | UZI |----------|_ _ _\/ T Raritan River Software Systems Center | |----------| /\ & 444 Hoes Lane ---------------- ROGER GUTS T 4D-360 / /\ DON'T NEED NO STINKIN' Piscataway, NJ 08854 / / NECKTIES (201) 699-4869 /-----/ ...ihnp4!rruxo!vch TRUE GRIT MYSTERIES - The detective series for those who NEVER eat quiche! (WARNING - MAY BE EMOTIONALLY DISTURBING TO HAMSTER LOVERS)