PT3 + AYFX player

Pagina 9/11
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11

Van ericb59

Paragon (1125)

afbeelding van ericb59

23-06-2020, 09:44

@Mumbly : Does it fit your needs ?

Van Mumbly

Expert (121)

afbeelding van Mumbly

23-06-2020, 15:09

@eric59 On my side, it doesn't seems to work, I mean error during compilation/linking.

Is there any version of fusion 1.3 already available ? Because the functions 'InitVDPInterruptHandler' and 'EndVDPInterruptHandler' are missing I think in the version 1.2 I use
because of that, I cannot compile the example you have provided to me.
sorry for the trouble.

Van ericb59

Paragon (1125)

afbeelding van ericb59

23-06-2020, 15:44

@Mumbly : Did you try to compile provided example ?

Van Mumbly

Expert (121)

afbeelding van Mumbly

23-06-2020, 17:44

yes, Eric
but I've commented InitVDPInterruptHandler((int)routing); because I don't have fusion 1.3
to be replaced by a dirty call to the routing function with an halt and it works, but wathever the key I
push I have the same sound fx, maybe it's the right behaviour, I don't know.
If I have well understood, the chase table is a copy of an afb file ?

Van ericb59

Paragon (1125)

afbeelding van ericb59

24-06-2020, 09:36

Oh Yes I forgot about the use of the Interupt. But it's not mandatory it works without.
You need to Enable / Disable Interrupt in some way, look at the example.

Yes the "Chase" table I is the content of the AYFX Sound Bank.

I will try to publish Fusion-C 1.3 soon...

Van Mumbly

Expert (121)

afbeelding van Mumbly

24-06-2020, 15:26

Thanks for your support Eric, Thanks again for Fusion C, which is amazing, when you master it a little.

By the way, too bad that we cannot see each other anymore on a MSX fair or other msx related events (we are not living far from each other apparently), if you want me to participate (help) on your project, please let me know.

Van ericb59

Paragon (1125)

afbeelding van ericb59

25-06-2020, 10:17

@Mumbly : Oh ! Where are come from ? Send me a PM ;-)

Van fregarni

Resident (39)

afbeelding van fregarni

10-01-2023, 09:49

@eric59 @Mumbly
Hello. I am trying to use "Fusion-c 1.3 PT3 + AYFX Drivers". I successfully compile the "ex-PT3-AYFX Playing.c" example but can't get any FX to play when pressing any of the keys, just the music playing. I have also tried muting the music (by pressing the 'm' key) but still no FX. The problem happens on both MSX1 and MSX2 machines. Does anyone have the same problem or does it work correctly for you?

The Fusion-C version I use is 1.2 (on Windows), with the 'SpriteFix' patch. To make use of the VDP interrupt handler I have recompiled the library adding the "vdpinterrup.s" and I have renamed the function call "InitVDPInterruptHandler" in the example as "InitVdpInterruptHandler" (case sensitive) to be consistent with "vdpinterrupt.s").

When I try to rebuild the library with 'pt3Driver.c' and 'pt3player.h' (I previously removed the "pt3replayer.s" file from the Fusion-C library), I get a library compilation error. So I compile Fusion-C without them (and without "pt3replayer.s"). I compile separately 'pt3Driver.c' and in the 'compil.bat' script to compile the example, I add the 'pt3Driver.rel' at the end of the SDCC compile line:

SDCC --code-loc %ADDR_CODE% --data-loc %ADDR_DATA% --disable-warning 196 -mz80 --no-std-crt0 --opt-code-size fusion.lib -L %LIBDIR% %INC1% %INC2% %INC3% %INC4% %INC5% %INC6% %INC7% %INC8% %INC9% %INCA% %INCB% %INCC% %INCD% %INCE% %INCF% %proga%.c pt3Driver.rel

Am I doing something incorrectly? Please help.

Van jepmsx

Champion (281)

afbeelding van jepmsx

10-01-2023, 10:47

I've used Fusion-c 1.3 and tried the example without a problem.
Have you tried to use only version 1.3? Or to compile only the example with the effects?
Which sdcc version are you using? It can't be 4.2. I've used 4.1

Van fregarni

Resident (39)

afbeelding van fregarni

10-01-2023, 10:48

@jepmsx Where can i find Fusion-c 1.3?

Pagina 9/11
2 | 3 | 4 | 5 | 6 | 7 | 8 | | 10 | 11