Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

PSP environment word as a selector - How is exec handled? (DOSX)

posted by ecm Homepage E-mail, Düsseldorf, Germany, 22.01.2026, 12:24

I've heard that for some DOS extenders, the word [PSP:2Ch] may be replaced by a selector that points to the environment, rather than a segment address.

If this is so, does the extender swap around the PSP field around exec calls? If DOS is given a zero in the exec block for the environment source, it'll retrieve the environment from the current PSP. But DOS expects a segment in that field.

---
l

 

Complete thread:

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