Device drivers: Changing the attribute word at install time? (Developers)
> 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.
Interesting! Is it really as simple as inserting the device driver in the chain? I suspect some things like DOS telling you your starting unit number get missed, so you have to compute that yourself. I'm also assuming that are putting it last (first?) in the chain (the same way that DOS does it) so that you don't disturb drive ordering.
Complete thread:
- Device drivers: Changing the attribute word at install time? - mbbrutman, 02.10.2023, 23:47 (Developers)
- Device drivers: Changing the attribute word at install time? - glennmcc, 03.10.2023, 03:43
- Device drivers: Changing the attribute word at install time? - mbbrutman, 03.10.2023, 20:21
- Device drivers: Changing the attribute word at install time? - ecm, 03.10.2023, 20:56
- Device drivers: Changing the attribute word at install time? - mbbrutman, 03.10.2023, 21:26
- Device drivers: Changing the attribute word at install time? - tkchia, 03.10.2023, 21:32
- Device drivers: Changing the attribute word at install time? - mbbrutman, 03.10.2023, 22:48
- Device drivers: Changing the attribute word at install time? - tom, 04.10.2023, 23:43
- Device drivers: Changing the attribute word at install time? - tkchia, 03.10.2023, 21:32
- Device drivers: Changing the attribute word at install time? - mbbrutman, 03.10.2023, 21:26
- Device drivers: Changing the attribute word at install time? - ecm, 03.10.2023, 20:56
- Device drivers: Changing the attribute word at install time? - tkchia, 03.10.2023, 21:28
- Device drivers: Changing the attribute word at install time? - mbbrutman, 03.10.2023, 22:51
- Device drivers: Changing the attribute word at install time? - bretjohn, 06.10.2023, 21:35
- Device drivers: Changing the attribute word at install time? - mbbrutman, 07.10.2023, 20:42
- Device drivers: Changing the attribute word at install time? - bretjohn, 09.10.2023, 19:17
- Device drivers: Changing the attribute word at install time? - mbbrutman, 02.11.2023, 19:39
- Device drivers: Changing the attribute word at install time? - bretjohn, 09.10.2023, 19:17
- Device drivers: Changing the attribute word at install time? - mbbrutman, 07.10.2023, 20:42
- Device drivers: Changing the attribute word at install time? - bretjohn, 06.10.2023, 21:35
- Device drivers: Changing the attribute word at install time? - mbbrutman, 03.10.2023, 22:51
- Device drivers: Changing the attribute word at install time? - Rugxulo, 23.11.2023, 22:15