Doom 'MBF' for DOS, Maintenance release 2.04

Schedules and announcements about program releases.

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby gerwin » 2017-6-04 @ 17:59

It worked, that is fortunate... Glad I could help.
User avatar
gerwin
l33t
 
Posts: 2494
Joined: 2004-5-07 @ 19:21
Location: NL

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby koverhbarc » 2017-6-12 @ 12:22

BUG - doesn't happen with vanilla or old MBF.

The level timer gets reset to zero when loading a save. So if you save just before the exit switch, then exit, you get one time. But if you reload that game, then immediately exit, you get a time of a few seconds ... Verified in plain DOS, under NTVDM, and in DOSBox so I'm pretty confident it's a bug with the game, and should be fixed if anyone's still maintaining it.
koverhbarc
Member
 
Posts: 119
Joined: 2017-6-05 @ 02:02

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby mbf » 2017-6-29 @ 06:51

Thanks for continuing this, 20 years later!!!

I'm flattered.

Thanks for James Haley, Simon Howard, Colin Phipps, Jim Flynn, The late Ty Halderman, and so many others!!!

If you're ever in a conundrum, I'd be glad to help.

Thanks,
Lee Killough
mbf
Newbie
 
Posts: 2
Joined: 2017-6-29 @ 06:31

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby mbf » 2017-6-29 @ 07:34

Life is too short.

I was working on this in 1997. It still hasn't changed.
mbf
Newbie
 
Posts: 2
Joined: 2017-6-29 @ 06:31

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby koverhbarc » 2017-6-29 @ 11:53

I'm confused - is the last supposed to be a reply to me? As indicated the bug is new.
koverhbarc
Member
 
Posts: 119
Joined: 2017-6-05 @ 02:02

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby gerwin » 2017-7-04 @ 00:22

mbf wrote:Thanks for continuing this, 20 years later!!!
....
Lee Killough

Hey Lee!, good to see you signed in to vogons and dropped by here! We communicated briefly some months ago. I don't think I mentioned that here.
So Welcome, and thank you as well. I can only appreciate the efforts and skill you put in this great game back in 1997..99. Of course the Doom source moved in many directions after that, but it seems like MBF was the best port still supporting DOS. So it really fits the timeless niche that is Vogons.

mbf wrote:If you're ever in a conundrum, I'd be glad to help.

That is kind of you.
The ToDo list is on the previous page... No, just kidding. :lol:

koverhbarc wrote:I'm confused - is the last supposed to be a reply to me? As indicated the bug is new.

Don't think so. But the leveltime bug is now fixed (upload no. 15). I was the one who broke leveltime saving back then in 2014 so it is only fair I fixed it. Thanks for reporting it.
Maybe this also fixed the demo recording differences mentioned in the ToDo list?
User avatar
gerwin
l33t
 
Posts: 2494
Joined: 2004-5-07 @ 19:21
Location: NL

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby dondiego » 2017-7-05 @ 09:11

mbf wrote:Thanks for continuing this, 20 years later!!!

I'm flattered.


Is this the real Lee? Thanks to you for all your work, i was one of the MBF players back then.
I'm just a poor guy with a modest hacky port or two, what i'd like to do now is re-add some limits but in an optioned and controlled way (already did with distance sprite culling by dpJudas one of the GZDoom guys) for performance.
I'd like to add next wall culling with distance (drawsegs) but i don't know how.
User avatar
dondiego
Member
 
Posts: 305
Joined: 2013-12-24 @ 12:31
Location: Spain

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby koverhbarc » 2017-7-14 @ 02:00

gerwin wrote:Don't think so. But the leveltime bug is now fixed (upload no. 15). I was the one who broke leveltime saving back then in 2014 so it is only fair I fixed it. Thanks for reporting it.
Maybe this also fixed the demo recording differences mentioned in the ToDo list?

Got it, thanks.
koverhbarc
Member
 
Posts: 119
Joined: 2017-6-05 @ 02:02

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby gerwin » 2017-8-28 @ 01:49

