| |
Sasq
Registered: Apr 2004 Posts: 156 |
Sidplay BASIC start
I need to add support for the BASIC flag to the VicePlugin of my music player.
I naively just tried to change InitAddr to $A871 but that doesn't seem to work. Anyone know what would be involved?
The current loader (without BASIC support) can be found at;
https://github.com/sasq64/droidsound/blob/master/jni/VICEPlugin..
|
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
init 0, play 0, basic flag on
you can also run a demo/game and get the sound.
sidplay just plays anything basic, so a game with cracktro on, you will get to hear the intro tune :) |
| |
Sasq
Registered: Apr 2004 Posts: 156 |
I wasn't clear, I meant for playing sids but not using libsidplay/resid. Droidsound has a great sidplugin based on VICE, but unfortunately it does not support the BASIC flag, and I want to change that.
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
you should contact dag lem |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
you basically have to do what vice does when it autostarts prg files.... reset, wait until PC hits basic interpreter loop, inject program to ram, patch some pointers accordingly, start program using "run". |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
Quote: I wasn't clear, I meant for playing sids but not using libsidplay/resid. Droidsound has a great sidplugin based on VICE, but unfortunately it does not support the BASIC flag, and I want to change that.
offtopic: Didn't know you was the one coding DroidSound! Great app, been using it for years. But now I switched to iOS... :) |