From 6534691f858fb99f3120d9ebb6a8b2f3ed8b7ef1 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Sun, 25 Jan 2004 22:20:48 +0000 Subject: [PATCH] from Lucho: basic implementation of --------D-2F4A33----------------------------- INT 2F - Windows95 - CHECK MS-DOS VERSION 7 necessary for SpinRite (Steve Gibson) git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@748 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/int2f.asm | 8 +++++++- mkfiles/generic.mak | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/kernel/int2f.asm b/kernel/int2f.asm index f89295f..d73f1a0 100644 --- a/kernel/int2f.asm +++ b/kernel/int2f.asm @@ -63,7 +63,13 @@ Int2f3: je IntDosCal ; Dos Internal calls cmp ax,4a02h je IntDosCal ; Dos Internal calls - +%ifdef WITHFAT32 + cmp ax,4a33h ; Check DOS version 7 + jne Check4Share + xor ax,ax ; no undocumented shell strings + iret +Check4Share: +%endif cmp ah,10h ; SHARE.EXE interrupt? je Int2f1 ; yes, do installation check cmp ah,08h diff --git a/mkfiles/generic.mak b/mkfiles/generic.mak index 34a3ea0..f30bdc1 100644 --- a/mkfiles/generic.mak +++ b/mkfiles/generic.mak @@ -16,6 +16,7 @@ TARGETOPT=-3 !if $(XFAT) == 32 ALLCFLAGS=$(ALLCFLAGS) -DWITHFAT32 +NASMFLAGS=$(NASMFLAGS) -DWITHFAT32 !endif NASM=$(XNASM)