Upload no. 16 is available:
-Made changes in WSS.C sound driver, to prevent tweaks meant for CS4232 sound chip being applied to a similar OPL3SAx sound chip. Also disabled one tweak entirely for all WSS cards.
-Made changes in MPU.C music driver, to prevent lockup when using the older SB16 MPU together with SB16 Digital section. Also made this driver follow the guidelines better, with more status checks.
Edit - Upload no. 17 is available:
-Setup.exe: Scrolling font spacing fix.
-Stereo no longer reversed in relation to setup ('sep' in i_sound.c).
Edit - Upload no. 18 is available:
-Setup.exe: Display detected DSP version for Sound Blaster cards.
-Sound Blaster Pro driver reverses back the reversed stereo of the hardware (allegro: sound.c + sb.c).
-Made changes in SB.C digital sound driver, mainly to handle unexpected MPU-401 interrupts with SB16.
(PS: to minimize hanging midi notes with SB16: lower the digital sample rate tot 22 or even 11 kHz)
-Setup.exe: bugfix: 22 kHz sample rate was not properly selectable in the dialog.

In my testing this resolves the SB16 issues reported by Jolaes76 + mOBSCENE and the WSS issue reported by clueless1.
Tested with SBPro CT1600 and SB16 CT2290+CT2940. Tested with WSS+SBPro compatible YMF719(aka OPL3SAx or Audician) and CS4232.
User avatar
gerwin
l33t
 
Posts: 2494
Joined: 2004-5-07 @ 19:21
Location: NL

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby gerwin » 2017-9-04 @ 23:46

A technical note on the possible lockup with the Sound Blaster 16 cards, when using digital effects together with the build in MPU-401 Midi interface.
This is a problem also found in other games. As discussed earlier the patch SBMPU401.EXE (inside waveptch.exe) offered by Creative prevents such lockup.
Basically, what "SBMPU401 /E" does is is write 0Bh to undocumented mixer register 83h. "SBMPU401 /D" reverses this by writing 0Fh to the same register. My tests indicate that the /E register tweak prevents unexpected interrupts on the SB IRQ; these are ones that contain the MPU tag (100b). Digital sound interrupts keep coming, as they are necessary. The distinction of interrupt types can be made because SB16 introduced mixer register 82h, which informs on the type of interrupt that was given. But AFAIK the MPU should not send interrupts in UART mode to begin with. MBF now filters out and acknowledges any interrupts not tagged 'digital effect 8/16bit' and that works well. SBMPU401 is no longer needed for this game.
User avatar
gerwin
l33t
 
Posts: 2494
Joined: 2004-5-07 @ 19:21
Location: NL

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby gerwin » 2017-9-11 @ 01:56

Upload no. 19 is available:
-Fix in GUS-PnP driver detection routine, as it messed up the WSS driver in PCem v12.
-More consistency between SB16, WSS and GUS-PnP drivers.
-Increasedd DMA buffer size on SB16 sound hardware, to minimize Midi problems;
4096kB for SB16 DSP v4.11, 4.12, 4.13 / 2048kB for other SB16s.
-Fixed sb.c regarding differences between SB 1.0, SB 1.5 and SB 2.0. Improved setup description.
-Adlib/OPL driver; fix to prevent it probing an Ultrasound port and messing up the codec.
-Setup.c fixed bug where Frequency listbox would not display previously selected frequency.
-Setup.c test dialog: drops stereo test buttons when a mono soundcard is selected.
-Setup.c test dialog: Test of Digi/Midi/FM will now output correct volume, when a volume is set.
-Setup.c test dialog: Raised sound volumes of Digi/Midi/FM in case volume is not specified (-1).
User avatar
gerwin
l33t
 
Posts: 2494
Joined: 2004-5-07 @ 19:21
Location: NL

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby leileilol » 2017-9-11 @ 02:09

Heads up on the MBF dog part - Nash's making a GPL friendly version. Keep an eye out
Voodoo2s aren't 100mhz stock
Geforce256 isn't released as a beta on New Years '99 under the Quadro brand
DOS gaming isn't a bilinear 320x200 16:10
DOS PCs aren't better than the Macintosh
DOSBox is not for running Windows 9x
SGL != Glide
User avatar
leileilol
l33t++
 
Posts: 9324
Joined: 2006-12-16 @ 18:03

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby zoinknoise » 2017-11-07 @ 06:28

