[EMAIL PROTECTED] wrote:

> >That chip is a DAC equal to the one included in Pai no
> >Majutsushi.
> 
> I came this far by hacking the code myself and examining the output file
> of a wave...

It's so simple: it's a linear DAC (very similar to PCM turbo-r) using
the address 4000h as out port. To make the conversion, you only have
to change LD (4000h),A -> OUT (0A4),A  (look for 32 00 40 and write
00 D3 A4 instead).

And don't forget to initialize the PCM port before:
LD      A,3
OUT     (0A5h),A


Greetings,


Jose Angel Morente ([EMAIL PROTECTED])
*MSX DREAMS*       ([EMAIL PROTECTED])

Join HispaMSX! *The Spanish Mailing List*
http://es.onelist.com/community/hispamsx
[EMAIL PROTECTED]

msxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsxmsx

****
MSX Mailinglist. To unsubscribe, send an email to [EMAIL PROTECTED]
and put "unsubscribe msx [EMAIL PROTECTED]" (without the quotes) in
the body (not the subject) of the message.
Problems? contact [EMAIL PROTECTED]
More information on MSX can be found in the following places:
 The MSX faq: http://www.faq.msxnet.org/
 The MSX newsgroup: comp.sys.msx
 The MSX IRC channel: #MSX on Undernet
****

Reply via email to