1 |
|
---|
2 | Test VM - t-dos20 - PC-DOS 2.0 on a harddisk
|
---|
3 | ============================================
|
---|
4 |
|
---|
5 | Setup:
|
---|
6 | - Create a default DOS VM 't-dos20', but restrict the disk size to 31MB.
|
---|
7 | - Partition the disk with a single partition.
|
---|
8 | - format C: /s
|
---|
9 | - Install (copy?) the DOS files to C:\DOS
|
---|
10 | - Copy DosSleep.exe and DosVmOff.com onto the disk.
|
---|
11 | - Create config.sys if needed.
|
---|
12 | - autoexec.bat (cannot test from test.bat, so all in one file):
|
---|
13 | PATH C:\DOS;C:\
|
---|
14 | ECHO ON
|
---|
15 | ECHO TESTING chkdsk C: >COM1
|
---|
16 | dossleep 1
|
---|
17 | C:\DOS\CHKDSK C:
|
---|
18 | ECHO PASSED>COM1
|
---|
19 | ECHO Powering off VM in 5 seconds...
|
---|
20 | DosSleep 1
|
---|
21 | DosSleep 1
|
---|
22 | DosSleep 1
|
---|
23 | DosSleep 1
|
---|
24 | DosSleep 1
|
---|
25 | - More tests can be added, if desired. If test failure can be detected, end
|
---|
26 | with echoing 'FAILED' to COM1 instead of 'PASSED'.
|
---|
27 |
|
---|