Permalink
Browse files

FreeDOS kernel current - 2041+svn1709

  • Loading branch information...
1 parent 1cef75a commit c4311571563bad4496c994c108ae305b2548e000 @PerditionC committed Oct 15, 2012
Showing with 50,246 additions and 0 deletions.
  1. +92 −0 RELEASE.BAT
  2. +3 −0 bin/autoexec.bat
  3. +5 −0 bin/config.sys
  4. +36 −0 bin/install.bat
  5. +541 −0 boot/boot.asm
  6. +392 −0 boot/boot32.asm
  7. +403 −0 boot/boot32lb.asm
  8. +33 −0 boot/makefile
  9. +648 −0 boot/oemboot.asm
  10. +178 −0 build.bat
  11. +110 −0 buildall.bat
  12. +37 −0 clean.bat
  13. +38 −0 clobber.bat
  14. +119 −0 config.b
  15. +65 −0 config.m
  16. +82 −0 default.bat
  17. +8 −0 docs/bugs.txt
  18. +120 −0 docs/build.txt
  19. +480 −0 docs/config.txt
  20. +44 −0 docs/contrib.txt
  21. +340 −0 docs/copying
  22. +13 −0 docs/fdkernel.lsm
  23. +3,911 −0 docs/history.txt
  24. +198 −0 docs/intfns.txt
  25. +21 −0 docs/lfnapi.txt
  26. +11 −0 docs/mkboot.txt
  27. +191 −0 docs/nls.txt
  28. +64 −0 docs/readme.cvs
  29. +38 −0 docs/readme.txt
  30. +223 −0 docs/sys.txt
  31. +229 −0 drivers/floppy.asm
  32. +49 −0 drivers/makefile
  33. +53 −0 drivers/rdpcclk.asm
  34. +63 −0 drivers/wratclk.asm
  35. +49 −0 drivers/wrpcclk.asm
  36. +153 −0 filelist
  37. +13 −0 hdr/algnbyte.h
  38. +7 −0 hdr/algndflt.h
  39. +64 −0 hdr/buffer.h
  40. +91 −0 hdr/cds.h
  41. +47 −0 hdr/clock.h
  42. +57 −0 hdr/date.h
  43. +92 −0 hdr/dcb.h
  44. +145 −0 hdr/debug.h
  45. +506 −0 hdr/device.h
  46. +54 −0 hdr/dirmatch.h
  47. +31 −0 hdr/dsk.h
  48. +88 −0 hdr/error.h
  49. +57 −0 hdr/exe.h
  50. +152 −0 hdr/fat.h
  51. +120 −0 hdr/fcb.h
  52. +81 −0 hdr/file.h
  53. +65 −0 hdr/fnode.h
  54. +48 −0 hdr/kbd.h
  55. +36 −0 hdr/kconfig.h
  56. +91 −0 hdr/lol.h
  57. +69 −0 hdr/mcb.h
  58. +80 −0 hdr/network.h
  59. +628 −0 hdr/nls.h
  60. +172 −0 hdr/pcb.h
  61. +325 −0 hdr/portab.h
  62. +110 −0 hdr/process.h
  63. +143 −0 hdr/sft.h
  64. +198 −0 hdr/stacks.inc
  65. +44 −0 hdr/tail.h
  66. +56 −0 hdr/time.h
  67. +51 −0 hdr/version.h
  68. +39 −0 hdr/win.h
  69. +83 −0 hdr/xstructs.h
  70. +130 −0 kernel/apisupt.asm
  71. +554 −0 kernel/asmsupt.asm
  72. +517 −0 kernel/blockio.c
  73. +93 −0 kernel/break.c
  74. +548 −0 kernel/chario.c
  75. +2,568 −0 kernel/config.c
  76. +46 −0 kernel/config.h
  77. +254 −0 kernel/console.asm
  78. +5,108 −0 kernel/country.asm
  79. +74 −0 kernel/cpu.asm
  80. +1,377 −0 kernel/dosfns.c
  81. +96 −0 kernel/dosidle.asm
  82. +1,088 −0 kernel/dsk.c
  83. +19 −0 kernel/dyndata.h
  84. +98 −0 kernel/dyninit.c
  85. +671 −0 kernel/entry.asm
  86. +95 −0 kernel/error.c
  87. +95 −0 kernel/execrh.asm
  88. +482 −0 kernel/fatdir.c
  89. +1,870 −0 kernel/fatfs.c
  90. +413 −0 kernel/fattab.c
  91. +713 −0 kernel/fcbfns.c
  92. +429 −0 kernel/globals.h
  93. +32 −0 kernel/init-dat.h
  94. +336 −0 kernel/init-mod.h
  95. +74 −0 kernel/initclk.c
  96. +1,401 −0 kernel/initdisk.c
  97. +410 −0 kernel/inithma.c
  98. +73 −0 kernel/initoem.c
  99. +539 −0 kernel/int2f.asm
  100. +2,086 −0 kernel/inthndlr.c
  101. +324 −0 kernel/intr.asm
  102. +593 −0 kernel/io.asm
  103. +60 −0 kernel/io.inc
  104. +274 −0 kernel/ioctl.c
  105. +6 −0 kernel/iprf.c
  106. +246 −0 kernel/irqstack.asm
  107. +1,052 −0 kernel/kernel.asm
  108. +14 −0 kernel/kernel.cfg
  109. +364 −0 kernel/lfnapi.c
  110. +112 −0 kernel/ludivmul.inc
  111. +782 −0 kernel/main.c
  112. +165 −0 kernel/makefile
  113. +79 −0 kernel/memdisk.asm
  114. +495 −0 kernel/memmgr.c
  115. +79 −0 kernel/misc.c
  116. +63 −0 kernel/network.c
  117. +717 −0 kernel/newstuff.c
  118. +718 −0 kernel/nls.c
  119. +111 −0 kernel/nls/001-437.hc
  120. +130 −0 kernel/nls/001-437.unf
  121. BIN kernel/nls/001-437.up
  122. +111 −0 kernel/nls/049-850.hc
  123. +130 −0 kernel/nls/049-850.unf
  124. BIN kernel/nls/049-850.up
  125. +20 −0 kernel/nls/files
  126. +127 −0 kernel/nls_hc.asm
  127. +51 −0 kernel/nls_load.c
  128. +73 −0 kernel/nlssupt.asm
  129. +543 −0 kernel/prf.c
  130. +244 −0 kernel/printer.asm
  131. +300 −0 kernel/procsupt.asm
  132. +399 −0 kernel/proto.h
  133. +99 −0 kernel/segs.inc
  134. +182 −0 kernel/serial.asm
  135. +138 −0 kernel/strings.c
  136. +173 −0 kernel/sysclk.c
  137. +123 −0 kernel/syspack.c
  138. +178 −0 kernel/systime.c
  139. +842 −0 kernel/task.c
  140. +15 −0 kernel/turboc.cfg
  141. +24 −0 lib/makefile
  142. +104 −0 makefile
  143. +53 −0 mkfiles/bc5.mak
  144. +56 −0 mkfiles/generic.mak
  145. +47 −0 mkfiles/mscl8.mak
  146. +19 −0 mkfiles/owlinux.mak
  147. +53 −0 mkfiles/tc2.mak
  148. +53 −0 mkfiles/tc3.mak
  149. +53 −0 mkfiles/turbocpp.mak
  150. +67 −0 mkfiles/watcom.mak
  151. +33 −0 share/makefile
  152. +761 −0 share/share.c
  153. +6 −0 share/share.hlp
  154. +52 −0 sys/bin2c.c
  155. +482 −0 sys/fdkrncfg.c
  156. +66 −0 sys/makefile
  157. +1,894 −0 sys/sys.c
  158. +225 −0 sys/talloc.c
  159. +12 −0 utils/echoto.bat
  160. +464 −0 utils/exeflat.c
  161. +18 −0 utils/indent.ini
  162. +19 −0 utils/makefile
  163. +204 −0 utils/patchobj.c
  164. +1 −0 utils/proto.bat
  165. +162 −0 utils/relocinf.c
  166. +10 −0 utils/rmfiles.bat
  167. +4 −0 utils/wlinker.bat
