Baron-von-Riedesel / VSBHDA

Sound Blaster emulation for DOS
61 stars 3 forks source link

Trouble while building project #24

Open shirish-k opened 2 weeks ago

shirish-k commented 2 weeks ago

I'm locally trying to build an exe from the VSBHDA project. Use case: I want to remove ES1731 support from my build, so that it detects the onboard sound card (Intel HD) instead (currently it detects ES1731 at a higher priority).

So I downloaded JWasm 2.17 from your repo, downloaded djgpp_2.05_minimal from archive, and your VSBHDA repo. Extracted them all in their separate folders, and put them all in a single folder called "dosenv". Since I'm running Win10 64 bit, I'm trying to use dosbox-x to try and build the project.

rem         = This section is DOS's CONFIG.SYS file, not all CONFIG.SYS options supported
break       = off
numlock     = 
shell       = Z:\dos\command.com Z:\dos /e:8192 /p
dos         = high, umb
fcbs        = 100
files       = 200
country     = 
lastdrive   = c
set path    = Z:\;Z:\SYSTEM;Z:\BIN;Z:\DOS;Z:\4DOS;Z:\DEBUG;Z:\TEXTUTIL
set prompt  = $P$G
set temp    = 
install     = 
installhigh = 
device      = 
devicehigh  = 

[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.

mount c g:\projects\dosenv
set PATH=C:\DJGPP\BIN;%PATH%
set DJGPP=C:\DJGPP\DJGPP.ENV
cls

Above is the dosbox-x.conf file section for config.sys and autorun. Trouble is, when I run make -f djgpp.mak, a SIGSEGV exception pops up when the whole process reaches dbopl.o. This is the error screen:

image

Could you help me out on how to successfully build your project?

Baron-von-Riedesel commented 2 weeks ago

Could you help me out on how to successfully build your project?

I have little experience with djgpp and virtually none with using DosBox(-X) for development, so I can't help much here. My advice is to use VBox or Qemu instead of DosBox - and supply at least 128 MB memory for the VM.