Jump to content

BeefMan

+AtariAge Subscriber
  • Content Count

    189
  • Joined

  • Last visited

Posts posted by BeefMan


  1. 21 minutes ago, CyranoJ said:
     
    Magic? No - found a memory hole that allowed me to create a second ring buffer, then broke down the SFX and Music code to render into their own buffers, and mixed them in the output render stage.  I've got a bit of cleaning up to do and then we'll see about getting a nice public build of the source available, with fixed panel, network code and music atariage_icon_smile.gif
     
    Did you ever find out why some levels just randomly end? That is going to need to be fixed atariage_icon_smile.gif

     


    I haven’t, it def doesn’t happen with just the Pro Controller support added. Let me review it again this week, I’m sure it can be resolved!

    What a hell of an achievement! Accomplishing what was seen as impossible for years.




    Sent from my iPhone using Tapatalk

     

    • Like 4

  2. Yeah, it's not difficult.

    It's a good idea for it to be switchable as well because some games are actually optimised for 50hz (Tempest for instance runs with a more consistent framerate and at a higher resolution at 50hz).

     

    Interesting, I'll have to check this out.


  3. Excellent progress indeed, thanks for the write up!

     

    My apologies, I completely forgot I also discovered the levels will sometimes randomly end after enabling the FX+music mixing. I can confirm this doesn't happen with just building the original code or even when building with strafe support. I'll go back and see if I can build a stable version with mixing.

     

    I really appreciate you taking the time to take a look at this! Really looking forward to all the projects you have in the pipeline, thrusty especially!

    • Like 1

  4. Could be completely wrong here (20 minutes of looking)

     

    but, in dspbase.gas:

    ALT_SAMPLE_P (r21) is used as the sample pointer for the audio to play

     

    r21 is set in both music.gas and sfx.gas

     

    You'd need to re-code one of them to use another pointer, then modify the replayer in dspbase.gas to read and mix them into the output stream.

     

    Code is a bag of snakes having an orgy. Might be easier to rip it all out and replace with u235, hack it into the sample player, and use modules.

    Thank you for taking a peak! I’m really lost when it comes to assembly but I’ll start reading up.

     

    Do you think the soundFx data is basically corrupting the music data because they are sharing the same pointer?

     

    It really seems like it might be possible to make this work, or am I being optimistic?

     

    If so maybe we should consider setting up a bounty for someone to claim if they were to get it working. Not that it would be me lol.

     

    We need a coding hero!

     

    cf550d576f2af4f10cee9246a16de88a.jpg

     

     

    -Chad


  5. Some additional notes:

     

    The main change I made was in "s_sound.c" where it literally has a section commented for /* run the mixing in parallel on the dsp */ . Just compare the original to mine, not a big change really.

     

    I setup the number 3 to run "S_StartSong(mus_e1m2, 1);" in "p_user.c"

     

    If you try pressing 3 on the first level the game will freeze because it's already still playing the intro. But you can reset it by pressing the "* #" combo on the controller.

     

    If you happen to be playing with a Pro Controller, use the shoulder buttons to strafe, 10x more fun that way :)

     

    Again you don't even have to start the game to hear the music struggling in the intro.

    • Like 2

  6. Here you go!

     

    https://drive.google.com/file/d/1frvZZWOzosGtsqNyU6tHwOzfKEKWxaUY/view?usp=sharing

     

    I've packaged it up where you can mount this folder as the c: drive in Dosbox. I threw all the source code under Jaguar\bin. You can run make to build a new doom.abs but I've left mine in there for now.

     

    Now for the fun part, you want to navigate to the 2nd level and press the number 3 on the controller to fire up music and sound. You can actually hear the mixing in the intro and menus though.

     

    I will stay up all night if needed to provide whatever support you need!

    • Like 1
×
×
  • Create New...