Skip to content

Commit 6d1bb7f

Browse files
committed
Update to v1.80.
1 parent 5e46d2f commit 6d1bb7f

File tree

14 files changed

+215
-101
lines changed

14 files changed

+215
-101
lines changed

docs/CHANGES.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,33 @@
22

33
## Changes and updates
44

5+
### v1.8.0
6+
7+
- Fixed DOSee incorrectly interpreting backslashes as new commands,
8+
even though they're common DOS program arguments, ie, `EXAMPLE.EXE /?`.
9+
- DOSee (`dosee:run:filename`) can handle chained DOS and DOSBox commands, these are separated by a Bash-style `&&` (AND) separator.
10+
For example, `@ECHO Hello&&PAUSE&&CLS` would print Hello, prompt for any key press to continue and then clear the screen.
11+
- Added a Update DOSee and the service worker button on the `index.html` running example.
12+
Clicking this removes all stored DOSee files in the browser cache.
13+
- Added apple-touch-icon meta link to examples.
14+
- Renamed the internal drive letters to make their purpose clearer.
15+
- Updated the content of the Utilities `U:` drive.
16+
- - Renamed `ALIASES` dir to `ALIAS`
17+
- - Renamed `TOOLS` dir to `FILEHACK`
18+
- - Renamed `REPAIR` to `FIX`
19+
- - Renamed `DF2DOS` to `UTIL`
20+
- - Moved `FIX\TP-FIX` into `FILEHACK`
21+
- - Added the dependency `CWSDPMI.EXE` to `UTIL`
22+
- - Added an ANSI `WELCOME` help screen.
23+
- - Removed the DOSzip commander tool `DZ.EXE` as it ran too slow.
24+
- - Removed the unused `DRIVER` directory.
25+
- - Replaced Open Cubic Player with the performant XTC-PLAY v0.47.
26+
- - Replaced Acidview with Insane View v2.01b.
27+
528
### v1.71
6-
- Fixed yarn/npm build error caused by an invalid type used in `workbox-config.js`.
7-
<br>`[InjectManifest.maximumFileSizeToCacheInBytes] 'maximumFileSizeToCacheInBytes' property type must be number.`
29+
30+
- Fixed yarn/npm build error caused by an invalid type used in `workbox-config.js`.
31+
<br>`[InjectManifest.maximumFileSizeToCacheInBytes] 'maximumFileSizeToCacheInBytes' property type must be number.`
832

933
### v1.70
1034

docs/README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ cd DOSee
6060
# run the container (tap Ctrl-C to exit)
6161
docker compose up
6262
```
63+
6364
Point a web browser to http://localhost:8086
6465

6566
```bash
@@ -85,24 +86,15 @@ If you edit the source files in `src/` you will need to rebuild the application.
8586
cd DOSee
8687

8788
# re-build DOSee using your edits
88-
yarn # npm run install
89+
yarn run install # npm run install
8990

9091
# serve the modified DOSee over port 8086
9192
yarn run serve # npm run serve
9293
```
9394

9495
Point a web browser to http://localhost:8086
9596

96-
Due to a PWA offline caching feature, web browsers must clear the application storage and unregister the service workers to reflect changes to the application code.
97-
98-
- In Chrome/Edge bring up the browser Dev Tools in using <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>J</kbd>.<br>
99-
Select the Application and Storage tab.<br>
100-
Check the Application Unregister service workers checkbox.<br>
101-
Press the Clear site data button.
102-
103-
- In Firefox bring up the browser Developer Tools in using <kbd>Ctrl</kbd> <kbd>Shift</kbd> <kbd>I</kbd>.<br>
104-
Select the Application and Service Workers tab.<br>
105-
Press the Unregister button.
97+
Due to the PWA offline feature, web browsers need to unregister the service workers to reflect any changes to the application code. There is a red _Update DOSee and the service worker_ button on the index.html example that will do this and then reload the browser window. The eventListener code for this button can be found in the `src/js/dosee-sw.js` file.
10698

10799
### License
108100

docs/USAGE.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ The meta _content_ attribute must be a relative path from the webroot and must p
4747

4848
### `<meta name="dosee:run:filename">`
4949

50-
The filename of the MS-DOS program DOSee should launch. The program file needs to exist in the ZIP archive provided to _dosee:zip:path_.
50+
The filenames of the MS-DOS programs or DOSBox commands DOSee should launch. Any programs need to exist in the ZIP archive provided to _dosee:zip:path_.
5151

5252
DOS usually uses the following file extensions to identify a program: `.exe` `.com` `.bat`. Other than these, there is no standard file naming convention to identify which file should launch a piece of DOS software.
5353

54+
Multiple programs and commands can be chained together using an `&&` separator.
55+
5456
If the content is left blank or the filename doesn't exist in the archive, DOSee will launch into a DOS `C:` prompt.
5557

5658
@@ -59,6 +61,12 @@ If the content is left blank or the filename doesn't exist in the archive, DOSee
5961
<meta name="dosee:run:filename" content="game.exe" />
6062
```
6163

