Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Memory mapped devices from resl mode (Developers)

posted by Laaca Homepage, Czech republic, 04.03.2020, 14:01

> Yes, you can use DPMI physical memory mapping functions, wrapped or not,
> but this will obviously work only under DPMI. If your program is intended
> to run in real mode OR V86 mode, use INT 15h/87h to access the memory
> mapped registers.


Or maybe other possibility could be the DPMI assistance.
I can imagine this scenario:

1) Resident DPMI server
2) Hooked interrupt (or callback) processed in the protected mode
3) Realmode soundriver calls interrupt (or callback) which will be routed to resident DPMI routine

This mechanism should certainly work for new programs which will be aware of this situation.

But it is uncertain about old already compiled games.
I am not sure about possibility of persistent DPMI hook of interrupt/callback

---
DOS-u-akbar!

 

Complete thread:

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