fantastic work. this is my new favorite way to play Doom under DOS.

i have one request--can we get a working ouch face?

http://doom.wikia.com/wiki/Ouch_face

i have seen other source ports restore this and i would love to see it back in DOS.
zoinknoise
Newbie
 
Posts: 1
Joined: 2017-8-24 @ 19:57

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby Danfun64 » 2017-12-24 @ 03:59

It's been close to two months since we last got an update on this. Any news whatsoever? Especially concerning the whole "demos can't play in PrBoom-Plus" thing?
Danfun64
Member
 
Posts: 100
Joined: 2009-11-15 @ 20:33

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby dr_st » 2017-12-24 @ 13:35

zoinknoise wrote:i have one request--can we get a working ouch face?
But I love my ouch face broken! It's part of the pure DOOM experience! Waaah! :dead:
User avatar
dr_st
Oldbie
 
Posts: 1328
Joined: 2015-4-09 @ 07:18

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby bluejeans » 2018-2-02 @ 02:03

Does this build take advantage of MMX instructions at all?
bluejeans
Member
 
Posts: 197
Joined: 2016-7-07 @ 20:35

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby leileilol » 2018-2-02 @ 02:07

Why should it? MMX's only really practical for exotic sound code which would be out of the scope of a maintenance fork.
Voodoo2s aren't 100mhz stock
Geforce256 isn't released as a beta on New Years '99 under the Quadro brand
DOS gaming isn't a bilinear 320x200 16:10
DOS PCs aren't better than the Macintosh
DOSBox is not for running Windows 9x
SGL != Glide
User avatar
leileilol
l33t++
 
Posts: 9324
Joined: 2006-12-16 @ 18:03

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby SilverMiner » 2018-8-01 @ 10:49

Gerwin, the guys on doomworld said you could help me with building your MBF on DOS, I'll be using DOS Box, what I have to set up to build it? Also help me with Boom 2.02 building.
I have the latest DJGPP.
User avatar
SilverMiner
Newbie
 
Posts: 8
Joined: 2018-8-01 @ 05:45
Location: Dubna Nuclear Power Plant Zone of Alienation

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby gerwin » 2018-8-01 @ 23:54

While you can compile Doom MBF with the latest DJGPP, using my precompiled liballeg.a, I advise against it now. These 1997 DJGPP related packages work best: bnu27b.zip, djdev201.zip, gcc2723b.zip, mak3791b.zip, txi390b.zip.

OPTIONAL: With the above you can also compile Allegro 3.0 with my modifications. You cannot compile Allegro 3.0 with the latest DJGPP.
The MBF204 source package does not contain the complete Allegro 3.0 source, just the files that were modified. These can be copied over a regular Allegro 3.0. Compiling Modified Allegro will create the Doom themed setup.exe.

Doom MBF source has no dependencies besides a precompiled 'Modified' Allegro 3.0. This consists of just two files: DJGPP97\include\allegro.h and DJGPP97\lib\liballeg.a. They are included in the source package for convenience.

The MBF204 source package contains _MAKE.BAT which does what the name suggests. But as it is, it expects the compiler in this folder C:\DOSAPP\DJGPP97\ and the MBF source in this subfolder: C:\DOSAPP\DJGPP97\_MBF\

Boom will compile in a similar way, but has not been adapted to, or tested with, my modified Allegro 3.0, and should be compiled with regular Allegro 3.0 libraries.

PS. I do not use DosBox myself to compile things with DJGPP, but Window XP or Windows 98/DOS 7.0.
User avatar
gerwin
l33t
 
Posts: 2494
Joined: 2004-5-07 @ 19:21
Location: NL

Re: Doom 'MBF' for DOS, Maintenance release 2.04

Postby SilverMiner » 2018-8-02 @ 05:29

Gerwin, could you give me the links to the packages or proper DJGPP? I can't find them (for obvious reasons).
User avatar
SilverMiner
Newbie
 
Posts: 8
Joined: 2018-8-01 @ 05:45
Location: Dubna Nuclear Power Plant Zone of Alienation

PreviousNext

Return to Release Announcements

Who is online

Users browsing this forum: No registered users and 2 guests