64+
65+
66+
```html
67+
<meta name="dosee:run:filename" content="CLS&&@ECHO Loading game&&game.exe" />
68+
```
69+
6270
## Optional
6371

6472
### `<meta name="dosee:capture:filename">`
@@ -157,7 +165,7 @@ The default and initial selection for the **Graphic adapter** hardware. Possible
157165

158166
The default and initial selection for the **Audio addon** hardware. Possible values are:
159167

160-
- `gus`<br>**Gravis Ultrasound** offers high quality 14 channel, 16-bit, 44 KHz digital playback.
168+
- `gus`<br>**Gravis UltraSound** offers high quality 14 channel, 16-bit, 44 KHz digital playback.
161169
- `covox`<br>**Covox** Covox Speech Accelerator is an external audio device and speaker with mono digital playback.
162170
- `sb16`<br>**Sound Blaster 16** Creative Labs Sound Blaster 16 offers stereo, 16-bit, 44 KHz digital playback.
163171
- `sb1`<br>**Sound Blaster 1.0** Creative Labs Sound Blaster v1.0 offers mono, 8-bit, 22 KHz digital playback.
@@ -173,7 +181,7 @@ The default and initial selection for the **Audio addon** hardware. Possible val
173181

174182
#### `<meta name="dosee:audio:gus">`
175183

176-
When set to `true`, it tells DOSee to mount a collection of Gravis Ultrasound audio drivers and tools accessible from the `G:` drive. These drivers are always loaded by DOSee whenever the Gravis Ultrasound audio option is selected. So this should still be left to `false`.
184+
When set to `true`, it tells DOSee to mount a collection of Gravis UltraSound audio drivers and tools accessible from the `G:` drive. These drivers are always loaded by DOSee whenever the Gravis UltraSound audio option is selected. So this should still be left to `false`.
177185

178186
#### Sample programs
179187

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"homepage": "https://github.com/bengarrett/DOSee",
2525
"funding": {
26-
"type" : "individual",
27-
"url" : "https://www.buymeacoffee.com/4rtEGvUIY"
26+
"type": "individual",
27+
"url": "https://www.buymeacoffee.com/4rtEGvUIY"
2828
},
2929
"license": "GPL-3.0-or-later",
3030
"name": "dosee",
@@ -39,5 +39,6 @@
3939
"serve": "npx http-server build -p 8086",
4040
"test": "echo \"Error: no test specified\" && exit 1"
4141
},
42-
"version": "1.7.0"
42+
"version": "1.8.0",
43+
"packageManager": "[email protected]"
4344
}

src/disk_drives/s_drive.zip

-8 Bytes
Binary file not shown.

src/disk_drives/u_drive.zip

-887 KB
Binary file not shown.

src/index.html

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
<!-- PWA configuration -->
1212
<meta name="theme-color" content="#1524eb" />
1313
<link rel="manifest" href="/manifest.json" />
14+
<link rel="apple-touch-icon" href="/images/dosee-icon-192x192.png">
1415

