SoftMPU build for Windows support?

Forum for discussion of bugs, code, and other aspects of SoftMPU.

SoftMPU build for Windows support?

Postby bjwil1991 » 2014-1-23 @ 06:15

Hello, everyone:

After applying a fix for this program (missing music: Frederik Pohl's Gateway bug reported and solved), I have decided that I want to make the SoftMPU program to work with Windows 3.1 and higher in a command prompt window/full screen. I copied the midi_win32.h and midi_oss.h files from the DOSBox source directory to the SRC directory for the SoftMPU program, and when I run the program in Windows 3.1, it gives me this error:

Code: Select all
! Error: EMM386 4.46+ or QEMM 7.03+ is not available


I have EMM386 running in DOS, but Windows 3.1 doesn't want to play ball. Am I doing something wrong?
C64, WheelWriter 10 Series II, Pack-Mate 28 Plus, K6-2/300, Pavilion N3350, iMac G3/600 Graphite, Socket 370, Pavilion 7955, Athlon 64, Dimension 4550, Dimension E510, ThinkPad R40, Presario C700, ASUS X54C, Raspberry Pi B+, 2-3, Custom FX-6300
User avatar
bjwil1991
Oldbie
 
Posts: 551
Joined: 2013-8-14 @ 03:10
Location: United States of America

Re: SoftMPU build for Windows support?

Postby bjt » 2014-1-23 @ 10:25

No, SoftMPU doesn't support Windows.

According to Bob Smith (formerly of Qualitas) the EMM386 port trap functionality doesn't work in Windows. The text file with the results of his tests is called iotrap.txt and is floating around the net, although I can't locate it right now. SoftMPU also does other Windows-unfriendly things (like reprogramming the RTC).

When Windows 3.1 or 9x loads it notifies EMM386, the EMM386 identification values change and SoftMPU won't recognise it.

It should be possible to implement SoftMPU as a Windows VxD, but as SoftMPU is targeted at DOS games I don't really see the point.

EDIT: IOTrap.zip was available here: http://programmersheaven.com/discussion/376018/virtualize-i-o-in-dos
But it looks like since Programmer's Heaven updated their interface the attachment has been removed :angry:
User avatar
bjt
Oldbie
 
Posts: 1413
Joined: 2013-2-06 @ 10:40
Location: UK

Re: SoftMPU build for Windows support?

Postby vetz » 2014-1-23 @ 10:29

As I have Windows 3.11 or WIn9x installed on all my retro computers, Windows support for SoftMPU would be a nice addition if it were possible :)
User avatar
vetz
l33t
 
Posts: 3122
Joined: 2012-4-23 @ 17:13

Re: SoftMPU build for Windows support?

Postby bjt » 2014-1-23 @ 10:33

Well, if someone else would like to port SoftMPU to a VxD they are welcome :cool:
User avatar
bjt
Oldbie
 
Posts: 1413
Joined: 2013-2-06 @ 10:40
Location: UK


Return to SoftMPU

Who is online

Users browsing this forum: No registered users and 1 guest