home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!uvaarpa!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!paladin.american.edu!auvm!UXB.LIVERPOOL.AC.UK!ROYSAN
- Via: UK.AC.LIV.MAIL; 26 JAN 93 18:14:29 GMT
- X-Mailer: ELM [version 2.3 PL11]
- Message-ID: <14886.9301261814@uxb.liv.ac.uk>
- Newsgroups: bit.listserv.win3-l
- Date: Tue, 26 Jan 1993 18:14:34 GMT
- Sender: Microsoft Windows Version 3 Forum <WIN3-L@UICVM.BITNET>
- From: "Mr. R. Coates" <roysan@UXB.LIVERPOOL.AC.UK>
- Subject: Prog HELP!
- Lines: 36
-
- Okay, I know this isn't the right list, but I'm getting DESPERATE!!
-
- I need to know two things...
-
- 1. How to access video memory directly to write VERY fast graphics.
-
- 2. How to reproduce sampled sound through the PC speaker.
-
- I am working in assembler.
-
- 1. Having scoured computer bookshops, the best video reference I have found
- is Wilton's book which INSISTS that all graphics work be done via the
- graphics controller which is apallingly slow. There must be another
- way - look at some of the PC games graphics!
-
- 2. I have some sound samples which I would like to squirt out through the
- PC speaker. Novell once had a VIEWER.EXE prog which would do this even
- on a 4 MHz XT with very good quality. I have tried using pulse width
- modulation of the speaker control bits, and have also tried re-programming
- the sound timer. Both of these methods work but the quality is very
- scratchy and sounds clipped (despite scaling data).
-
- I have my asbestos suit on just in case there are some serious flames, but
- if anyone out there can help I'd be most grateful!!
-
- Roy.
-
- -------------------------------------------------------------------------------
- Sometimes, I wish that I could be what I was when I wanted to be what I am now.
- -------------------------------------------------------------------------------
- Roy Coates
- Dept of Mech Eng. Phone: 051-794-4862
- Liverpool University Fax: 051-794-4848
- P.O. Box 147
- Liverpool L69 3BX E-Mail: roysan@uxb.liverpool.ac.uk
- -------------------------------------------------------------------------------
-