Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Game freezing in DOS  (Read 6980 times)

0 Members and 1 Guest are viewing this topic.

Ryan

    Topic Starter


    Hopeful

    • Experience: Familiar
    • OS: Windows 7
    Game freezing in DOS
    « on: September 27, 2017, 02:38:37 PM »
    Guys,

    I've got a problem with Wolfenstein 3D freezing the computer when I try to play it directly in DOS.  The sound card I've been using with it is the Sound Blaster AWE64 ISA.  I am still waiting for the Sound Blaster 16 to arrive.  Do you think the game won't freeze if the Sound Blaster 16 is used?  I am only able to get it working in Windows without it freezing on me.  From what I know, the in-game music is freezing the computer when Wolfenstein 3D is loading directly in DOS.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: Game freezing in DOS
    « Reply #1 on: September 27, 2017, 03:04:21 PM »
    Did you configure the IRQ, DMA, and IO Addresses correctly using the SETUP program? Or if it doesn't have one (I can't remember) do you have a proper SET BLASTER line when running in MS-DOS?
    I was trying to dereference Null Pointers before it was cool.

    Ryan

      Topic Starter


      Hopeful

      • Experience: Familiar
      • OS: Windows 7
      Re: Game freezing in DOS
      « Reply #2 on: September 27, 2017, 03:48:49 PM »
      I do.

      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: Game freezing in DOS
      « Reply #3 on: September 27, 2017, 04:59:18 PM »
      Really ? ?
      " Anyone who goes to a psychiatrist should have his head examined. "

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Game freezing in DOS
      « Reply #4 on: September 27, 2017, 07:44:34 PM »
      What about CTCM and AWEUTIL /s? Are you running those programs in pure DOS before running the game?
      I was trying to dereference Null Pointers before it was cool.

      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: Game freezing in DOS
      « Reply #5 on: September 27, 2017, 08:11:13 PM »
      His brief answer tells me he's done none of the suggestions...
      " Anyone who goes to a psychiatrist should have his head examined. "

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Game freezing in DOS
      « Reply #6 on: September 27, 2017, 08:12:29 PM »
      Turns out wolf3d has no setup program and tries to autodetect, which would have made that one impossible to have done to start with as well...
      I was trying to dereference Null Pointers before it was cool.

      patio

      • Moderator


      • Genius
      • Maud' Dib
      • Thanked: 1769
        • Yes
      • Experience: Beginner
      • OS: Windows 7
      Re: Game freezing in DOS
      « Reply #7 on: September 27, 2017, 08:21:26 PM »
      Which is why you need to do the settings manually...
      " Anyone who goes to a psychiatrist should have his head examined. "

      Ryan

        Topic Starter


        Hopeful

        • Experience: Familiar
        • OS: Windows 7
        Re: Game freezing in DOS
        « Reply #8 on: October 05, 2017, 02:57:41 PM »
        When I last ran Wolf3D, I ran it straight from Windows.  I will try to troubleshoot it later.  It may want IRQ5 for the SoundBlaster.  Since I just beat the game last Friday (finished the sixth episode), I'm in no big rush currently.  I will look into the BIOS and check the AWEUTIL and CTCM and make sure they're correct in DOS.

        Ryan

          Topic Starter


          Hopeful

          • Experience: Familiar
          • OS: Windows 7
          Re: Game freezing in DOS
          « Reply #9 on: October 05, 2017, 05:47:17 PM »
          I just ran another test.  At first it froze like before.  I also tried Spear of Destiny, which did the same thing.

          I booted into windows, edited the Autoexec.bat and Config.sys, removing the CD-ROM drive from them.  I have a backup folder with the CD-ROM drive in them, so I can go back to that.

          When it wasn't loaded, MS-DOS had more memory.  I tried to load Wolfenstein 3D directly in DOS, and this time it didn't freeze but ran in full.

          I have the following set for the sound card:
          SET BLASTER=A220 I5 D1 H5 P300 E620 T6

          My reason for using P300 for the midi is because the Roland SCC-1 is using port 330 for midi.  Nothing is conflicting with the SCC-1 so I have nothing to report regarding it.

          BC_Programmer


            Mastermind
          • Typing is no substitute for thinking.
          • Thanked: 1140
            • Yes
            • Yes
            • BC-Programming.com
          • Certifications: List
          • Computer: Specs
          • Experience: Beginner
          • OS: Windows 11
          Re: Game freezing in DOS
          « Reply #10 on: October 05, 2017, 05:50:25 PM »
          OK, was the CD-ROM driver being loaded into the HMA? You might try that to free up more conventional memory. (use LOADHIGH= instead of LOAD=) And lines like DOS=UMB could be  helpful for DOS-only mode as well. Of course make  sure HIMEM.SYS is loaded first.
          I was trying to dereference Null Pointers before it was cool.

          Ryan

            Topic Starter


            Hopeful

            • Experience: Familiar
            • OS: Windows 7
            Re: Game freezing in DOS
            « Reply #11 on: October 05, 2017, 05:51:58 PM »
            I was using LOADHIGH, BC_Programmer.  Even with that set, Wolfenstein 3D froze as it still wasn't getting the full memory it needed.

            Squashman



              Specialist
            • Thanked: 134
            • Experience: Experienced
            • OS: Other
            Re: Game freezing in DOS
            « Reply #12 on: October 06, 2017, 01:15:58 PM »
            Why not just play it inside DOSBox?
            https://www.youtube.com/watch?v=9ECeDrM-8-w

            Ryan

              Topic Starter


              Hopeful

              • Experience: Familiar
              • OS: Windows 7
              Re: Game freezing in DOS
              « Reply #13 on: October 06, 2017, 03:24:16 PM »
              Why not just play it inside DOSBox?
              https://www.youtube.com/watch?v=9ECeDrM-8-w

              Because I prefer the way it is in real DOS.  I don't want to accidentally go to Windows.