Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Open Source DOS Sound standards! (Developers)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 01.01.2013, 19:21

> But many games runs in pmode - dos4gw and those couldn't be simply
> trapped...?

Unfortunately, the way EMM386 et al trap the I/O ports only works from real (actually, V86) mode. In order to allow I/O ports to be virtualized from "real" DOS (without the aid of hardware virtualization) from PMode, you must drop down to real/V86 mode to do the I/O. Modern compilers could be written to do this automatically, I'm sure.

Other options are to always use (or develop) a BIOS/DOS (software) level API and never access hardware directly, or for applications to learn how to access all hardware directly (USB, FireWire, BlueTooth, ...).

Over time, I see the hardware virtualization of peripheral devices (serial ports, sound cards, networks, etc.) in VM's in a DOS-compatible fashion completely disappearing, and the need for software-level emulation arising again. Applications that aren't written with this scenario in mind will become completely useless, IMO.

 

Complete thread:

Back to the forum
Board view  Mix view
22762 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum