Re MS-DOS7 bug, Patch done! available soon :=) (Miscellaneous)
> It consists of a fake DOS device driver, that when installed takes 368
> bytes, does NOT hook any interrupts or DOS function. All it has to do is
> sit there to offer space for the fake TSRinfo table during Sysinit.
Okay, sounds like a working solution. How does your version check identify the offending MS-DOS versions? How do you remove the TSR after CONFIG.SYS?
> Now we'll need a 'true true version' function ! I don't think I like this
> kind of escalation.
Yes, we need other functions. Additionally we have to show people that they don't have to fake every "Get version" function that we're going to invent.
> Can you name those offending non-Microsoft DOSes that
> report true ver = 7 or 8, and possibly suggest a /documented/ way to check
> for them ?
PC-DOS, (E)DR-DOS, FreeDOS, PTS-DOS and ROM-DOS do that for sure. Note that I'd like to re-define the term "offender" here to blame the software that relies on version numbers for supported DOS features. This is a bad feature detection because it requires DOS to support exactly the same feature set as that version of MS-DOS did. In this case, the other DOS variants report a version of 7.10 to show that they support FAT32. No other DOS supports the TSRInfo pointer in the DOS data segment, but (because the version is 7.00+) Chappel expects that feature.
Microsoft already faked the first DOS version check call (Int21.30) with MS-DOS 5+ to counter external programs that relied on exact version checks instead of such checks which allow higher versions too. Both methods don't always behave well: what if MS-DOS 9.50 removed support for, say, UMBs?
Some DOS versions already have new version checks which allow distinction:
* DR-DOS: Int21.4452 (doesn't tell you whether it's DR-DOS or EDR-DOS though)
* PTS-DOS (at least 6.51): Int21.20 (but doesn't return version number)
* ZDOS: Int13.20.dl=80.bx=55AA (conflicts with media sense of some BIOSes but works around this, no version number?)
* ROM-DOS: Int21.30DB.si=B2D2.di=xx03 or the same function as Int21.DB03 (21.DB conflicts with Netware "Get number of local drives" but works around this)
* The FreeDOS Kernel: Int21.3000 (hope for the best) & Int21.33FF (only a string)
---
l
Complete thread:
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 18.11.2009, 20:41 (Miscellaneous)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 18.11.2009, 23:00
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 18.11.2009, 23:30
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 19.11.2009, 07:18
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 19.11.2009, 11:32
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 19.11.2009, 12:54
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 19.11.2009, 16:29
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 19.11.2009, 18:22
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 19.11.2009, 18:52
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 20.11.2009, 12:27
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 20.11.2009, 12:56
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 22.11.2009, 01:08
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - rr, 22.11.2009, 19:50
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 22.11.2009, 20:17
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 20.11.2009, 12:56
- Re MS-DOS7 bug, Patch done! available soon :=) - Ninho, 23.11.2009, 23:26
- Re MS-DOS7 bug, Patch done! available soon :=) - ecm, 24.11.2009, 15:03
- Re MS-DOS7 bug, Patch done! available soon :=) - Ninho, 24.11.2009, 18:10
- Re MS-DOS7 bug, Patch done! available soon :=) - ecm, 24.11.2009, 23:11
- Re MS-DOS7 bug, Patch done! available soon :=) - Ninho, 25.11.2009, 00:36
- Re MS-DOS7 bug, Patch done! available soon :=) - ecm, 24.11.2009, 23:11
- Re MS-DOS7 bug, Patch done! available soon :=) - Ninho, 24.11.2009, 18:10
- Re MS-DOS7 bug, Patch done! available soon :=) - ecm, 24.11.2009, 15:03
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 20.11.2009, 12:27
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 19.11.2009, 19:16
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 19.11.2009, 23:48
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 20.11.2009, 08:29
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 20.11.2009, 09:59
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 20.11.2009, 10:43
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 20.11.2009, 12:00
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 20.11.2009, 10:43
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 20.11.2009, 09:59
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Khusraw, 20.11.2009, 08:29
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 19.11.2009, 23:48
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 19.11.2009, 18:52
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 19.11.2009, 18:22
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 19.11.2009, 11:32
- *beta* Patch available ! - Ninho, 25.11.2009, 22:01
- *beta* Patch available ! - ecm, 25.11.2009, 22:17
- *beta* Patch available ! - Ninho, 26.11.2009, 00:02
- *beta* Patch available ! - ecm, 26.11.2009, 15:04
- *beta* Patch available ! - Ninho, 26.11.2009, 17:33
- *beta* Patch available ! - ecm, 26.11.2009, 15:04
- *beta* Patch available ! - Ninho, 26.11.2009, 00:02
- *beta* Patch available ! - ecm, 25.11.2009, 22:17
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - rr, 09.12.2009, 22:50
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 10.12.2009, 13:11
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 11.12.2009, 17:12
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 12.12.2009, 01:04
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 12.12.2009, 10:57
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 12.12.2009, 11:50
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 12.12.2009, 10:57
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 12.12.2009, 01:04
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 11.12.2009, 17:12
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 10.12.2009, 15:56
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 11.12.2009, 07:14
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 11.12.2009, 16:02
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 11.12.2009, 19:42
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 12.12.2009, 11:08
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Arjay, 12.12.2009, 11:34
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 12.12.2009, 12:03
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Arjay, 12.12.2009, 12:25
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 14.12.2009, 08:28
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 12.12.2009, 12:03
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Arjay, 12.12.2009, 11:34
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 11.12.2009, 16:02
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 11.12.2009, 17:14
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 11.12.2009, 18:21
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 12.12.2009, 10:56
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 12.12.2009, 11:48
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 14.12.2009, 08:29
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 12.12.2009, 11:48
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - geoffchappell, 12.12.2009, 10:56
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - ecm, 11.12.2009, 18:21
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 11.12.2009, 07:14
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Ninho, 10.12.2009, 13:11
- Phil Gardner's Wrapper.sys & MS-DOS7 bug - Rugxulo, 18.11.2009, 23:00
Mix view