From a44981fc3a647b68eb8e93bbd4d599b64208b856 Mon Sep 17 00:00:00 2001 From: Bart Oldeman Date: Sun, 30 Nov 2003 15:49:53 +0000 Subject: [PATCH] FAT32 kernels should fail int21/ah=71 with al=0, carry set. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@729 6ac86273-5f31-0410-b378-82cca8765d1b --- kernel/inthndlr.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/inthndlr.c b/kernel/inthndlr.c index a4db4c6..094c68b 100644 --- a/kernel/inthndlr.c +++ b/kernel/inthndlr.c @@ -1584,6 +1584,11 @@ dispatch: /* case 0x6d and above not implemented : see default; return AL=0 */ #ifdef WITHFAT32 + /* LFN functions - fail with "function not supported" error code */ + case 0x71: + lr.AL = 00; + goto error_carry; + /* DOS 7.0+ FAT32 extended functions */ case 0x73: CLEAR_CARRY_FLAG();