Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!tjw From: tjw@unix.cis.pitt.edu (TJ Wood WA3VQJ) Newsgroups: comp.sys.ibm.pc.hardware Subject: Re: Sound Blaster Registers Message-ID: <28335@unix.cis.pitt.edu> Date: 14 Aug 90 17:25:05 GMT References: <1990Aug7.153600.10175@IRO.UMontreal.CA> <28112@unix.cis.pitt.edu> <1990Aug14.042014.12967@Neon.Stanford.EDU> Reply-To: tjw@unix.cis.pitt.edu (Terry J. Wood) Organization: Univ. of Pittsburgh, Comp & Info Services Lines: 27 In article <1990Aug14.042014.12967@Neon.Stanford.EDU> minakami@Neon.Stanford.EDU (Michael K. Minakami) writes: >Why not just malloc some memory (large model MSC), find the closest 16-byte >boundary, and load the driver there? A little segment calculations and you >can get a 0-offset address. At least that's what I did...segment arithmatic >isn't the greatest thing in the world in C (lots of casting pointers to >longs and back again), but it seems to work. Well, the "problem" is that I'm not *really* a PC C programmer (I just play one at night). I thought about using malloc (if it's similar to the pdp-11 unix version) but this would take some additional digging on my part. I'd love to see some code to do this, (Hint, hint! ;-) >Has anyone gotten a Sound Blaster program to work under Windows? I thought >it'd be kind of neat to play some music while using QVT or something, but >apparently the two don't like each other. Maybe something to do with using >the DMA channel? That would be my first suspicion, too. Terry -- INTERNET: tjw@unix.cis.pitt.edu BITNET: TJW@PITTVMS CC-NET: 33802::tjw UUCP: {decwrl!decvax!idis, allegra, bellcore}!pitt!unix.cis.pitt.edu!tjw And if dreams could come true, I'd still be there with you, On the banks of cold waters at the close of the day. - Craig Johnson