Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
Re: sndh and 060
Posted by: evil Jan,30.2013-21:10 

Ok, it seems like people still don't get that the SNDH files themself is the culprit, not the SNDH-player.

1. The replayroutine is NOT in the SNDH-players, but inside the SNDH-files themself.

2. All that the SNDH-player does is calling the code inside the SNDH-file.


SND Player has some code that will catch buserrors on Falcon (shadow YM-register access), this is terribly slow, especially if it's a SID/DIGI routine, but helps for plain no-effect tracks. There might also be some other code in SND Player that aim to help against bad code in the SNDH-files themself.

But there is just no way to make a generic SNDH-player that will fix bad (or just incompatible) replay routines inside the SNDH-files. Those SNDH-files needs disassembling and patching manually, for each file. It's a task of epic proportions to go through all of them on 060, and then do patchings for the replay code.

For many of the songs, we have (especially Grazey) been patching sloppy replay code so it will work on 060, but this is far from all.


So back to the original question: SNDH and 060.

SNDH is fully compatible to 060, it's only a container format after all.
The replay routines contained in the SNDH however can not be sure to work on 060 (or 020, 030, 040...) because of optimizations:

- that are really cache-unfriendly
- messes up low-memory
- uses undocumented ST-registers that doesn't exist on Falcon
- using instructions that are missing on 060 (movep!!)
- uses YM-registers that mess with Falcon IDE


I'd say perhaps 85% of the tunes will play correct, or close to correct on 060. The remaining ones needs to be identified and patched. Looooooooots of work, but if somebody is up for the task, nobody is happier for the help than the SNDH maintainers :-)



So all of that ramble above in one sentence:

Fixing SNDH on 060 is not a matter of fixing the SND Player (or other players), but instead a matter of fixing the SNDH files themself (hundreds if not thousands of them to disassemble and patch).

--
Anders Eriksson
ae@dhs.nu








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
sndh and 060 mikro Jan,30.2013-14:42
  Re: sndh and 060 rianata Jan,30.2013-14:52
    Re: sndh and 060 calimero Jan,30.2013-20:28
      Re: sndh and 060 evil Jan,30.2013-21:10
        Re: sndh and 060 ggn Jan,30.2013-22:38
          Re: sndh and 060 sqward Jan,30.2013-23:08
          Re: sndh and 060 mikro Jan,31.2013-00:15
            Re: sndh and 060 gwEm/PHF Jan,31.2013-14:19
              Re: sndh and 060 grazey/PHF Jan,31.2013-21:15
                Re: sndh and 060 AdamK Feb,01.2013-10:07
                  Re: sndh and 060 rianata Feb,01.2013-14:27
                    Re: sndh and 060 evil Feb,01.2013-17:50
                      Re: sndh and 060 rianata Feb,01.2013-18:38
                        Re: sndh and 060 rianata Feb,01.2013-18:51
                        Re: sndh and 060 rianata Feb,01.2013-19:59
                          Re: sndh and 060 evil Feb,01.2013-23:46
                            Re: sndh and 060 mikro Feb,02.2013-12:57
                              Re: sndh and 060 evil Feb,02.2013-20:54
                                Re: sndh and 060 mikro Feb,02.2013-21:43
                                  Re: sndh and 060 evil Feb,02.2013-23:46
                                    Re: sndh and 060 mikro Feb,03.2013-01:18
                                      Re: sndh and 060 AtFaCT Feb,03.2013-20:34
                                        Re: sndh and 060 grazey/PHF Feb,04.2013-21:32
                                          Re: sndh and 060 AtFaCT Feb,07.2013-20:22
                                            Re: sndh and 060 grazey/PHF Feb,10.2013-22:26
                Re: sndh and 060 Mr.Styckx Feb,01.2013-23:51
                  Re: sndh and 060 mikro Feb,02.2013-13:00
                    Re: sndh and 060 Mr.Styckx Feb,10.2013-23:50
                      Re: sndh and 060 grazey/PHF Feb,11.2013-17:20
                        Re: sndh and 060 Mr.Styckx Feb,11.2013-18:31


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson