Dead Hackers Society
Other BBSes »
 
 

68k Inside

Sommarhack 2024

Silly Venture 2024 SE
Demoscene  Coding  CT60  Buy/sell

Atari coding BBS
 
DSPMOD 3.4 problems
Posted by: Instream Aug,12.2010-23:01 

After this years Sommarhack my brother and I decided to dig out our now very old Reeking Rubber and see wether it works on CT60 + SuperVidel. After some tweaking with DSPMOD 3.4, where we modified the EASY_USE.S to load the player into ST-RAM (found that the DHS demo sys already did this after we were done, haha :D ) we got it working, somewhat. First we had to stop hi-jacking the VBL routine at $70, since DPSMOD refused to work with that, and we saw that EASY_USE.S uses $04D2, which seems to be a system jump-through-vector. We modded our RR code to use $04D2.

The game seems to be fine as long as we assemble our code with all DSPMOD calls turned OFF, but when we enable sound too the game crashes at a random point during the actual gameplay. Less often it crashes during the main menu when the title music has started. Also, if we run the dspmod_init function directly at startup, but a while before starting a module, a crash sometimes happens before the game starts the module. It's as if you are required to start a module immediately after initializing dspmod.

We use a 4-channel MOD for both the menu and in-game music, but tell dspmod to mix 8 channels so we can use 4 channels of FX. This is according to the docs that came with DSPMOD 3.1. We have noted that sometimes the in-game crash happens just after a special FX has been played. Anyone got any experience with using sound FX with DSPMOD3.4?

One funny thing worth mentioning: When the game crashes the computer is turned off! It's as if the CPU writes to the special ABE control register at $FA800000 to turn off the computer. Or is there a special low-address vector installed by Didiers CT60-TOS which does this, and the game calls it accidentally?

Anyway, hope someone has any clue what to do with this, or maybe we can switch to another player which supports sound FX?

/Instream







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

Topic Posted by  Date 
DSPMOD 3.4 problems Instream Aug,12.2010-23:01
  Re: DSPMOD 3.4 problems evil Aug,13.2010-10:13
    Re: DSPMOD 3.4 problems Instream Aug,13.2010-10:55
      Re: DSPMOD 3.4 problems redspecter Aug,15.2010-18:39
        Re: DSPMOD 3.4 problems Instream Aug,17.2010-07:49
          Re: DSPMOD 3.4 problems mikro Aug,17.2010-09:19
            Re: DSPMOD 3.4 problems evil Aug,17.2010-09:27
      Re: DSPMOD 3.4 problems evil Aug,16.2010-09:16
        Re: DSPMOD 3.4 problems Instream Aug,17.2010-07:51
          Re: DSPMOD 3.4 problems Thomas / New Beat Aug,24.2010-14:40
            Re: DSPMOD 3.4 problems instream Aug,24.2010-22:20
  Re: DSPMOD 3.4 problems joska Jul,26.2020-13:53
    Re: DSPMOD 3.4 problems ggn Jul,26.2020-22:37


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