1516
<!-- DOSee initialisation options -->
16-
<meta name="dosee:zip:path" content="dos_programs/program_0/agi_demo_pack_1.zip" />
17+
<meta name="dosee:zip:path" content="dos_programs/program_0/agi_demo_pack_1.zip" />
1718
<meta name="dosee:run:filename" content="sierra.com" />
1819
<meta name="dosee:capture:filename" content="screenshot.png" />
1920
<meta name="dosee:utilities" content="false" />
@@ -54,12 +55,13 @@
5455
<div>
5556
<h2>
5657
DOSee
57-
<small><a href="#doseeTabs" id="doseeInstall" class="hidden">+Install</a></small>
58+
<small><em>A DOS era, PC emulator for the web</em>
59+
<a href="#doseeTabs" id="doseeInstall" class="hidden">+Install</a>
60+
</small>
5861
</h2>
5962
<hr />
6063
<h2>
61-
<small>Emulating<span id="doseeOffline" class="hidden"> offline</span>
62-
<span id="doseeH2">Something</span></small>
64+
<small>Emulating<span id="doseeOffline" class="hidden"> offline</span> <span id="doseeH2">something</span></small>
6365
</h2>
6466
<div class="row" id="doseeCrashed">
6567
<div class="card fluid error">
@@ -136,7 +138,7 @@ <h2>
136138
<legend>Audio addon</legend>
137139
<label>
138140
<input type="radio" name="dosaudio" id="dosaudio1" value="gus" />
139-
Gravis Ultrasound
141+
Gravis UltraSound
140142
</label>
141143
<label>
142144
<input type="radio" name="dosaudio" id="dosaudio4" value="covox" />
@@ -227,19 +229,30 @@ <h4>Sierra - AGI Demo Pack 1</h4>
227229
<p>Released: 1987</p>
228230
<p>Uses 16 color Tandy or EGA graphics and enhanced, 3 channel Tandy audio</p>
229231
<p>
230-
<a href="?dosspeed=386&dosmachine=tandy&dosaudio=none">Reset to recommended hardware</a>
232+
<a href="?dosspeed=auto&dosmachine=tandy&dosaudio=none">Reset to recommended hardware</a>
231233
</p>
232234
</div>
233235
<div id="helpTabNA">
234236
<p>No help available</p>
235237
</div>
236238
</form>
237-
<hr>
238-
<p>
239-
Example programs: <a href="/">Tandy 1000</a> - <a href="/index_1.html">EGA plus AdLib</a> - <a href="/index_2.html">Gravis Ultrasound</a> - <a href="/index_3.html">VGA plus AdLib</a>
240-
</p>
239+
<div class="row">
240+
<div class="col-sm-12">
241+
<div class="card fluid">
242+
<h5>Switch the example machines and programs,</h5>
243+
<p><a href="/">1987, Tandy 1000</a><a href="/index_1.html">1990, EGA+AdLib</a><a
244+
href="/index_2.html">1994, Gravis
245+
UltraSound</a><a href="/index_3.html">1996, VGA+AdLib</a></p>
246+
</div>
247+
</div>
248+
<div class="col-sm-12">
249+
<div class="card fluid">
250+
<input type="button" id="updateDOSeeSW" class="small secondary" value="Update DOSee and the service worker" />
251+
</div>
252+
</div>
253+
</div>
241254
<footer>
242-
© 2021 - Ben Garrett |
255+
© 2022 - Ben Garrett |
243256
<a href="//github.com/bengarrett/DOSee" target="_blank" rel="noopener">GitHub</a> |
244257
<a href="https://dosee.link" target="_blank" rel="nopener">DOSee online</a>
245258
<p>

src/index_1.html

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
<!-- PWA configuration -->
1212
<meta name="theme-color" content="#1524eb" />
1313
<link rel="manifest" href="/manifest.json" />
14+
<link rel="apple-touch-icon" href="/images/dosee-icon-192x192.png">
1415

1516
<!-- DOSee initialisation options -->
16-
<meta name="dosee:zip:path" content="dos_programs/program_1/loom.zip" />
17+
<meta name="dosee:zip:path" content="dos_programs/program_1/loom.zip" />
1718
<meta name="dosee:run:filename" content="SAMPLER.EXE" />
1819
<meta name="dosee:capture:filename" content="screenshot.png" />
1920
<meta name="dosee:utilities" content="false" />
@@ -54,12 +55,13 @@
5455
<div>
5556
<h2>
5657
DOSee
57-
<small><a href="#doseeTabs" id="doseeInstall" class="hidden">+Install</a></small>
58+
<small><em>A DOS era, PC emulator for the web</em>
59+
<a href="#doseeTabs" id="doseeInstall" class="hidden">+Install</a>
60+
</small>
5861
</h2>
5962
<hr />
6063
<h2>
61-
<small>Emulating<span id="doseeOffline" class="hidden"> offline</span>
62-
<span id="doseeH2">Something</span></small>
64+
<small>Emulating<span id="doseeOffline" class="hidden"> offline</span> <span id="doseeH2">something</span></small>
6365
</h2>
6466
<div class="row" id="doseeCrashed">
6567
<div class="card fluid error">
@@ -136,7 +138,7 @@ <h2>
136138
<legend>Audio addon</legend>
137139
<label>
138140
<input type="radio" name="dosaudio" id="dosaudio1" value="gus" />
139-
Gravis Ultrasound
141+
Gravis UltraSound
140142
</label>
141143
<label>
142144
<input type="radio" name="dosaudio" id="dosaudio4" value="covox" />
@@ -234,12 +236,19 @@ <h4>Lucasfilm passport to adventure</h4>
234236
<p>No help available</p>
235237
</div>
236238
</form>
237-
<hr>
238-
<p>
239-
Example programs: <a href="/">Tandy 1000</a> - <a href="/index_1.html">EGA plus AdLib</a> - <a href="/index_2.html">Gravis Ultrasound</a> - <a href="/index_3.html">VGA plus AdLib</a>
240-
</p>
239+
<div class="row">
240+
<div class="col-sm-12">
241+
<div class="card fluid">
242+
<h5>Switch the example machines and programs,</h5>
243+
<p><a href="/">1987, Tandy 1000</a><a href="/index_1.html">1990, EGA+AdLib</a><a
244+
href="/index_2.html">1994,
245+
Gravis
246+
UltraSound</a><a href="/index_3.html">1996, VGA+AdLib</a></p>
247+
</div>
248+
</div>
249+
</div>
241250
<footer>
242-
© 2021 - Ben Garrett |
251+
© 2022 - Ben Garrett |
243252
<a href="//github.com/bengarrett/DOSee" target="_blank" rel="noopener">GitHub</a> |
244253
<a href="https://dosee.link" target="_blank" rel="nopener">DOSee online</a>
245254
<p>

