Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Device drivers: Changing the attribute word at install time? (Developers)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 06.10.2023, 21:35

Unless you actually need the device driver to be installed by DOS at bootup for some reason, you can also manually insert the driver into the device driver chain. Essentially, this makes it a TSR instead of a device driver so you can do things like uninstalling it if you want to or detecting the DOS version while you install so you can configure the attributes however you want.

I do this on some of my programs, both for character and block devices. But to be fair, I've never tried it with really early versions of DOS (like 2.x) but I think it would be possible to do there also.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 76 users online (0 registered, 76 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum