1 |
|
---|
2 | Test VM - t-dos50-win31 - DOS 5.0 and Windows 3.1
|
---|
3 | =================================================
|
---|
4 |
|
---|
5 | Setup:
|
---|
6 | - Create a default DOS VM 't-dos50-win31'.
|
---|
7 | - Install DOS (single partition, etc).
|
---|
8 | - Install CDROM driver (e.g. OAK).
|
---|
9 | - Install Window 3.1 into C:\WINDOWS.
|
---|
10 | - Open the control panel and install sound blaster 1.5 drivers (port 220, irq 5,
|
---|
11 | dma 5/7).
|
---|
12 | - Open the control panel and make sure all system sounds have .WAV files associated
|
---|
13 | with them. Test that you can hear them.
|
---|
14 | - Copy DosSleep.exe, DosVmOff.com, and WinExit.exe onto the disk (C:\).
|
---|
15 | - Start the macro recorder (recorder.exe) in windows and record a macro file
|
---|
16 | that can be run automatically, make sure to associate it with Shift-F7 and
|
---|
17 | that it plays in normal time.
|
---|
18 | First C:\AbtExit.rec:
|
---|
19 | - Help->About in the program manager using keyboard (Alt-H, A).
|
---|
20 | - Dismiss using the enter key after a beat (no mouse).
|
---|
21 | - [Anything that might be useful+easy to test]
|
---|
22 | - File->Run in the program manager using keyboard (Alt-F, R)
|
---|
23 | - Type in "C:\WinExit.exe" and enter (no mouse).
|
---|
24 | - Save macro.
|
---|
25 | - Open the startup folder and create a program item with the following command line:
|
---|
26 | C:\WINDOWS\RECORDER.EXE -H +F7 C:\ABTREXIT.REC
|
---|
27 | - Create c:\test.bat with the following content:
|
---|
28 | :dos-stuff
|
---|
29 | echo TESTING CHKDSK C: >COM1
|
---|
30 | dossleep 1
|
---|
31 | C:\DOS\CHKDSK.EXE C:
|
---|
32 | if not errorlevel 0 goto fail
|
---|
33 |
|
---|
34 | echo TESTING msd.exe /P NUL >COM1
|
---|
35 | dossleep 1
|
---|
36 | C:\WINDOWS\MSD.EXE /P NUL
|
---|
37 | if not errorlevel 0 goto fail
|
---|
38 |
|
---|
39 | echo TESTING qbasic.exe /RUN C:\HELLO.BAS >COM1
|
---|
40 | dossleep 1
|
---|
41 | C:\DOS\QBASIC.EXE /RUN C:\HELLO.BAS
|
---|
42 | if not errorlevel 0 goto fail
|
---|
43 |
|
---|
44 | :386mode
|
---|
45 | echo TESTING win /3 >COM1
|
---|
46 | dossleep 1
|
---|
47 | win /3
|
---|
48 | if not errorlevel 0 goto fail
|
---|
49 |
|
---|
50 | :standardmode
|
---|
51 | echo TESTING win /s >COM1
|
---|
52 | dossleep 1
|
---|
53 | win /s
|
---|
54 | if not errorlevel 0 goto fail
|
---|
55 |
|
---|
56 | :success
|
---|
57 | echo PASSED>COM1
|
---|
58 | goto done
|
---|
59 |
|
---|
60 | :failed
|
---|
61 | echo FAILED>COM1
|
---|
62 | goto done
|
---|
63 |
|
---|
64 | :done
|
---|
65 | echo powering off the VM in 5 seconds...
|
---|
66 | dossleep 1
|
---|
67 | dossleep 1
|
---|
68 | dossleep 1
|
---|
69 | dossleep 1
|
---|
70 | dossleep 1
|
---|
71 | dosvmoff
|
---|
72 | - Create C:\HELLO.BAS with the following content:
|
---|
73 | PRINT "Hello World!"
|
---|
74 | SYSTEM
|
---|
75 | END
|
---|
76 | - Edit c:\autoexec.bat appending "echo on" and "call c:\test.bat".
|
---|
77 | - Check that C:\config.sys contains himem.sys from windows and no emm386.
|
---|
78 |
|
---|