src/index_2.html

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,18 @@
33

44
<head>
55
<meta charset="utf-8" />
6-
<title>DOSee Gravis Ultrasound running example</title>
6+
<title>DOSee Gravis UltraSound running example</title>
77
<meta name="description" content="Verses by Electromotive Force running in DOSee" />
88
<meta name="author" content="Ben Garrett" />
99
<meta name="viewport" content="width=device-width, initial-scale=1" />
1010

1111
<!-- PWA configuration -->
1212
<meta name="theme-color" content="#1524eb" />
1313
<link rel="manifest" href="/manifest.json" />
14+
<link rel="apple-touch-icon" href="/images/dosee-icon-192x192.png">
1415

1516
<!-- DOSee initialisation options -->
16-
<meta name="dosee:zip:path" content="dos_programs/program_2/emf_vrs2.zip" />
17+
<meta name="dosee:zip:path" content="dos_programs/program_2/emf_vrs2.zip" />
1718
<meta name="dosee:run:filename" content="VERSES.EXE" />
1819
<meta name="dosee:capture:filename" content="screenshot.png" />
1920
<meta name="dosee:utilities" content="false" />
@@ -54,12 +55,13 @@
5455
<div>
5556
<h2>
5657
DOSee
57-
<small><a href="#doseeTabs" id="doseeInstall" class="hidden">+Install</a></small>
58+
<small><em>A DOS era, PC emulator for the web</em>
59+
<a href="#doseeTabs" id="doseeInstall" class="hidden">+Install</a>
60+
</small>
5861
</h2>
5962
<hr />
6063
<h2>
61-
<small>Emulating<span id="doseeOffline" class="hidden"> offline</span>
62-
<span id="doseeH2">Something</span></small>
64+
<small>Emulating<span id="doseeOffline" class="hidden"> offline</span> <span id="doseeH2">something</span></small>
6365
</h2>
6466
<div class="row" id="doseeCrashed">
6567
<div class="card fluid error">
@@ -136,7 +138,7 @@ <h2>
136138
<legend>Audio addon</legend>
137139
<label>
138140
<input type="radio" name="dosaudio" id="dosaudio1" value="gus" />
139-
Gravis Ultrasound
141+
Gravis UltraSound
140142
</label>
141143
<label>
142144
<input type="radio" name="dosaudio" id="dosaudio4" value="covox" />
@@ -225,7 +227,7 @@ <h2>
225227
<div id="helpProgram_2" class="hide">
226228
<h4>Verses by Electromotive Force</h4>
227229
<p>Released: 1994</p>
228-
<p>Uses Gravis Ultrasound and 256 color VGA graphics</p>
230+
<p>Uses Gravis UltraSound and 256 color VGA graphics</p>
229231
<p>
230232
<a href="?dosspeed=max&dosmachine=vga&dosaudio=gus">Reset to recommended hardware</a>
231233
</p>
@@ -234,12 +236,19 @@ <h4>Verses by Electromotive Force</h4>
234236
<p>No help available</p>
235237
</div>
236238
</form>
237-
<hr>
238-
<p>
239-
Example programs: <a href="/">Tandy 1000</a> - <a href="/index_1.html">EGA plus AdLib</a> - <a href="/index_2.html">Gravis Ultrasound</a> - <a href="/index_3.html">VGA plus AdLib</a>
240-
</p>
239+
<div class="row">
240+
<div class="col-sm-12">
241+
<div class="card fluid">
242+
<h5>Switch the example machines and programs,</h5>
243+
<p><a href="/">1987, Tandy 1000</a><a href="/index_1.html">1990, EGA+AdLib</a><a
244+
href="/index_2.html">1994,
245+
Gravis
246+
UltraSound</a><a href="/index_3.html">1996, VGA+AdLib</a></p>
247+
</div>
248+
</div>
249+
</div>
241250
<footer>
242-
© 2021 - Ben Garrett |
251+
© 2022 - Ben Garrett |
243252
<a href="//github.com/bengarrett/DOSee" target="_blank" rel="noopener">GitHub</a> |
244253
<a href="https://dosee.link" target="_blank" rel="nopener">DOSee online</a>
245254
<p>

0 commit comments

Comments
 (0)