View
@@ -0,0 +1,92 @@
+@ECHO OFF
+IF "%1"=="" GOTO USAGE
+REM goto to just below trunk and tags directory, assume ran in trunk directory
+CD ..
+
+ECHO tag SVN with release version - svn copy trunk/ tags/ke%1
+svn copy https://freedos.svn.sourceforge.net/svnroot/freedos/kernel/trunk/ https://freedos.svn.sourceforge.net/svnroot/freedos/kernel/tags/ke%1 -m "Tag kernel release %1"
+PAUSE
+ECHO svn export to get clean tree
+if EXIST SOURCE RMDIR /S /Q SOURCE > NUL
+svn export https://freedos.svn.sourceforge.net/svnroot/freedos/kernel/tags/ke%1 SOURCE\ke%1
+REM svn export https://freedos.svn.sourceforge.net/svnroot/freedos/kernel/trunk SOURCE\ke%1
+
+SET VERSION=%1
+SET LSMRET=SRC
+SET LSMFILE=SOURCE\ke%1\docs\fdkernel.lsm
+GOTO LSM
+:SRC
+ECHO zipping source
+7z.exe a -tzip -mx9 -mpass15 -r ke%1s.zip SOURCE\*
+ECHO creating APPINFO and expected packaging dir structure
+ECHO using working configuration file
+COPY trunk\CONFIG.BAT SOURCE\ke%1 > NUL
+CD SOURCE\ke%1
+
+ECHO build and packaging
+SET VERSION=%1 (FAT12/FAT16)
+SET FAT=16
+SET BZKRET=F16
+GOTO BZK
+:F16
+SET VERSION=%1 (FAT12/FAT16/FAT32)
+SET FAT=32
+SET BZKRET=F32
+GOTO BZK
+:F32
+ECHO clean up
+CD ..\..
+RMDIR /S /Q SOURCE > NUL
+ECHO Done.
+SET BZKRET=
+GOTO DONE
+
+
+:BZK
+ECHO build kernel %VERSION%
+CALL build.bat /D KERNEL_VERSION /V "%1 " 86 upx fat%FAT%
+DEL BIN\K??86??.sys
+SET LSMRET=BZK_2
+SET LSMFILE=docs\fdkernel.lsm
+GOTO LSM
+:BZK_2
+SET LSMRET=
+ECHO zipping FAT%FAT% release version
+7z.exe a -tzip -mx9 -mpass15 -r ..\..\ke%1_86f%FAT%.zip BIN\* DOCS\*
+ECHO restructuring and zipping update package
+DEL BIN\K??86??.* > NUL
+MKDIR DOC
+MKDIR DOC\KERNEL
+COPY DOCS\* DOC\KERNEL\
+MKDIR APPINFO
+MOVE DOC\KERNEL\*.lsm APPINFO\
+7z.exe a -tzip -mx9 -mpass15 -r ..\..\kernel%FAT%.zip APPINFO\* BIN\* DOC\*
+ECHO cleaning up between builds
+CALL clobber.bat
+RMDIR /S /Q DOC
+RMDIR /S /Q APPINFO
+GOTO %BZKRET%
+
+:LSM
+ECHO Begin3>%LSMFILE%
+ECHO Title: The FreeDOS Kernel>>%LSMFILE%
+ECHO Version: %VERSION%>>%LSMFILE%
+ECHO Entered-date: %DATE%>>%LSMFILE%
+ECHO Description: The FreeDOS Kernel>>%LSMFILE%
+ECHO Keywords: kernel, FreeDOS, DOS, MSDOS>>%LSMFILE%
+ECHO Author: (developers: can be reached on the freedos-kernel mailing list)>>%LSMFILE%
+ECHO Maintained-by: freedos-kernel@lists.sourceforge.net>>%LSMFILE%
+ECHO Primary-site: http://freedos.sourceforge.net/kernel/>>%LSMFILE%
+ECHO Alternate-site: http://www.fdos.org/kernel/>>%LSMFILE%
+ECHO Alternate-site: https://freedos.svn.sourceforge.net/svnroot/freedos>>%LSMFILE%
+ECHO Original-site: http://www.gcfl.net/pub/FreeDOS/kernel>>%LSMFILE%
+ECHO Platforms: DOS, FreeDOS, DOSEMU (OpenWatcom C or Turbo C, NASM, UPX)>>%LSMFILE%
+ECHO Copying-policy: GPL2>>%LSMFILE%
+ECHO End>>%LSMFILE%
+SET LSMFILE=
+SET VERSION=
+GOTO %LSMRET%
+
+:USAGE
+ECHO Tag and build release kernels - usage: RELEASE {VERSION} e.g. RELEASE 2039
+:DONE
View
@@ -0,0 +1,3 @@
+@echo off
+echo Welcome to FreeDOS (http://www.freedos.org)!
+path=a:\
View
@@ -0,0 +1,5 @@
+rem dos=high
+rem device=fdxms.sys (or himem.sys)
+files=20
+buffers=20
+rem screen=0x12
View
@@ -0,0 +1,36 @@
+@echo off
+rem
+rem Create a distribution floppy
+rem
+rem $Header$
+
+set D=A:
+if "%1" == "b:" set D=B:
+if "%1" == "B:" set D=B:
+if "%1" == "b" set D=B:
+if "%1" == "B" set D=B:
+
+echo This utility will create a distribution floppy on the disk in drive %D%
+pause
+
+rem try to transfer system files -- abort if it cannot.
+sys %D%
+if errorlevel 1 goto out
+
+rem copy remaining files
+echo copying remaining files...
+echo copying autoexec.bat...
+copy autoexec.bat %D%
+echo copying config.sys..
+copy config.sys %D%
+echo copying sys.com..
+copy sys.com %D%
+label %D% freedos
+
+rem exit methods
+goto done
+:out
+echo Floppy creation aborted
+:done
+set D=
+
Oops, something went wrong.

0 comments on commit c431157

Please sign in to comment.