Re: Playing samples on both new and old SIDs

From: Robin Harbron (macbeth_at_psw.nu)
Date: 2000-07-27 19:19:54

Thanks to everyone for the responses - and the new discussion, which
I'm finding quite interesting.  I'm having a bit of trouble re: my
original question:

"Hársfalvi, Levente" wrote:
> > I know that there is a way to get samples (digis, etc.)
> > to play loudly on new SIDs as well as the old ones - I'm
> > looking for a software solution.
> 
> That's simple: init all sound sources to play 100% pulse width
> squarewaves. With this, changing the volume register will generate the
> same ramps as you'd get with a 6581.

>From what you're saying, is this all the code I should need?

lda #255 ;max pulse width
sta $d402
sta $d403
sta $d409
sta $d40a
sta $d410
sta $d411

lda #64 ;select pulse waveform in control registers
sta $d404
sta $d40b
sta $d412

I'm asking because this is what I've tried, and it doesn't seem
to make any noticeable difference in volume for the digis.  Thanks!
-- 
Robin Harbron   macbeth@psw.nu
http://www.tbaytel.net/macbeth
      http://www.psw.nu/
-
This message was sent through the cbm-hackers mailing list.
To unsubscribe: echo unsubscribe | mail cbm-hackers-request@dot.tcm.hut.fi.

Archive generated by hypermail 2.1.1.