joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.78k stars 382 forks source link

Dosbox_x from MS-DOS 6.22: DPMILD32 out of memory #3327

Open daerlnaxe opened 2 years ago

daerlnaxe commented 2 years ago

hi, i can't find any solution.

I would to try, under Virtualbox, to run dosbox_x (from MS-DOS as the title says it) to see features before to test in real condition and i don't know why but each time i launch dosbox_x , i receive the message "DMILD32: out of memory". I missed probably something.

I tried severla configuration under VirtualBox, because i asked myself if i didn't put a too low hardware, but problem still.

Thx.

rderooy commented 2 years ago

DPMILD32 is a HX DOS extender. I'm fairly certain that it is not meant to run from DOSBox. DOSBox does not provide a HX DOS environment.

daerlnaxe commented 2 years ago

I dld the releaze on the website.. it's theorically easy to run, then if the problem is not only because of the configuration i use to run it, it's better to feedback.

I add i don't talk to run UNDER Dosbox-x HX-Dos, this is a MS-DOS release, you boot FROM MS-Dos, it's the dos version if you prefer. There is a linux, a windows, it seems you can run DOSBOX-X Froms MS-Dos 5+ or Freedos... this is this version i would to test to look if you could keep shaders effect and impact on performances in comparison with the windows version.

edit: i found something hidden far, with google., there is no more the txt with the release, perhaps add with the pack for a next release? It says :

"out of memory": allocating memory for PE binary failed. Please note that DPMILD32 cannot commit stack memory dynamically by setting a GUARD page, it has to be fully allocated at load time.

Dobby233Liu commented 2 years ago

Maybe try the LOADLIN version?

daerlnaxe commented 2 years ago

hi,

it's a good idea i had too but i have a problem too, as i don't know if it's a good idea to put all i said to myself perhaps it was better stay focus on it.

.bat file doesn't work..

i don't know at all loadlin and the work accomplished here.

I tried a lot of things, i think it's better to stop, too much time for nothing i have a lot of other things to test. Perhaps in few months.

grapeli commented 2 years ago

The DOS virtual machine must have sufficient memory allocated to run dosbox-x. 128MB should be enough. You don't need to modify any files. Just u unpack the downloaded dosbox-x-dos-0.83.23-loadlin.zip. And turn on.

Run in a virtual machine copy.sh running in the firefox browser. It just works.

https://user-images.githubusercontent.com/452325/158027176-1c4550cf-a88e-40f3-9e3e-f490dc42e4b5.mp4

Edit: You can upload files to the virtual machine copy.sh. Pretty complicated.

  1. Exit dosbox-x.

  2. enter

  3. mount -t 9p -o trans=virtio,version=9p2000.L host9p /mnt

  4. dosbox-x

  5. mount d /mnt

  6. Rip the virtual machine memory image to a file. Save State button

  7. Run a machine profile with file upload capability. https://copy.sh/v86/?profile=buildroot

  8. Now load the dosbox-x memory image. Load State v86state.bin

Now on the copy.sh page there will be appropriate buttons for copying files. Send files to emulator

The added files should be on the d: drive (read only, of course you can change the mount point of the 9p filesystem to one that is writable /tmp, /dev/shm or use the overlayfs filesystem).

daerlnaxe commented 2 years ago

4Gb / dual core / 128mb for display under VirtualBox. (4770k oc 16go ddr3 1070 for real machine), i doubt the problem is about it but i had the same idea. this is why the 1st thing i did it's to allow more power to the virtual machine.

No problem under freedos with the same machine, problem still on MS-DOS only i tried on vmware, same...

I looked at your link it's interesting but it's not MS-DOS but FreeDos... It seems you know well how to use this website, if you can try with this packages under MS-DOS i didn't see how to do it, i will answer to the question.

I even tried PCEM without faith because it's too slow in comparison but it's still to be just MS-Dos so why not just to see if something appears, 533celeron 256Mo, nothing. Exactly the same problems...

I'm curious to see a video with an MS-DOS 6.22 like the tutorial explain (on a real machine or virtualbox with windows), running this packages. Peharps it's me but i have big doubts

In all case it doesn't matter now, i would to see how i could set the output under dos, i saw it, and it's not what i want... i hope it will useful for the next, it's probably useless currently to try to run under MS-DOS, go directly under freedos.

grapeli commented 2 years ago

It also works from ms-dos 6.22.

https://user-images.githubusercontent.com/452325/158032360-98f263df-6205-49b4-8275-09f5f503c078.mp4

4GB RAM for DOS?

grapeli commented 2 years ago

You can run dosbox-x under copy.sh without loadlin and dos. copy.sh.dosbox-x.zip Extract the two zipped files.

In setup, add these files: for Kernel image (bzimage): vmlinuz for initrd: dosbox-x.sqf

and press the Start Emulation button.