ftp.delorie.com/archives/browse.cgi | search |
From: | semler AT raleigh DOT ibm DOT com |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Signed to Unsigned conversion |
Date: | 13 Jan 1997 15:10:10 GMT |
Organization: | IBM Zurich Research Laboratory |
Lines: | 10 |
Message-ID: | <5bdj8i$mlc@grimsel.zurich.ibm.com> |
References: | <32d7b6c1 DOT 868084 AT ursa DOT smsu DOT edu> |
Reply-To: | semler AT raleigh DOT ibm DOT com |
NNTP-Posting-Host: | semler.dk.ibm.com |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |