Replies: 4 comments 1 reply
-
If you provide an example, I can take a look |
Beta Was this translation helpful? Give feedback.
-
Here is the example: I have a sound file with player, starts at 0xC000. See attachment
In Oscar C if I play i.e. sound num=2 a different sound is played together with sound 0 in a loop. Here is my code:
From my view it looks correct but the result is different. Is the memory in 0xc000 overwritten somehow? |
Beta Was this translation helpful? Give feedback.
-
#pragma region(main, 0x0a00, 0xd800, , , {code, data, bss, heap, stack} ) the memory from 0xc000 to 0xd000 is double booked in your setup |
Beta Was this translation helpful? Give feedback.
-
And you should not use the IO area for the main region, unless you keep it disables all the time. |
Beta Was this translation helpful? Give feedback.
-
Maybe that's not a topic for OscarC, but I have an issue with sound players. In this case from https://agpx.itch.io/sid-sfx-editor or a classic one called sfx-editor
In assembler it works out of the box but with OscarC the sound is somehow corrupted, playing the wrong tune or having unwanted loops etc. I also prepared the Zeropages (freed F8-FF) but no success. What could be the reason?
Beta Was this translation helpful? Give feedback.
All reactions