Any luck with directx on win2k or xp?
Not an issue, just wondering if anyone tried
See https://github.com/copy/v86/issues/893 and https://github.com/copy/v86/issues/1322, the same in Windows NT. Due to CPU-intensive software rendering, 3D games/apps run slowly (or very slowly).
See https://github.com/copy/v86/issues/893 and https://github.com/copy/v86/issues/1322, the same in Windows NT. Due to CPU-intensive software rendering, 3D games/apps run slowly (or very slowly).
Thank you.
I tried windows 2000 with directx 7 on copy.sh site, it is truly very slow, but still amazing if you don't mind much about performance.
One naive question, how do I make v86 to load an image from "http://localhost/mydisk.img" at startup?
One naive question, how do I make v86 to load an image from "http://localhost/mydisk.img" at startup?
If you about copy.sh/v86, you can allow CORS for https://copy.sh origin (or for all) in your localhost server and use this URL: https://copy.sh/v86?profile=custom&m=<ram size in mb>&hda.url=http://localhost/mydisk.img
If you about embedded v86, just add hda object to the V86 constructor:
var emulator = new V86({
<...>,
hda: {
url: "http://localhost/mydisk.img"
},
});
One naive question, how do I make v86 to load an image from "http://localhost/mydisk.img" at startup?
If you about copy.sh/v86, you can allow CORS for
https://copy.shorigin (or for all) in your localhost server and use this URL:https://copy.sh/v86?profile=custom&m=<ram size in mb>&hda.url=http://localhost/mydisk.imgIf you about embedded v86, just add
hdaobject to theV86constructor:var emulator = new V86({ <...>, hda: { url: "http://localhost/mydisk.img" }, });
Thank you
One naive question, how do I make v86 to load an image from "http://localhost/mydisk.img" at startup?
If you about copy.sh/v86, you can allow CORS for
https://copy.shorigin (or for all) in your localhost server and use this URL:https://copy.sh/v86?profile=custom&m=<ram size in mb>&hda.url=http://localhost/mydisk.imgIf you about embedded v86, just add
hdaobject to theV86constructor:var emulator = new V86({ <...>, hda: { url: "http://localhost/mydisk.img" }, });
Followed your above instructions and it worked like a charm.
Then I was feeling smart and appended "&hdb.url=<another_image_url>" , only to find out it didn't work as expected. That is, only hda available inside the system.
Found a problem using https://copy.sh/v86? profile=custom&m=32&hda.url=http://localho st/mydisk.img
There is no sound.
Chrome debug console complained about "the AudiuContext was not allowed to start. It must be resumed or created after a user gesture on the page".
How to solve this please?
Click on the emulator screen, it should resume the sound, or allow autoplay in your browser settings.
Then I was feeling smart and appended "&hdb.url=<another_image_url>" , only to find out it didn't work as expected. That is, only hda available inside the system.
Yes, only hda supported, you can try ?bios=bochs&cdrom.url=<...> with an ISO file but it currently works buggy, waiting for #1325.
Hi there.. just my 2cts.. I 've managed to get my fav. direct-x 9c application running after a live-cd boot..
The live-cd is based on win2k3 files and runs the amiga-emulator-winuae from ramdisk..
As it lacks audio ( need to transfer sb16 regsettings from running v86-win2k3 system) the experience is not 100% yet.. but it looks promising..
I vastly believe a componentized build of a XP-like system (with PEBuilder or WinBuilder or even my custom XPEBuilder) forms an excellent base for testing direct-x on v86 and as such is proven to be functional..
This particular ISO live-cd was about 80MB in size and needs minimal resources yet can run with (1792MB ram and 256MB vgamem)-80MB so snapshots can be saved..
I got some progress on Windows XP, most likely it also works on Windows 9x but I haven't tested.
It uses Mesa3D and WineD3D, i.e. game -> directx -> wined3d -> opengl -> mesa3d -> software.
Performance is very low, I'm currently using the MMX-optimized version. I guess the SSE3-optimized version (that should supports on v86), might have better performance, but I couldn't get it to work.
Here is the guide on how to install it:
- [Mesa3D] Download https://github.com/JHRobotics/mesa9x/releases/download/v23.1.9.138/mesa9x-23.1.9.138-opengl32-win98-softpipe.zip.
- Unpack to any folder.
- Restart Windows, press F8 on loading, select Safe Mode.
- Log in as Administrator.
- Open Explorer, type in the address bar:
C:\Windows\system32\dllcacheand press Enter. - Copy the unpacked
opengl32.dllwith the replacement. - Follow the previous step with "C:\Windows\system32".
- Restart Windows.
- [WineD3D] Install DirectX 9.0c (for Windows XP) if not.
- Download https://github.com/JHRobotics/wine9x/releases/download/v1.7.55.45/wine9x-1.7.55.45-mmx.zip.
- Follow by https://github.com/JHRobotics/wine9x?tab=readme-ov-file#installation-on-xp.
Small showcase:
-
Kao the Kangoroo Demo (2000):
-
3DMark 99 Max:
I got some progress on Windows XP, most likely it also works on Windows 9x but I haven't tested. It uses Mesa3D and WineD3D, i.e.
game -> directx -> wined3d -> opengl -> mesa3d -> software.Performance is very low, I'm currently using the MMX-optimized version. I guess the SSE3-optimized version (that should supports on v86), might have better performance, but I couldn't get it to work.
Here is the guide on how to install it:
- [Mesa3D] Download https://github.com/JHRobotics/mesa9x/releases/download/v23.1.9.138/mesa9x-23.1.9.138-opengl32-win98-softpipe.zip.
- Unpack to any folder.
- Restart Windows, press F8 on loading, select Safe Mode.
- Log in as Administrator.
- Open Explorer, type in the address bar:
C:\Windows\system32\dllcacheand press Enter.- Copy the unpacked
opengl32.dllwith the replacement.- Follow the previous step with "C:\Windows\system32".
- Restart Windows.
- [WineD3D] Install DirectX 9.0c (for Windows XP) if not.
- Download https://github.com/JHRobotics/wine9x/releases/download/v1.7.55.45/wine9x-1.7.55.45-mmx.zip.
- Follow by https://github.com/JHRobotics/wine9x?tab=readme-ov-file#installation-on-xp.
Small showcase:
- Kao the Kangoroo Demo (2000):
* 3DMark 99 Max:
![]()
I'm trying to replicate your work. any update on the performance ? I also wonder about FPS on the Kao the Kangoroo Demo.
any update on the performance ?
Not yet, it seems that SSE3 version also required FXSR and SAHR that v86 doesn't support. Maybe with VirGL (see https://github.com/copy/v86/issues/51 and https://github.com/JHRobotics/softgpu/issues/13), we can get better performance.
I also wonder about FPS on the Kao the Kangoroo Demo.
Unfortunately, very (x100) low, I haven't test in gameplay.
* 3DMark 99 Max: