I load the realmode NIC driver in autoexec usually only for boot menu path launching Windows98 in autoexec:
REM Load realmode NDIS2 driver RTGND.DOS for RTL8111E
C:\WINDOWS\net start
If I use JEMM or previous VDPMI + XHDD.SYS then network driver loads fine. It hanged only with the latest VDS disabled version (I only changed VIntFlag=0 in config for himemex+ramdsk64).
some AI explanation that seems to match our observation (fallback to PIO):
How the BIOS Uses VDS for INT 13h Disk DMA
To execute a bus-mastering DMA disk read or write inside an INT 13h handler (or an Option ROM like a SCSI/SATA controller BIOS), the BIOS follows a strict sequence:
1. Check for VDS. Before starting a disk transfer, the INT 13h handler checks bit 5 of byte 0040:007Bh in the BDA.
• If clear: The CPU is in pure Real Mode. The BIOS calculates the physical address directly (Segment * 16 + Offset) and programs the disk controller's DMA engine.
• If set: A VDS provider is active, and the BIOS must translate the buffer address via INT 4Bh.
2. Lock the Buffer (INT 4Bh, AX = 8103h or 8105h).
• Scatter/Gather (AX = 8105h). Modern bus-master IDE/SATA and SCSI controllers use Physical Region Descriptor (PRD) tables. The BIOS fills an EDDS with the caller's ES:BX buffer address and calls INT 4Bh (AX = 8105h). VDS locks the pages and returns an array of physical addresses and byte lengths, which the BIOS writes directly into the controller's PRD table.
• Contiguous / Bounce Buffer (AX = 8103h). If the controller requires a single contiguous block, the BIOS uses a standard DDS and calls INT 4Bh (AX = 8103h) with flags allowing VDS to automatically allocate and copy to/from an internal DMA buffer if the target memory isn't physically contiguous.
3. Execute the Hardware DMA Transfer.
The BIOS programs the disk controller's bus-master registers with the physical addresses returned by VDS and triggers the read or write command.
4. Unlock the Buffer (INT 4Bh, AX = 8104h or 8106h).
Once the disk controller signals completion via IRQ, the BIOS calls the corresponding VDS unlock function (8104h for DDS, 8106h for EDDS). If a bounce buffer was used during a disk read, VDS copies the data from the physical buffer back into the caller's virtual buffer before releasing the lock. www.os2museum.com
5. Fallback to PIO.
If VDS returns an error (for example, insufficient DMA buffer space or an unsupported memory region), a well-behaved BIOS INT 13h routine falls back to Programmed I/O (PIO) using REP INSW/REP OUTSW, which uses virtual CPU addresses and requires no physical address translation.
(Note: Because implementing full VDS scatter/gather logic inside a cramped motherboard BIOS ROM was complex, many early PCI IDE BIOSes skipped VDS and used PIO for INT 13h, leaving bus-master DMA to protected-mode OS drivers. SCSI Option ROMs and later BIOSes with full UDMA support implemented this exact flow.)
Gigabyte GA-P67-DS3-B3, Core i7-2600K @4,5GHz, 8GB DDR3, 128GB SSD, GTX970(GF7900GT), SB Audigy + YMF724F + DreamBlaster combo + LPC2ISA