| |
Richard
Registered: Dec 2001 Posts: 621 |
Release id #76999 : SID Duzz' IT V2.0 Beta 7
I'm wondering if there is a music relocator for tunes that already have been packed for this version of SDI?. I tried one of the existing relocators (SDI Relocator V1.04). The tunes relocate, but Fredrik's game tunes will not play properly once relocated, they are a bit mixed up. Locations of tunes I wish to put them are $9000-$9xxx and $A000-$Axxx.
He's used V2.0 Beta 7 version of SDI.
|
|
| |
TheRyk
Registered: Mar 2009 Posts: 2218 |
We had this problem with Fredrik's tunes already 6 or 9 months ago. In my case I'd have liked to relocate sth to $a000 resp $c000 both didn't work. IIRC rambones tried to help but couldn't relocate Fredrik's tunes there either (at least not without corrupting them). |
| |
Fredrik Account closed
Registered: Apr 2009 Posts: 204 |
Would be great if the creator/creators of the program SDI relocator can fix the problem, and upload a new version.
Thanx
|
| |
Richard
Registered: Dec 2001 Posts: 621 |
I just tested the source code that came with the BM turbo assembler, dumped one of GRG's work tunes for testing and I just tried using the relocator/tune player source and used
* = $1000
relocate
* = $9000
.offs relocate-*
Assembled the source to $1000, along with the loaded dump file and then saved the data to $9000
Tried it out by using
lda #$00
jsr $9000
That didn't work, but if I used
lda #$00
tax
tay
jsr $9000
that initialises the music perfect and the tune will play nicely with jsr $9003 afterwards :)
|
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
the correct init is LDX, just X register is used.
look at the code in the init part, it starts by doing lda address,x |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
to compile a tune to 9000 or a000, where BM is located in RAM during compile, then:
.offs $6000
*=$9000
it will compile tune to 9000, but put it at $1000
(a000 + 6000 = 1000) |