RayeR wrote on 2026-11-17, 15:29:
Btw can you recompile ramdsk64.asm in working state? I tried to do it with jwasm, compiled without error but binary didn't work and i can see the binary is cca 300B larger than original R.Loew's binary. There's no batch/makefile so I even don't know what assembler he used but probably some MASM that should be fully replacable with jwasm.
Sure, I'll see what I can do.
RayeR wrote on 2026-11-17, 15:29:
Maybe you can try to check why sysenter method cause reset with vdpmi. To test it's needed just dos environment, load himemex.sys /S then load VDPMI and last load ramdsk64.com in autoexec...
vdpmi need shandle the privilege instruction for it. current it doesn't. I think may be able to fix that.
DoZator wrote on 2026-11-17, 16:09:
Yes, the emulator works in both cases. It generally supports VDPMI (with the exceptions described above). When the emulator cannot enable multi‑core support, it continues to run but switches to single‑core mode.
Thanks for the info, I will check it.
As the github issues now reports fine, I'm putting the last release here:
update for VDPMI:
1.separate loader (VDPMI.EXE and core (VDPMI.LX) file.
Previously they're stubbed together, but I found in CONFIG.SYS dos always loads the whole file no matter what. It ignores the MZ size and extended NE/PE/LE/LX signature. but the loader will load itself (through argv[0]) again, so there are two full file reads.
separating the loader and core file solves that. it also potentially fix that dos cannot load it if the file size is too large in CONFIG.SYS, exceeding ~500K.
2.add buffer for reading VDPMI.CFG. skip reading VDPMI.CFG if VDPMI is already installed.
3.improve memory copy on loading
4.workaround a wcc bug that write extra word to a int pointer.
5.remove unused ~60K stack from core image file. now it does not have stack segment.
6.VDS: fix function 0x8105: scatter/gather lock region returned with incorrect physical address and size. this fixes IO for disk that have PCI IDE DMA enabled.
7.VDMA: fix physical DMA controller passthrough with incorrect IO ports and not even un-masked, which never starts DMA transfer. now floppy disk can be accessed properly.
8.fix keyboard driver bugs. now LED works. may fix lockups for some PCs too. also fixed CTMOUSE freeze a while and fail to detect mouse when random keys pressed during the time window AFTER vdpmi is loadded and BEFORE CTMOUSE is loaded.
9.fix "VIntFlag=0" in VDPMI.CFG
10.bug fxies for vdpmi is loaded from command line, and workaround MEM.EXE crash for it.
11.fix ROTT random freeze on exit (seen on some PCs but may be not for others)
12.bugfix on DOS driver list processing for WinME/DOS8.0
13.add support for Joe & Mac: Caveman Ninja. the game is incompatible with vdpmi. I guess it won't work in windows. have to add special handlings.
also fix divided by 0 error for it (patched/modded edition), now it can run on modern fast CPU. game speed is fine but maybe not accurate, music still plays slow.
14.DPMI memory pool now have 2 instances, one for normal clients, the other for "client drivers" like sbemu.
new entries in [DPMI] section in VDPMI.CFG
ClientDriverMem=11 ;MB
ClientDrivers=SBEMU.EXE
the dedicated driver memory pool keeps SBEMU alive during windows sessions. normal memory pool will be freed for windows.
15.vdpmi core now resident in high address of XMS. along with the client driver memory.
I also tried to move physical memory used for EMS/UMB to high address, but win95 refuse to start.
SBEMU changes:
1. now resident fully in himem, no DOS memory (no conventional/UMB) usage.
2.auto stops sound card playback if no SB/OPL/MPU data. start playing if SB/OPL/MPU plays.
previously SBEMU always plays silent sound samples in the background, even if it is idle in dos command line.
3.fix ADPCM crash, seen in Duke Nukem 2.
4.MMIO base now is at high address of XMS.
Don't forget to copy the new file: VDPMI.LX to your disk.
next TODOs:
merge PC speaker emu to VDPMI build, now it have some problems.
with /DPMI=0 to disable DPMI, it is possible to load HDPMI32i and its SBEMU edition, but currently not stable and have problems.
The attachment vdpmi0.36.zip is no longer available
Toshiba Satellite Pro 4300 - YMF744, Savage IX
Toshiba Satellite 2805-S501 - YMF754, GeForce 2Go
IBM Thinkpad A21p - CS4624, Mobility Radeon 128
main: Intel NUC11PHKi7C Phantom Canyon: i7-1165G7 RTX2060 64G 2T760PSDD