delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/14/12:41:07

From: aho450s AT nic DOT smsu DOT edu (Tony O'Bryan)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Signed to Unsigned conversion
Date: Tue, 14 Jan 1997 01:36:44 GMT
Organization: Southwest Missouri State University
Lines: 16
Message-ID: <32dae2ad.3337206@ursa.smsu.edu>
References: <32d7b6c1 DOT 868084 AT ursa DOT smsu DOT edu> <5bdj8i$mlc AT grimsel DOT zurich DOT ibm DOT com>
NNTP-Posting-Host: forseti.i79.smsu.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 13 Jan 1997 15:10:10 GMT, semler AT raleigh DOT ibm DOT com wrote:

>In <32d7b6c1 DOT 868084 AT ursa DOT smsu DOT edu>, aho450s AT nic DOT smsu DOT edu (Tony O'Bryan) writes:

>>I want to learn the MOD format so I can write a MOD player that interfaces with
>>Allegro's sound routines.  I have the header decoded and the samples extracted,
>>but can't figure out how to convert the signed MOD sample data to unsigned data
>>suitable for playing on the Sound Blaster.  Thanks for any help you can give.
>
>Add 0x80 to each samplebyte.
>
>Kind regards, Henning Semler

Thank you very much.  Sometimes I over-complicate procedures. :)  Your
suggestion worked perfectly.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019