Re: SFX Expander programming and VICE

From: Gábor Lénárt <>
Date: Sat, 26 Nov 2011 20:32:22 +0100
Message-ID: <>
On Sat, Nov 26, 2011 at 10:07:05PM +1100, Daniel O'Shea wrote:
> Your PRG file worked for me under WinVICE (and sounds great!) but
> was silent under VICE on linux?

Ahaa ... Odd. I don't have any Windows at all, so I can't test that.
Actually I get signal 11 if I try to configure Vice x64 for the cartridge
emulation, so I used command line options to start for testing this way:

x64 -sfxse -sfxsetype 3812 -autostart c64_play

This way not signal 11, etc, but not sound at all, and not only with my
code, but also not with the official sound expander demo disk's program
either ...

Does anybody want to donate a 3812 equipped sound expander cartridge for me?
:) :) :)

> On 26/11/11 21:31, Gábor Lénárt wrote:
> >On Sat, Nov 26, 2011 at 02:12:20AM +0100, Groepaz wrote:
> >[...]
> >>if you manage to come up with a small test program (that works on the real
> >>thing) - PLEASE post a bug on the vice bugtracker :) soundexpander/sampler are
> >>both kinda hard to test with the original software.
> >
> >
> >
> >This is a quite large C64 prg file. It is only large because of the included
> >"song". Also if it produces any sound somehow (it should, but it does not
> >work for me with VICE) it may sounds poor, since the timing information is
> >not so correct yet. Anyway, if I ever can make it hearable, I would clean
> >the rest of the program and give the source, just first I like to make sure
> >it works at all: at this point I am not 100% sure if it is my fault that
> >it does not work or not. Unfortunately I have no real hardware (I have C64,
> >but not the cartridge) that's why I would need VICE to test.
> >
> >The heart of the code is just this:
> >
> >loop:
> >  [...]
> >  STA $DF40 ; YM register select, register number in A now
> >  [...]
> >  STA $DF50 ; write the register data, data in A now
> >  [...]
> >  Looping ...
> >
> >There are enough instructions between the two STAs and between do the
> >looping, so the needed minimal delay after YM register select/data write is
> >provided in this way.
>       Message was sent through the cbm-hackers mailing list

       Message was sent through the cbm-hackers mailing list
Received on 2011-11-26 20:00:18

Archive generated by hypermail 2.2.0.