www.delorie.com/archives/browse.cgi | search |
From: | "Damian Yerrick" <web DOT poison AT pineight DOT 8m DOT com> |
Newsgroups: | comp.games.development.programming.misc,comp.os.msdos.djgpp |
References: | <7tj2lg$n15$1 AT news7 DOT svr DOT pol DOT co DOT uk> <7tlqls$79h$1 AT solomon DOT cs DOT rose-hulman DOT edu> <7tq30q$1fs$1 AT news4 DOT svr DOT pol DOT co DOT uk> |
Subject: | Re: A choking start for DPMI |
Lines: | 44 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300 |
X-MIMEOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300 |
Message-ID: | <1reN3.1368$sr2.50775@dfiatx1-snr1.gtei.net> |
X-Trace: | +rnM+hYZ1AvdTRh+H48utlDAXmEcTgmwkg/yiLN6Q2DjNkmmvGHn/eFDFXdqLJkRklffrqIr0daq!e1/exazrVNqWZQER9YiP1ouQvsUltN/JvXcxEGr4CdZ50/9AfgT0MF+GFsYXz47ZNbdD9Qk= |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Thu, 14 Oct 1999 06:07:57 GMT |
Distribution: | world |
Date: | Thu, 14 Oct 1999 06:07:59 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Ben Davis <ben AT vjpoole DOT freeserve DOT co DOT uk> wrote: > Damian Yerrick wrote: > >Ben Davis wrote: > >> I've written a rather hyperactive game using DJGPP > >> and Allegro, in DOS. > > > >Is it as insane as my Insane Game, part of DOSArena? > >http://come.to/yerrick > > I've tried your game. Sorry to disappoint you, but I'm afraid mine is MUCH > more insane. And there are more to come when this one's finished. If you > want to match mine, you'll have to make it so that nothing on the screen > ever stays the same. URL of work in progress? > >I assume that by "digitised music" you mean a wave file > >that has been tightly compressed by a lossy algorithm. (implying MP3 using libamp) > No. I'm using high quality PCM samples, but not a whole > piece of music; just a sample of each instrument. Then I'm > sequencing them. It's a very memory-efficient and good > quality method. Oh, software wavetable emulation. Allegro coders call this method DIGMID. Is that what you're using? > >You're also using Allegro. Look up LOCK_FUNCTION() > >and LOCK_VARIABLE(). Those are portable shortcuts > >to whatever those functions are called on your platform. > I'm using these anyway, for variables used in interrupts. I might try > locking everything, and I am told there is a way of doing this > automatically. I'll see what happens when I do. Lock what you use most. That's the guideline. Damian Yerrick http://come.to/yerrick
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |