Fixed bug in sys.c and remove *.err files with clean/clobber

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@333 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2001-11-18 17:48:20 +00:00
parent a628dadd6d
commit 0ddf436c88
6 changed files with 7 additions and 5 deletions

View File

@ -4,6 +4,8 @@
* ran source code .c and .h files through "indent"
* fixed new printf bug
* removed some duplicate documents
+ Changes Victor & Bart
* fixed sys.c fat32 detection bug (offset 0x10, not 0x2c)
2001 Nov 17 - Build 2025b
-------- Bart Oldeman (bart@dosemu.org)
+ Changes Tom

View File

@ -42,7 +42,7 @@ clobber: clean
-$(RM) device.lib status.me ..\lib\device.lib
clean:
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.cod
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.cod *.err
device.lib : $(OBJS)
-$(RM) device.lib

View File

@ -100,7 +100,7 @@ clobber: clean
-$(RM) kernel.exe kernel.sys status.me
clean:
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.cod
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.cod *.err
# XXX: This is a very ugly way of linking the kernel, forced upon us by the
# inability of Turbo `make' 2.0 to perform command line redirection. -- ror4

View File

@ -49,7 +49,7 @@ clobber: clean
-$(RM) bin2c.com sys.com b_fat12.h b_fat16.h b_fat32.h
clean:
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod status.me
-$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod *.err status.me
# *Individual File Dependencies*
bin2c.obj: bin2c.c

View File

@ -431,7 +431,7 @@ VOID put_boot(COUNT drive, BYTE * bsFile, BOOL both)
}
else
{
if (*(unsigned long *)(x + 0x2c) /* total number of clusters */
if (*(unsigned long *)(x + 0x10) /* total number of clusters */
> (unsigned)65526l)
{
fs = 32;

View File

@ -15,5 +15,5 @@ clobber: clean
$(RM) bin2c.com exeflat.exe patchobj.exe
clean:
$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod status.me
$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod *.err status.me