Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 3, 2011 14:48:31 GMT -5
So I checked this out, and it's missing the SMPS driver ASM file... boo
|
|
|
Post by sega16 on Sept 3, 2011 21:45:23 GMT -5
I checked the zip file and it is NOT in the root directory instead it is in the folder called smps with the name "smps_every_song.asm" look for that. Also can you compile smps_new.bex ?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 3, 2011 23:00:42 GMT -5
yeah, it was in a completely different folder. I got it figured out. Pretty neat stuff.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 18, 2011 0:26:47 GMT -5
Alright, so I've run into some weirdness with this player...
1.) DAC drums seem to not want to be played. When I tested it in the converter, it played them just fine.
2.) after 2 or 3 iterations of the song, the sound gets all messed up.
Any ideas on why?
|
|
|
Post by sega16 on Sept 18, 2011 16:29:40 GMT -5
I have never had any problems like this in kega fusion could you post the code you use to play the songs? Hint: smps_new.bex has a working player also checkout smps_new.bin and compile smps_new.bex and make sure they run the same.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 18, 2011 16:51:17 GMT -5
The source is the one provided with the download. The only thing changed was the inclusion of the file. I will double check to make sure I'm using smps_new.bex though.
Here's the code:
asm jsr LoadZ80drv end asm
on vblank gosub vint enable interruptvblank asm move.b #$02,d0 jsr PlaySound end asm while 1 locate 1,1: print "Music" wend vint: disable interruptvblank
asm movem.l d0-a6,-(a7) jsr Z80Process movem.l (a7)+,d0-a6 end asm
enable interruptvblank return
asm include "smps\smps_every_song.asm" include "asm\PCM_Samples.asm" end asm
Also, it won't play on the Everdrive. Not sure if this can be fixed or not...
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 18, 2011 20:41:35 GMT -5
Another option would be how to convert xm3smps to S3's driver to use with Kramlib. I tried using the converter, but it kept saying it was the wrong offset, so I'm not sure how to convert it properly. I know in your crazy bus thread, you said it played too fast, but I'd still like to experiment. What tool did you use to convert the output smps file to be compatible with Kramlib's hacked driver?
|
|
|
Post by sega16 on Sept 19, 2011 15:37:44 GMT -5
Alright, so I've run into some weirdness with this player... 1.) DAC drums seem to not want to be played. When I tested it in the converter, it played them just fine. 2.) after 2 or 3 iterations of the song, the sound gets all messed up. Any ideas on why? Your code is just fine. It is just song 2 that has the problem the reason for the song messing up was because I was lazy and did not finish re arranging (I had to move the guitar to another channel) the midi/xm file so that is why it is wrong all the other songs are good. Try something like this asm move.b #$0C,d0 ;plays sound 12 collison chaos present from sonic cd (japen) jsr PlaySound end asm
Sorry for the confusion also what do you mean it does not play on the everdrive.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 19, 2011 15:58:48 GMT -5
It freezes on the everdrive... it won't play more than 1 or 2 notes, then bzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz.
Here's another question for you. In the tracker, do you have to have the tracks in order like this: FM1, FM2, FM3, FM4, FM5, FM6/DAC? If so, that may be my problem.
|
|
|
Post by sega16 on Sept 19, 2011 16:08:42 GMT -5
No the order does NOT matter Also for the everdrive try removing the disable enable in the vint to get:
vint:
asm movem.l d0-a6,-(a7) jsr Z80Process movem.l (a7)+,d0-a6 end asm
return
I think that should fix it.I don't know what the enable and disable thing was for.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 19, 2011 16:15:33 GMT -5
Alright, I'll give that shot in a little bit to see how it works.
|
|
|
Post by sega16 on Sept 19, 2011 16:35:27 GMT -5
Alright, I'll give that shot in a little bit to see how it works. Glad I could help and I hope it works for you! Also you may need to pad the rom (files that are not exactly 1-32 megabits (not bytes) so a 4 megabit rom which this smps player is would be exactly 524,288 bytes or 512kb I have heard people have trouble with un-padded roms not sure if that could be the reason why it does not work A have attached something called lightning's rom padder to pad correctly just do: rompad.exe input.bin 0 0
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 19, 2011 17:06:08 GMT -5
I don't see no attachments sir lol
But no, that didn't fix anything. Everdrive still freezes up.
What was the program you used to fix the xm3smps to work with Kramlib?
|
|
|
Post by sega16 on Sept 19, 2011 17:10:56 GMT -5
there it is sorry about that! Attachments:
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 19, 2011 17:11:25 GMT -5
Alright, I'll try that. See my above edit for my other question
|
|