-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.bat
executable file
·62 lines (55 loc) · 1.34 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
rem assuming you have a formatted floppy in drive mentioned here,
rem and that your source is in the directory listed here
rem then this batch file will produce the 16-bit and 32-bit
rem boot images that comprise the executable distribution of pdos
set drive=a
set loc=c:\devel\pdos\src
cd pdpclib
del *.obj
call compile
cd ..\src
call comp0
call comp1
call comp2
call comp3
copy %loc%\pload.com %loc%\io.sys
copy %loc%\pdos.exe %loc%\msdos.sys
copy %loc%\pcomm.exe %loc%\command.com
md 16bit
copy pload.com 16bit
copy pdos.exe 16bit
copy pcomm.exe 16bit
copy ..\pdpclib\pdptest.exe 16bit
patchver %loc%\io.sys
sys %loc% %drive%:
copy ..\pdpclib\pdptest.exe %drive%:
echo pdos16.img | raread -n -d A
cd ..\pdpclib
del *.o
call compp
cd ..\src
call comp4
call comp5w
call comp6w
format %drive%: /u
copy %loc%\pload.com %loc%\io.sys
copy %loc%\pdos.exe %loc%\msdos.sys
copy %loc%\pcomm.exe %loc%\command.com
md 32bit
copy pload.com 32bit
copy pdos.exe 32bit
copy pcomm.exe 32bit
copy ..\pdpclib\pdptest.exe 32bit
sys %loc% %drive%:
copy ..\pdpclib\pdptest.exe %drive%:
unzip -d %drive%: \samp32\uemvs1.zip
unzip -d %drive%: \samp32\pdptest.zip
unzip -d %drive%: \samp32\dll.zip
echo pdos32.img | raread -n -d A
call compb
call compbu
bootupd pdos16.img pbootsec.com
bootupd pdos32.img pbootsec.com
rem rawrite -f pdos16.img -d a -n
rem rawrite -f pdos32.img -d a -n
cd ..