|
Post by FragHeadFred on Oct 22, 2017 9:55:47 GMT -5
Ok, thanks Wraith, I thought it might have been, but was not sure. Still trying to figure out echo.....
|
|
|
Post by FragHeadFred on Oct 22, 2017 17:54:08 GMT -5
What I have tried so far.......
1. Sega CD Boot Basic Cluster (1) did not contain the XGM sound driver at all. All other clusters/programs (except program w/ XGM) functioned properly. Result: Cluster 3 (SCD Program w/ XGM) would load fine and work properly until an attempt was made to load back to cluster 1 (Boot Basic Cluster), it would load cluster 1 (Sega CD activity light) and then hang, eventually rotating through various screens of solid colour.
2. I then added the XGM Driver to cluster 1, loading it the same way as cluster 3, this also had the same effect as the previous configuration, except now when loading into all clusters it would hang until the start button was pressed, and continue on as normal.
Result: Cluster 3 (SCD Program w/ XGM) would load fine and work properly until an attempt was made to load back to cluster 1 (Boot Basic Cluster), it would load cluster 1 (Sega CD activity light) and then hang, eventually rotating through various screens of solid colour.
3. I then tried Echo Sound Driver. Sega CD Boot Basic Cluster (1) did not contain a sound driver at all. All clusters/programs (including program w/ Echo) functioned properly.
Result: Cluster 3 (SCD Program w/ Echo) would load fine and work properly (what I could get working ((Demo compiled as SCD program))), and load back to cluster 1. (Having difficulty using Echo properly)
Update: Forgot to add, I tried to play the null PCM before trying to load cluster as "theloon" suggested, no difference.......
I have attempted to contact Stef outside of this forum (facebook), hoping he might have some insight! If anyone has any ideas or suggestions please let me know. Thanks in advance!
|
|
|
Post by wraith on Oct 22, 2017 21:59:01 GMT -5
I'm currently unable to test. In theory the driver should only need loading once upon initialization, playback code added to each scd program, interrupts disabled before loading a separate program.
|
|
|
Post by FragHeadFred on Oct 23, 2017 2:47:49 GMT -5
Thanks everyone!!! Got it all figured out (for the most part), depending on which sega cd bios is running the sound hangs a little, but it now loads from cluster to cluster without hanging. Works fine on bios 1.00, 2.00+ seems to have a few issues. Expect a beta of my project soon! Thanks again!
P.S. Wonder if there is a way to read bios version, and relay value to bex. I'm sure there is a way with assembly. Any thoughts?
|
|
|
Post by FragHeadFred on Oct 24, 2017 9:55:27 GMT -5
So... I have it working on bios 1.0 & 2.0, via emulator. Works perfectly in GENS, Fusion, real hardware not so much..... system locks hard (reset does not work, have to power cycle system), again with the sound portion of the program. Creating a new post with attachment.....
|
|
|
Post by FragHeadFred on Oct 25, 2017 8:25:27 GMT -5
Still having issues on real hardware with Stef's XGM Sound Driver included in my Test CD. Burned 5 CD-Rs trying to troubleshoot it. Then I decided maybe it's not my code, but the driver itself that does not like the Sega CD. So, I burned the original XGM demo included w/ the zip package as a bootable ISO for Sega CD. Unfortunately, that hangs and locks up as well. So it's not my code but either the driver or the assembly code with the driver. It works no problem in GENS & Fusion as an ISO! Unfortunately, I don't know enough about assembly to troubleshoot that side of things. Tried the cart version of the test.bex demo, it also hangs on real hardware, so not a Sega CD issue. After reading the earlier posts in this thead I realized it still might have bugs on real hardware. I use the Stef's drivers for sound & mudics and I test my project ( Papi Commando ) with a real Megadrive ( with a Everdrive Cartdrige ). I notice no bugs sounds and I've found the sound better on a real hardware report as an emulateur ( like Gens or Fusion )! Good luck with your project ! Greetings. Vetea, how did you implement the XGM Driver into your game? Going to test Echo Sound Driver next to see if that works on real hardware. Any thoughts or ideas would be greatly appreciated! Thanks in advance! Hardware Configuration: Sega Genesis Model 1 - Non TMSS (Stock) Sega Genesis Model 1 - TMSS (Stock) Sega Genesis Model 2 - TMSS (Stock) Sega Genesis Model 3 - TMSS (Stock) JVC X'Eye - (Stock) Sega CDX - (Stock) Sega CD Model 1 - Bios 1.00 (Stock) Sega CD Model 2 - Bios 2.00 (Stock) Offical KRIKzz Mega Everdrive X3 Sega CD Multi Bios - via Mega Everdrive X3
|
|
|
Post by wraith on Oct 25, 2017 11:02:00 GMT -5
I can confirm XGM Verson 1 working with SegaCD, implemented in TetreX CD.
|
|
|
Post by FragHeadFred on Oct 25, 2017 22:28:25 GMT -5
I can confirm XGM Verson 1 working with SegaCD, implemented in TetreX CD. Do you still have Version 1? If so, could you please reshare? Thanks Gotten a little farther, seems like the "xgm_getElapsedTime&()" was causing it to lock up on real hardware. Removed that sub function, and all it's references, and now works on real hardware. As far as the Sega CD side of things are concerned, still locks up after I stop playing a .xgc file, try to play a CD track, or load back into cluster 1, but it is more usable now. I've burned through 7 discs so far, but progress!!!!
|
|
|
Post by wraith on Oct 26, 2017 5:27:39 GMT -5
|
|
|
Post by FragHeadFred on Oct 26, 2017 7:33:34 GMT -5
Thank You very much!
|
|
|
Post by FragHeadFred on Oct 26, 2017 11:32:52 GMT -5
In theory the driver should only need loading once upon initialization, I tried initializing it in cluster 1, and not initializing it in the program clusters, wish it would work that way it would save a lot of space in program clusters, intermittent buzzing, during playback. Unless I'm doing something wrong, needs to be initialized during each cluster.... playback code added to each scd program, yup, did just that, doesn't work.... interrupts disabled before loading a separate program. yup, added before loading clusters, still not working right.
|
|
|
Post by FragHeadFred on Oct 29, 2017 23:44:21 GMT -5
Has anyone tried using Stef's XGM Driver while playing a CD track, I have tested other clusters with the CDPLAY command and it works fine without the XGM Driver, but when I load XGM Driver and attempt to play a track (CDPLAY 2) on real hardware it locks up? It works fine in emulation. Any ideas?
|
|
|
Post by wraith on Oct 30, 2017 12:10:52 GMT -5
For TetreX CD I enable CD or VGM music while SFX are handle by XGM and PSG commands.
|
|
|
Post by markin on Jan 11, 2018 21:26:17 GMT -5
Hi!
Is there a way to play xgm music along with an effect also in xgm?
It would be using the fm sound effect, instead of pcm.
Please, whoever can help, I am very grateful.
original language:
Oi!
Existe um modo de tocar música xgm juntamente com um efeito também em xgm?
Seria usando o efeito com som fm, ao invés de pcm.
Por favor, quem puder ajudar, fico muito grato.
|
|
|
Post by nemezes on Jan 12, 2018 6:59:50 GMT -5
Hi! Is there a way to play xgm music along with an effect also in xgm? It would be using the fm sound effect, instead of pcm. Please, whoever can help, I am very grateful. original language: Oi! Existe um modo de tocar música xgm juntamente com um efeito também em xgm? Seria usando o efeito com som fm, ao invés de pcm. Por favor, quem puder ajudar, fico muito grato. using the XGM driver it is possible to play a song (format XGC) and play 4 effects simultaneosly (format RAW). the example by stef at the first post of this thread "explains" how to do it. portuguese: utilizando o driver XGM é possível tocar uma música (formato XGC) e executar até 4 efeitos sonoros simultaneamente (formato RAW). o exemplo feito por stef na primeira postagem deste tópico "explica" como fazer isto.
|
|