1 |
|
---|
2 | Test VM - t-dos622 - DOS 6.22
|
---|
3 | =============================
|
---|
4 |
|
---|
5 | Setup:
|
---|
6 | - Create a default DOS VM 't-dos622'.
|
---|
7 | - Install DOS (single partition, etc).
|
---|
8 | - Install CDROM driver (e.g. OAK).
|
---|
9 | - Copy DosSleep.exe and DosVmOff.com onto the disk (C:\).
|
---|
10 | - Create c:\test.bat with the following content:
|
---|
11 | echo on
|
---|
12 |
|
---|
13 | echo TESTING chkdsk.exe C: >COM1
|
---|
14 | dossleep 1
|
---|
15 | C:\DOS\CHKDSK.EXE C:
|
---|
16 | IF NOT ERRORLEVEL 0 goto fail
|
---|
17 |
|
---|
18 | echo TESTING msd.exe /P NUL >COM1
|
---|
19 | dossleep 1
|
---|
20 | C:\DOS\MSD.EXE /P NUL
|
---|
21 |
|
---|
22 | echo TESTING qbasic.exe /RUN C:\HELLO.BAS >COM1
|
---|
23 | dossleep 1
|
---|
24 | C:\DOS\QBASIC.EXE /RUN C:\HELLO.BAS
|
---|
25 | IF NOT ERRORLEVEL 0 goto fail
|
---|
26 |
|
---|
27 | REM Done
|
---|
28 | echo PASSED>COM1
|
---|
29 | goto done
|
---|
30 |
|
---|
31 | :fail
|
---|
32 | echo FAILED>COM1
|
---|
33 | goto done
|
---|
34 |
|
---|
35 | :done
|
---|
36 | echo Powering off the VM in 5 seconds...
|
---|
37 | dossleep 1
|
---|
38 | dossleep 1
|
---|
39 | dossleep 1
|
---|
40 | dossleep 1
|
---|
41 | dossleep 1
|
---|
42 | dosvmoff
|
---|
43 | :exit
|
---|
44 | - Create C:\HELLO.BAS with the following content:
|
---|
45 | PRINT "Hello World!"
|
---|
46 | SYSTEM
|
---|
47 | END
|
---|
48 | - Edit c:\autoexec.bat appending "echo on" and "call c:\test.bat".
|
---|
49 | - Check that C:\config.sys contains himem.sys from windows and no emm386.
|
---|
50 |
|
---|