Updated boot disk builder and fixed CHECKPOINT macro in KERNEL32

svn path=/trunk/; revision=410
This commit is contained in:
Rex Jolliff 1999-04-23 16:20:31 +00:00
parent 67d7e92025
commit 98a3f0d6f5
4 changed files with 9 additions and 11 deletions

View file

@ -6,30 +6,24 @@
COPY /Y BLUE.SYS C:\reactos\system\drivers\blue.SYS COPY /Y BLUE.SYS C:\reactos\system\drivers\blue.SYS
COPY /Y KEYBOARD.SYS C:\reactos\system\drivers\KEYBOARD.SYS COPY /Y KEYBOARD.SYS C:\reactos\system\drivers\KEYBOARD.SYS
COPY /Y NTDLL.DLL C:\reactos\system\NTDLL.DLL COPY /Y NTDLL.DLL C:\reactos\system\NTDLL.DLL
COPY /Y KERNEL32.DLL C:\reactos\system\KERNEL32.DLL
: COPY /Y CRTDLL.DLL C:\reactos\system\CRTDLL.DLL : COPY /Y CRTDLL.DLL C:\reactos\system\CRTDLL.DLL
COPY /Y SHELL.EXE C:\reactos\system\SHELL.EXE COPY /Y SHELL.EXE C:\reactos\system\SHELL.EXE
: :
: present a menu to the booter... : present a menu to the booter...
: :
ECHO 1) Keyboard,IDE,VFatFSD ECHO 1) IDE,VFatFSD
ECHO 2) IDE,VFatFSD ECHO 2) No Drivers
ECHO 3) No Drivers CHOICE /C:123 /T:1,3 "Select kernel boot config"
CHOICE /C:123 /T:2,3 "Select kernel boot config"
IF ERRORLEVEL 3 GOTO :L3
IF ERRORLEVEL 2 GOTO :L2 IF ERRORLEVEL 2 GOTO :L2
:L1 :L1
CLS CLS
LOADROS NTOSKRNL.EXE KEYBOARD.O IDE.SYS VFATFSD.SYS
GOTO :END
:L2
CLS
LOADROS NTOSKRNL.EXE IDE.SYS VFATFSD.SYS LOADROS NTOSKRNL.EXE IDE.SYS VFATFSD.SYS
GOTO :END GOTO :END
:L3 :L2
CLS CLS
LOADROS NTOSKRNL.EXE LOADROS NTOSKRNL.EXE
GOTO :END GOTO :END

View file

@ -2,8 +2,10 @@
#ifdef NDEBUG #ifdef NDEBUG
#define DPRINT(args...) #define DPRINT(args...)
#define CHECKPOINT
#else #else
#define DPRINT(args...) do { dprintf("(KERNEL32:%s:%d) ",__FILE__,__LINE__); dprintf(args); } while(0); #define DPRINT(args...) do { dprintf("(KERNEL32:%s:%d) ",__FILE__,__LINE__); dprintf(args); } while(0);
#define CHECKPOINT do { dprintf("(KERNEL32:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0);
#endif #endif
void dprintf(char* fmt, ...); void dprintf(char* fmt, ...);

View file

@ -217,6 +217,7 @@ STUB(_memccpy)
STUB(_memicmp) STUB(_memicmp)
STUB(_snprintf) STUB(_snprintf)
STUB(_snwprintf) STUB(_snwprintf)
//STUB(_strlwr)
STUB(_tolower) STUB(_tolower)
STUB(_toupper) STUB(_toupper)
STUB(_ultoa) STUB(_ultoa)

View file

@ -9,4 +9,5 @@ copy /Y services\dd\keyboard\keyboard.sys a:
copy /Y services\dd\ide\ide.sys a: copy /Y services\dd\ide\ide.sys a:
copy /Y services\fs\vfat\vfatfsd.sys a: copy /Y services\fs\vfat\vfatfsd.sys a:
copy /Y lib\ntdll\ntdll.dll a: copy /Y lib\ntdll\ntdll.dll a:
copy /Y lib\kernel32\kernel32.dll a:
: copy /Y lib\crtdll\crtdll.dll a: : copy /Y lib\crtdll\crtdll.dll a: