js-dos 8.1.4 → 8.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/emulators/emulators.js +2 -0
- package/dist/emulators/emulators.js.map +1 -0
- package/dist/emulators/types/build.d.ts +28 -0
- package/dist/emulators/types/dos/bundle/dos-bundle.d.ts +20 -0
- package/dist/emulators/types/dos/dosbox/ts/direct.d.ts +3 -0
- package/dist/emulators/types/dos/dosbox/ts/worker.d.ts +3 -0
- package/dist/emulators/types/emulators.d.ts +76 -0
- package/dist/emulators/types/http.d.ts +9 -0
- package/dist/emulators/types/impl/ci-impl.d.ts +29 -0
- package/dist/emulators/types/impl/emulators-impl.d.ts +26 -0
- package/dist/emulators/types/impl/modules.d.ts +38 -0
- package/dist/emulators/types/libzip/libzip.d.ts +16 -0
- package/dist/emulators/types/protocol/messages-queue.d.ts +8 -0
- package/dist/emulators/types/protocol/protocol.d.ts +128 -0
- package/dist/emulators/wdosbox-x.js +55 -0
- package/dist/emulators/wdosbox-x.js.symbols +8760 -0
- package/dist/emulators/wdosbox-x.wasm +0 -0
- package/dist/emulators/wdosbox.js +55 -0
- package/dist/emulators/wdosbox.js.symbols +3001 -0
- package/dist/emulators/wdosbox.wasm +0 -0
- package/dist/emulators/wlibzip.js +21 -0
- package/dist/emulators/wlibzip.js.symbols +268 -0
- package/dist/emulators/wlibzip.wasm +0 -0
- package/dist/js-dos.css +1 -0
- package/dist/js-dos.js +22 -0
- package/dist/js-dos.js.map +1 -0
- package/package.json +1 -1
- package/release.zip +0 -0
- package/.eslintrc.json +0 -43
- package/.github/workflows/build.yml +0 -51
- package/.gitmodules +0 -4
- package/index.html +0 -110
- package/postcss.config.cjs +0 -8
- package/src/app.css +0 -14
- package/src/base.css +0 -10
- package/src/components/checkbox.tsx +0 -41
- package/src/components/close-button.tsx +0 -17
- package/src/components/components.css +0 -28
- package/src/components/dos-option-checkbox.tsx +0 -94
- package/src/components/dos-option-select.tsx +0 -108
- package/src/components/dos-option-slider.tsx +0 -35
- package/src/components/error.tsx +0 -16
- package/src/components/loading.tsx +0 -26
- package/src/components/lock.tsx +0 -10
- package/src/components/select.tsx +0 -33
- package/src/components/slider.tsx +0 -69
- package/src/download-file.ts +0 -18
- package/src/frame/account-frame.tsx +0 -156
- package/src/frame/editor/defaults.ts +0 -419
- package/src/frame/editor/editor-conf-frame.tsx +0 -227
- package/src/frame/editor/editor-frame.css +0 -55
- package/src/frame/editor/editor-fs-frame.tsx +0 -314
- package/src/frame/fat-drives-frame.tsx +0 -199
- package/src/frame/frame.css +0 -119
- package/src/frame/frame.tsx +0 -34
- package/src/frame/image-rendering-frame.tsx +0 -8
- package/src/frame/network-frame.tsx +0 -157
- package/src/frame/quick-save-frame.tsx +0 -98
- package/src/frame/settings-frame.tsx +0 -14
- package/src/frame/stats-frame.tsx +0 -87
- package/src/host/bundle-storage.ts +0 -91
- package/src/host/fullscreen.ts +0 -35
- package/src/host/lcache.ts +0 -203
- package/src/host/lstorage.ts +0 -156
- package/src/i18n.ts +0 -185
- package/src/index.css +0 -7
- package/src/load.ts +0 -132
- package/src/login/login.css +0 -9
- package/src/login/login.tsx +0 -77
- package/src/main.tsx +0 -197
- package/src/public/types.ts +0 -45
- package/src/sidebar/account-button.tsx +0 -33
- package/src/sidebar/cloud-save-button.tsx +0 -89
- package/src/sidebar/diskette-icon.tsx +0 -14
- package/src/sidebar/fullscreen-button.tsx +0 -44
- package/src/sidebar/network-button.tsx +0 -39
- package/src/sidebar/sidebar-button.tsx +0 -244
- package/src/sidebar/sidebar.css +0 -47
- package/src/sidebar/sidebar.tsx +0 -30
- package/src/sockdrive/LICENSE +0 -674
- package/src/sockdrive/README.md +0 -45
- package/src/sockdrive/include/sockdrive.h +0 -23
- package/src/sockdrive/js/.eslintrc.json +0 -43
- package/src/sockdrive/js/package.json +0 -29
- package/src/sockdrive/js/src/fatfs/chains.js +0 -318
- package/src/sockdrive/js/src/fatfs/dir.js +0 -385
- package/src/sockdrive/js/src/fatfs/helpers.js +0 -210
- package/src/sockdrive/js/src/fatfs/index.js +0 -606
- package/src/sockdrive/js/src/fatfs/structs.js +0 -255
- package/src/sockdrive/js/src/fatfs/vol.js +0 -166
- package/src/sockdrive/js/src/sockdrive/cache.ts +0 -56
- package/src/sockdrive/js/src/sockdrive/drive.ts +0 -471
- package/src/sockdrive/js/src/sockdrive/lru.ts +0 -221
- package/src/sockdrive/js/src/sockdrive/types.ts +0 -14
- package/src/sockdrive/js/src/sockdrive-fat.d.ts +0 -64
- package/src/sockdrive/js/src/sockdrive-fat.ts +0 -226
- package/src/sockdrive/js/src/sockdrive-native.ts +0 -100
- package/src/sockdrive/js/src/test/test.ts +0 -289
- package/src/sockdrive/js/tsconfig.json +0 -11
- package/src/sockdrive/js/webpack.config.js +0 -68
- package/src/sockdrive/js/yarn.lock +0 -1808
- package/src/store/auth.ts +0 -115
- package/src/store/dos.ts +0 -305
- package/src/store/editor.ts +0 -61
- package/src/store/init.ts +0 -48
- package/src/store/storage.ts +0 -32
- package/src/store/ui.ts +0 -191
- package/src/store.tsx +0 -116
- package/src/ui.tsx +0 -140
- package/src/v8/changes.ts +0 -56
- package/src/v8/config.ts +0 -20
- package/src/v8/subscriptions.ts +0 -62
- package/src/vite-env.d.ts +0 -5
- package/src/window/dos/controls/keyboard.ts +0 -32
- package/src/window/dos/controls/keys.ts +0 -331
- package/src/window/dos/controls/mouse/mount.ts +0 -99
- package/src/window/dos/controls/mouse/mouse-locked.ts +0 -51
- package/src/window/dos/controls/mouse/mouse-not-locked.ts +0 -84
- package/src/window/dos/controls/mouse/mouse-swipe.ts +0 -57
- package/src/window/dos/controls/mouse/pointer.ts +0 -85
- package/src/window/dos/controls/mouse.ts +0 -21
- package/src/window/dos/dos-dhry2.tsx +0 -191
- package/src/window/dos/dos-runtime.tsx +0 -216
- package/src/window/dos/dos-window.tsx +0 -91
- package/src/window/dos/render/canvas.ts +0 -65
- package/src/window/dos/render/resize.ts +0 -31
- package/src/window/dos/render/webgl.ts +0 -173
- package/src/window/dos/sound/audio-node.ts +0 -148
- package/src/window/error-window.tsx +0 -9
- package/src/window/loading-window.tsx +0 -54
- package/src/window/prerun-window.tsx +0 -121
- package/src/window/select-window.tsx +0 -118
- package/src/window/window.css +0 -78
- package/src/window/window.tsx +0 -49
- package/src/ws/ws-sockdrive.ts +0 -123
- package/src/ws/ws-transport-layer.ts +0 -468
- package/tailwind.config.cjs +0 -48
- package/tsconfig.json +0 -32
- package/tsconfig.node.json +0 -9
- package/vite.config.ts +0 -25
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { useEffect, useRef } from "preact/hooks";
|
|
2
|
-
|
|
3
|
-
export function Slider(props: {
|
|
4
|
-
class?: string,
|
|
5
|
-
label: string,
|
|
6
|
-
value: number,
|
|
7
|
-
onChange: (value: number) => void,
|
|
8
|
-
}) {
|
|
9
|
-
const sliderRef = useRef<HTMLDivElement>(null);
|
|
10
|
-
const pointRef = useRef<HTMLDivElement>(null);
|
|
11
|
-
|
|
12
|
-
useEffect(() => {
|
|
13
|
-
if (sliderRef?.current === null) {
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
const sliderEl = sliderRef.current;
|
|
18
|
-
|
|
19
|
-
let pressed = false;
|
|
20
|
-
function updatePercent(e: PointerEvent) {
|
|
21
|
-
const boundingRect = sliderEl.getBoundingClientRect();
|
|
22
|
-
const percent = Math.min(1, Math.max(0,
|
|
23
|
-
(e.clientX - boundingRect.left) / boundingRect.width));
|
|
24
|
-
props.onChange(percent);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
function onPointerDown(e: PointerEvent) {
|
|
28
|
-
pressed = true;
|
|
29
|
-
updatePercent(e);
|
|
30
|
-
}
|
|
31
|
-
function onPointerMove(e: PointerEvent) {
|
|
32
|
-
if (!pressed) {
|
|
33
|
-
return;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
updatePercent(e);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
function onPointerUp(e: PointerEvent) {
|
|
40
|
-
pressed = false;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
sliderEl.addEventListener("pointerdown", onPointerDown);
|
|
45
|
-
sliderEl.addEventListener("pointermove", onPointerMove);
|
|
46
|
-
sliderEl.addEventListener("pointerup", onPointerUp);
|
|
47
|
-
sliderEl.addEventListener("pointercancel", onPointerUp);
|
|
48
|
-
sliderEl.addEventListener("pointerleave", onPointerUp);
|
|
49
|
-
|
|
50
|
-
return () => {
|
|
51
|
-
sliderEl.removeEventListener("pointerdown", onPointerDown);
|
|
52
|
-
sliderEl.removeEventListener("pointermove", onPointerMove);
|
|
53
|
-
sliderEl.removeEventListener("pointerup", onPointerUp);
|
|
54
|
-
sliderEl.removeEventListener("pointercancel", onPointerUp);
|
|
55
|
-
sliderEl.removeEventListener("pointerleave", onPointerUp);
|
|
56
|
-
};
|
|
57
|
-
}, [sliderRef]);
|
|
58
|
-
|
|
59
|
-
const percent = Math.min(Math.max(0, props.value * 100), 100);
|
|
60
|
-
|
|
61
|
-
return <div class={props.class + " slider option"}>
|
|
62
|
-
<div class="label">{props.label}</div>
|
|
63
|
-
<div class="touch" ref={sliderRef}>
|
|
64
|
-
<div class="bg"></div>
|
|
65
|
-
<div class="point" ref={pointRef}
|
|
66
|
-
style={{ left: "calc(" + percent + "%" + " - 12px)" }}></div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>;
|
|
69
|
-
}
|
package/src/download-file.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export function downloadUrlToFs(fileName: string, url: string, targetBlank = true) {
|
|
2
|
-
const a = document.createElement("a");
|
|
3
|
-
a.href = url;
|
|
4
|
-
a.target = targetBlank ? "_blank" : "_self";
|
|
5
|
-
a.download = fileName;
|
|
6
|
-
a.style.display = "none";
|
|
7
|
-
document.body.appendChild(a);
|
|
8
|
-
|
|
9
|
-
a.click();
|
|
10
|
-
a.remove();
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export function downloadArrayToFs(fileName: string, data: Uint8Array) {
|
|
14
|
-
const blob = new Blob([data], {
|
|
15
|
-
type: "application/zip",
|
|
16
|
-
});
|
|
17
|
-
downloadUrlToFs(fileName, URL.createObjectURL(blob));
|
|
18
|
-
}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import { useDispatch, useSelector } from "react-redux";
|
|
2
|
-
import { useState } from "preact/hooks";
|
|
3
|
-
import { uiSlice } from "../store/ui";
|
|
4
|
-
import { authSlice } from "../store/auth";
|
|
5
|
-
import { useT } from "../i18n";
|
|
6
|
-
import { State } from "../store";
|
|
7
|
-
import { linkToBuy, cancle as cancelSubscription } from "../v8/subscriptions";
|
|
8
|
-
import { cancelSubscriptionPage } from "../v8/config";
|
|
9
|
-
|
|
10
|
-
export function AccountFrame(props: {}) {
|
|
11
|
-
const t = useT();
|
|
12
|
-
const account = useSelector((state: State) => state.auth.account);
|
|
13
|
-
const dispatch = useDispatch();
|
|
14
|
-
|
|
15
|
-
if (account === null) {
|
|
16
|
-
return null;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
function logout() {
|
|
20
|
-
dispatch(authSlice.actions.logout({}));
|
|
21
|
-
dispatch(uiSlice.actions.frameNone());
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
return <div class="account-frame frame-root items-center">
|
|
25
|
-
{account.picture !== null &&
|
|
26
|
-
<img class="account-img" src={account.picture} />}
|
|
27
|
-
<div>{account.name ?? account.email}</div>
|
|
28
|
-
{account.name !== null && <div class="account-email">{account.email}</div>}
|
|
29
|
-
<button class="btn mt-8" onClick={logout}>{t("logout")}</button>
|
|
30
|
-
|
|
31
|
-
<div class="mt-8 mb-4 text-2xl">{t("features")}</div>
|
|
32
|
-
<PremiumPlan />
|
|
33
|
-
</div>;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function PremiumPlan(props: {}) {
|
|
37
|
-
const t = useT();
|
|
38
|
-
const lang = useSelector((state: State) => state.i18n.lang);
|
|
39
|
-
const account = useSelector((state: State) => state.auth.account);
|
|
40
|
-
const [locked, setLocked] = useState<boolean>(false);
|
|
41
|
-
const dispatch = useDispatch();
|
|
42
|
-
|
|
43
|
-
if (account === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const token = account.token.access_token;
|
|
48
|
-
function onBuy() {
|
|
49
|
-
if (locked) {
|
|
50
|
-
return;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
setLocked(true);
|
|
54
|
-
linkToBuy(token)
|
|
55
|
-
.then((link) => {
|
|
56
|
-
if (link !== null) {
|
|
57
|
-
window.open(link, "_blank");
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
.catch(console.error)
|
|
61
|
-
.finally(() => setLocked(false));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
async function cancle() {
|
|
65
|
-
const openPage = () => {
|
|
66
|
-
dispatch(uiSlice.actions.showToast({
|
|
67
|
-
message: t("unable_to_cancle_subscription"),
|
|
68
|
-
intent: "error",
|
|
69
|
-
}));
|
|
70
|
-
window.open(cancelSubscriptionPage[lang] ?? cancelSubscriptionPage.en, "_blank");
|
|
71
|
-
};
|
|
72
|
-
if (!account) {
|
|
73
|
-
openPage();
|
|
74
|
-
} else {
|
|
75
|
-
try {
|
|
76
|
-
if (await cancelSubscription(account.token.access_token)) {
|
|
77
|
-
dispatch(uiSlice.actions.showToast({
|
|
78
|
-
message: t("subscription_cancelled"),
|
|
79
|
-
intent: "success",
|
|
80
|
-
}));
|
|
81
|
-
} else {
|
|
82
|
-
openPage();
|
|
83
|
-
}
|
|
84
|
-
} catch (e) {
|
|
85
|
-
openPage();
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
return <div class={"premium-plan-root " + (account.premium ? "have-premium" : "")}>
|
|
91
|
-
<div class="premium-plan-head flex">
|
|
92
|
-
<PremiumCheck />
|
|
93
|
-
{t("premium")}
|
|
94
|
-
<div class="flex-grow"></div>
|
|
95
|
-
{account.premium &&
|
|
96
|
-
<button
|
|
97
|
-
onClick={cancle}
|
|
98
|
-
class="ml-2 btn btn-ghost btn-xs text-success-content">
|
|
99
|
-
{t("cancle")}
|
|
100
|
-
</button>}
|
|
101
|
-
</div>
|
|
102
|
-
{!account.premium &&
|
|
103
|
-
<>
|
|
104
|
-
<div class="flex flex-row my-6 items-top">
|
|
105
|
-
<div class="premium-plan-cost">
|
|
106
|
-
$3
|
|
107
|
-
</div>
|
|
108
|
-
<div class="premium-plan-cost-expl">
|
|
109
|
-
<div>USD / mo</div>
|
|
110
|
-
<div><span class="text-blue-600">5</span> {t("try_free")}</div>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<button class={"btn btn-primary w-full " + (locked ? "hidden" : "")} onClick={onBuy}>
|
|
114
|
-
{t("buy")}
|
|
115
|
-
</button>
|
|
116
|
-
</>
|
|
117
|
-
}
|
|
118
|
-
<div class="flex flex-col mt-4">
|
|
119
|
-
<div class="premium-plan-highlight">
|
|
120
|
-
<PremiumCheck />
|
|
121
|
-
<div>{t("cloud_saves")}</div>
|
|
122
|
-
</div>
|
|
123
|
-
<div class="premium-plan-highlight">
|
|
124
|
-
<PremiumCheck />
|
|
125
|
-
<div>{t("experimental_features")}</div>
|
|
126
|
-
</div>
|
|
127
|
-
<div class="premium-plan-highlight">
|
|
128
|
-
<PremiumCheck />
|
|
129
|
-
<div>{t("writeable_fat32")}</div>
|
|
130
|
-
<div class="flex-grow"></div>
|
|
131
|
-
<button
|
|
132
|
-
onClick={() => dispatch(uiSlice.actions.frameFatDrives())}
|
|
133
|
-
target="_blank"
|
|
134
|
-
class="ml-2 btn btn-xs text-success-content">
|
|
135
|
-
{t("manage")}
|
|
136
|
-
</button>
|
|
137
|
-
</div>
|
|
138
|
-
<div class="premium-plan-highlight">
|
|
139
|
-
<PremiumCheck />
|
|
140
|
-
<div>{t("net_no_limits")}</div>
|
|
141
|
-
</div>
|
|
142
|
-
<div class="premium-plan-highlight" style="border-bottom: 0px">
|
|
143
|
-
<PremiumCheck />
|
|
144
|
-
<div>{t("unlock_options")}</div>
|
|
145
|
-
</div>
|
|
146
|
-
</div>
|
|
147
|
-
</div>;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
function PremiumCheck(props: {}) {
|
|
151
|
-
return <svg xmlns="http://www.w3.org/2000/svg"
|
|
152
|
-
fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
|
|
153
|
-
class="mr-4 w-6 h-6 text-blue-500 flex-shrink-0">
|
|
154
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5" />
|
|
155
|
-
</svg>;
|
|
156
|
-
}
|
|
@@ -1,419 +0,0 @@
|
|
|
1
|
-
/* eslint-disable max-len */
|
|
2
|
-
export const dosboxconf = [{
|
|
3
|
-
name: "7.xx",
|
|
4
|
-
backend: "dosbox",
|
|
5
|
-
contents: `[sdl]
|
|
6
|
-
autolock=false
|
|
7
|
-
|
|
8
|
-
fullscreen=false
|
|
9
|
-
fulldouble=false
|
|
10
|
-
fullresolution=original
|
|
11
|
-
windowresolution=original
|
|
12
|
-
output=surface
|
|
13
|
-
sensitivity=100
|
|
14
|
-
waitonerror=true
|
|
15
|
-
priority=higher,normal
|
|
16
|
-
mapperfile=mapper-jsdos.map
|
|
17
|
-
usescancodes=true
|
|
18
|
-
vsync=false
|
|
19
|
-
[dosbox]
|
|
20
|
-
machine=svga_s3
|
|
21
|
-
|
|
22
|
-
language=
|
|
23
|
-
captures=capture
|
|
24
|
-
memsize=16
|
|
25
|
-
[cpu]
|
|
26
|
-
core=auto
|
|
27
|
-
cputype=auto
|
|
28
|
-
cycles=auto
|
|
29
|
-
|
|
30
|
-
cycleup=10
|
|
31
|
-
cycledown=20
|
|
32
|
-
[mixer]
|
|
33
|
-
nosound=false
|
|
34
|
-
rate=44100
|
|
35
|
-
|
|
36
|
-
blocksize=1024
|
|
37
|
-
prebuffer=20
|
|
38
|
-
|
|
39
|
-
[render]
|
|
40
|
-
# frameskip: How many frames DOSBox skips before drawing one.
|
|
41
|
-
# aspect: Do aspect correction, if your output method doesn't support scaling this can slow things down!.
|
|
42
|
-
# scaler: Scaler used to enlarge/enhance low resolution modes.
|
|
43
|
-
# If 'forced' is appended, then the scaler will be used even if the result might not be desired.
|
|
44
|
-
# Possible values: none, normal2x, normal3x, advmame2x, advmame3x, advinterp2x, advinterp3x, hq2x, hq3x, 2xsai, super2xsai, supereagle, tv2x, tv3x, rgb2x, rgb3x, scan2x, scan3x.
|
|
45
|
-
|
|
46
|
-
frameskip=0
|
|
47
|
-
aspect=false
|
|
48
|
-
scaler=none
|
|
49
|
-
|
|
50
|
-
[midi]
|
|
51
|
-
# mpu401: Type of MPU-401 to emulate.
|
|
52
|
-
# Possible values: intelligent, uart, none.
|
|
53
|
-
# mididevice: Device that will receive the MIDI data from MPU-401.
|
|
54
|
-
# Possible values: default, win32, alsa, oss, coreaudio, coremidi, none.
|
|
55
|
-
# midiconfig: Special configuration options for the device driver. This is usually the id of the device you want to use.
|
|
56
|
-
# See the README/Manual for more details.
|
|
57
|
-
|
|
58
|
-
mpu401=intelligent
|
|
59
|
-
mididevice=default
|
|
60
|
-
midiconfig=
|
|
61
|
-
|
|
62
|
-
[sblaster]
|
|
63
|
-
# sbtype: Type of Soundblaster to emulate. gb is Gameblaster.
|
|
64
|
-
# Possible values: sb1, sb2, sbpro1, sbpro2, sb16, gb, none.
|
|
65
|
-
# sbbase: The IO address of the soundblaster.
|
|
66
|
-
# Possible values: 220, 240, 260, 280, 2a0, 2c0, 2e0, 300.
|
|
67
|
-
# irq: The IRQ number of the soundblaster.
|
|
68
|
-
# Possible values: 7, 5, 3, 9, 10, 11, 12.
|
|
69
|
-
# dma: The DMA number of the soundblaster.
|
|
70
|
-
# Possible values: 1, 5, 0, 3, 6, 7.
|
|
71
|
-
# hdma: The High DMA number of the soundblaster.
|
|
72
|
-
# Possible values: 1, 5, 0, 3, 6, 7.
|
|
73
|
-
# sbmixer: Allow the soundblaster mixer to modify the DOSBox mixer.
|
|
74
|
-
# oplmode: Type of OPL emulation. On 'auto' the mode is determined by sblaster type. All OPL modes are Adlib-compatible, except for 'cms'.
|
|
75
|
-
# Possible values: auto, cms, opl2, dualopl2, opl3, none.
|
|
76
|
-
# oplemu: Provider for the OPL emulation. compat might provide better quality (see oplrate as well).
|
|
77
|
-
# Possible values: default, compat, fast.
|
|
78
|
-
# oplrate: Sample rate of OPL music emulation. Use 49716 for highest quality (set the mixer rate accordingly).
|
|
79
|
-
# Possible values: 44100, 49716, 48000, 32000, 22050, 16000, 11025, 8000.
|
|
80
|
-
|
|
81
|
-
sbtype=sb16
|
|
82
|
-
sbbase=220
|
|
83
|
-
irq=7
|
|
84
|
-
dma=1
|
|
85
|
-
hdma=5
|
|
86
|
-
sbmixer=true
|
|
87
|
-
oplmode=auto
|
|
88
|
-
oplemu=default
|
|
89
|
-
oplrate=44100
|
|
90
|
-
|
|
91
|
-
[gus]
|
|
92
|
-
# gus: Enable the Gravis Ultrasound emulation.
|
|
93
|
-
# gusrate: Sample rate of Ultrasound emulation.
|
|
94
|
-
# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
|
|
95
|
-
# gusbase: The IO base address of the Gravis Ultrasound.
|
|
96
|
-
# Possible values: 240, 220, 260, 280, 2a0, 2c0, 2e0, 300.
|
|
97
|
-
# gusirq: The IRQ number of the Gravis Ultrasound.
|
|
98
|
-
# Possible values: 5, 3, 7, 9, 10, 11, 12.
|
|
99
|
-
# gusdma: The DMA channel of the Gravis Ultrasound.
|
|
100
|
-
# Possible values: 3, 0, 1, 5, 6, 7.
|
|
101
|
-
# ultradir: Path to Ultrasound directory. In this directory
|
|
102
|
-
# there should be a MIDI directory that contains
|
|
103
|
-
# the patch files for GUS playback. Patch sets used
|
|
104
|
-
# with Timidity should work fine.
|
|
105
|
-
|
|
106
|
-
gus=false
|
|
107
|
-
gusrate=44100
|
|
108
|
-
gusbase=240
|
|
109
|
-
gusirq=5
|
|
110
|
-
gusdma=3
|
|
111
|
-
ultradir=C:\\ULTRASND
|
|
112
|
-
|
|
113
|
-
[speaker]
|
|
114
|
-
# pcspeaker: Enable PC-Speaker emulation.
|
|
115
|
-
# pcrate: Sample rate of the PC-Speaker sound generation.
|
|
116
|
-
# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
|
|
117
|
-
# tandy: Enable Tandy Sound System emulation. For 'auto', emulation is present only if machine is set to 'tandy'.
|
|
118
|
-
# Possible values: auto, on, off.
|
|
119
|
-
# tandyrate: Sample rate of the Tandy 3-Voice generation.
|
|
120
|
-
# Possible values: 44100, 48000, 32000, 22050, 16000, 11025, 8000, 49716.
|
|
121
|
-
# disney: Enable Disney Sound Source emulation. (Covox Voice Master and Speech Thing compatible).
|
|
122
|
-
|
|
123
|
-
pcspeaker=true
|
|
124
|
-
pcrate=44100
|
|
125
|
-
tandy=auto
|
|
126
|
-
tandyrate=44100
|
|
127
|
-
disney=true
|
|
128
|
-
|
|
129
|
-
[joystick]
|
|
130
|
-
# joysticktype: Type of joystick to emulate: auto (default), none,
|
|
131
|
-
# 2axis (supports two joysticks),
|
|
132
|
-
# 4axis (supports one joystick, first joystick used),
|
|
133
|
-
# 4axis_2 (supports one joystick, second joystick used),
|
|
134
|
-
# fcs (Thrustmaster), ch (CH Flightstick).
|
|
135
|
-
# none disables joystick emulation.
|
|
136
|
-
# auto chooses emulation depending on real joystick(s).
|
|
137
|
-
# (Remember to reset dosbox's mapperfile if you saved it earlier)
|
|
138
|
-
# Possible values: auto, 2axis, 4axis, 4axis_2, fcs, ch, none.
|
|
139
|
-
# timed: enable timed intervals for axis. Experiment with this option, if your joystick drifts (away).
|
|
140
|
-
# autofire: continuously fires as long as you keep the button pressed.
|
|
141
|
-
# swap34: swap the 3rd and the 4th axis. can be useful for certain joysticks.
|
|
142
|
-
# buttonwrap: enable button wrapping at the number of emulated buttons.
|
|
143
|
-
|
|
144
|
-
joysticktype=auto
|
|
145
|
-
timed=true
|
|
146
|
-
autofire=false
|
|
147
|
-
swap34=false
|
|
148
|
-
buttonwrap=false
|
|
149
|
-
|
|
150
|
-
[serial]
|
|
151
|
-
# serial1: set type of device connected to com port.
|
|
152
|
-
# Can be disabled, dummy, modem, nullmodem, directserial.
|
|
153
|
-
# Additional parameters must be in the same line in the form of
|
|
154
|
-
# parameter:value. Parameter for all types is irq (optional).
|
|
155
|
-
# for directserial: realport (required), rxdelay (optional).
|
|
156
|
-
# (realport:COM1 realport:ttyS0).
|
|
157
|
-
# for modem: listenport (optional).
|
|
158
|
-
# for nullmodem: server, rxdelay, txdelay, telnet, usedtr,
|
|
159
|
-
# transparent, port, inhsocket (all optional).
|
|
160
|
-
# Example: serial1=modem listenport:5000
|
|
161
|
-
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
|
162
|
-
# serial2: see serial1
|
|
163
|
-
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
|
164
|
-
# serial3: see serial1
|
|
165
|
-
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
|
166
|
-
# serial4: see serial1
|
|
167
|
-
# Possible values: dummy, disabled, modem, nullmodem, directserial.
|
|
168
|
-
|
|
169
|
-
serial1=dummy
|
|
170
|
-
serial2=dummy
|
|
171
|
-
serial3=disabled
|
|
172
|
-
serial4=disabled
|
|
173
|
-
|
|
174
|
-
[dos]
|
|
175
|
-
# xms: Enable XMS support.
|
|
176
|
-
# ems: Enable EMS support.
|
|
177
|
-
# umb: Enable UMB support.
|
|
178
|
-
# keyboardlayout: Language code of the keyboard layout (or none).
|
|
179
|
-
|
|
180
|
-
xms=true
|
|
181
|
-
ems=true
|
|
182
|
-
umb=true
|
|
183
|
-
keyboardlayout=auto
|
|
184
|
-
|
|
185
|
-
[ipx]
|
|
186
|
-
# ipx: Enable ipx over UDP/IP emulation.
|
|
187
|
-
|
|
188
|
-
ipx=true
|
|
189
|
-
[autoexec]
|
|
190
|
-
echo off
|
|
191
|
-
mount c .
|
|
192
|
-
c:
|
|
193
|
-
|
|
194
|
-
type jsdos~1/readme.txt
|
|
195
|
-
echo on
|
|
196
|
-
|
|
197
|
-
# Generated using https://js-dos.com
|
|
198
|
-
# █▀▀▀▀▀█ █ ▄▄▄▀▀█ █▀▀▀▀▀█
|
|
199
|
-
# █ ███ █ ██▄ █ ▀ ▄ █ ███ █
|
|
200
|
-
# █ ▀▀▀ █ ▄██ ▀ ▀▀█ █ ▀▀▀ █
|
|
201
|
-
# ▀▀▀▀▀▀▀ ▀ █▄▀▄▀ █ ▀▀▀▀▀▀▀
|
|
202
|
-
# █▀▄▄█▀▀▄▄ ▀ ▀█▄▄▄▄ ▀▄█▀█▀
|
|
203
|
-
# █▀ ▀ ▀▀▄ █▀ ▄ ▄▀▀▀▄ █▀█▄
|
|
204
|
-
# ▄ ▄▄ █▀▀▄ ▄▀▄▀▀█ ▀▀▄▀▀█▀
|
|
205
|
-
# ▄▀▀█▀▀ █▀█▀█▀▀▄ ▀██▀█▄
|
|
206
|
-
# ▀▀▀ ▀ ▀ █▄█ ▀█▄▄█▀▀▀█▀▀
|
|
207
|
-
# █▀▀▀▀▀█ ▄▄▄ ▄ ▄ █ ▀ █▄▄▄▄
|
|
208
|
-
# █ ███ █ ▀█▀▀▄▀▀▄████▀▀█▄█
|
|
209
|
-
# █ ▀▀▀ █ ▄▀▀█▀█▀▄ ▀▀▄▄█▄█
|
|
210
|
-
# ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀ ▀▀▀
|
|
211
|
-
`.replace(/\n/g, "\r\n"),
|
|
212
|
-
}, {
|
|
213
|
-
name: "DOS 7.1",
|
|
214
|
-
backend: "dosboxX",
|
|
215
|
-
contents: `
|
|
216
|
-
[sdl]
|
|
217
|
-
autolock=false
|
|
218
|
-
|
|
219
|
-
[dosbox]
|
|
220
|
-
title=DOS 7.1
|
|
221
|
-
memsize=64
|
|
222
|
-
|
|
223
|
-
[dos]
|
|
224
|
-
ver=7.1
|
|
225
|
-
hard drive data rate limit=0
|
|
226
|
-
floppy drive data rate limit=0
|
|
227
|
-
|
|
228
|
-
[cpu]
|
|
229
|
-
cputype=pentium_mmx
|
|
230
|
-
core=auto
|
|
231
|
-
|
|
232
|
-
[sblaster]
|
|
233
|
-
sbtype=sb16vibra
|
|
234
|
-
|
|
235
|
-
[render]
|
|
236
|
-
scaler=none
|
|
237
|
-
|
|
238
|
-
[autoexec]
|
|
239
|
-
echo off
|
|
240
|
-
imgmount 2 sockdrive {wss-makevm} system dos7.1-v1
|
|
241
|
-
echo Please visit our website:
|
|
242
|
-
echo
|
|
243
|
-
echo _ __
|
|
244
|
-
echo (_)____ ____/ /___ _____ _________ ____ ___
|
|
245
|
-
echo / / ___/_____/ __ / __ \\/ ___// ___/ __ \\/ __ \`__ \\
|
|
246
|
-
echo / (__ )_____/ /_/ / /_/ (__ )/ /__/ /_/ / / / / / /
|
|
247
|
-
echo __/ /____/ \\__,_/\\____/____(_)___/\\____/_/ /_/ /_/
|
|
248
|
-
echo /___/
|
|
249
|
-
echo
|
|
250
|
-
echo type 'boot c:' to load DOS 7.1
|
|
251
|
-
echo on
|
|
252
|
-
#
|
|
253
|
-
# █▀▀▀▀▀█ █ ▄▄▄▀▀█ █▀▀▀▀▀█
|
|
254
|
-
# █ ███ █ ██▄ █ ▀ ▄ █ ███ █
|
|
255
|
-
# █ ▀▀▀ █ ▄██ ▀ ▀▀█ █ ▀▀▀ █
|
|
256
|
-
# ▀▀▀▀▀▀▀ ▀ █▄▀▄▀ █ ▀▀▀▀▀▀▀
|
|
257
|
-
# █▀▄▄█▀▀▄▄ ▀ ▀█▄▄▄▄ ▀▄█▀█▀
|
|
258
|
-
# █▀ ▀ ▀▀▄ █▀ ▄ ▄▀▀▀▄ █▀█▄
|
|
259
|
-
# ▄ ▄▄ █▀▀▄ ▄▀▄▀▀█ ▀▀▄▀▀█▀
|
|
260
|
-
# ▄▀▀█▀▀ █▀█▀█▀▀▄ ▀██▀█▄
|
|
261
|
-
# ▀▀▀ ▀ ▀ █▄█ ▀█▄▄█▀▀▀█▀▀
|
|
262
|
-
# █▀▀▀▀▀█ ▄▄▄ ▄ ▄ █ ▀ █▄▄▄▄
|
|
263
|
-
# █ ███ █ ▀█▀▀▄▀▀▄████▀▀█▄█
|
|
264
|
-
# █ ▀▀▀ █ ▄▀▀█▀█▀▄ ▀▀▄▄█▄█
|
|
265
|
-
# ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀ ▀▀▀
|
|
266
|
-
#
|
|
267
|
-
`.replace(/\n/g, "\r\n"),
|
|
268
|
-
}, {
|
|
269
|
-
name: "Win 95",
|
|
270
|
-
backend: "dosboxX",
|
|
271
|
-
contents: `
|
|
272
|
-
[sdl]
|
|
273
|
-
autolock=false
|
|
274
|
-
mouse_emulation=integration
|
|
275
|
-
|
|
276
|
-
[dosbox]
|
|
277
|
-
title=Windows 95
|
|
278
|
-
memsize=128
|
|
279
|
-
|
|
280
|
-
[video]
|
|
281
|
-
vmemsize=8
|
|
282
|
-
vesa modelist width limit=0
|
|
283
|
-
vesa modelist height limit=0
|
|
284
|
-
|
|
285
|
-
[dos]
|
|
286
|
-
ver=7.1
|
|
287
|
-
hard drive data rate limit=0
|
|
288
|
-
floppy drive data rate limit=0
|
|
289
|
-
|
|
290
|
-
[cpu]
|
|
291
|
-
cputype=pentium_mmx
|
|
292
|
-
core=auto
|
|
293
|
-
integration device=true
|
|
294
|
-
|
|
295
|
-
[sblaster]
|
|
296
|
-
sbtype=sb16vibra
|
|
297
|
-
|
|
298
|
-
[fdc, primary]
|
|
299
|
-
int13fakev86io=true
|
|
300
|
-
|
|
301
|
-
[ide, primary]
|
|
302
|
-
int13fakeio=true
|
|
303
|
-
int13fakev86io=true
|
|
304
|
-
|
|
305
|
-
[ide, secondary]
|
|
306
|
-
int13fakeio=true
|
|
307
|
-
int13fakev86io=true
|
|
308
|
-
cd-rom insertion delay=4000
|
|
309
|
-
|
|
310
|
-
[render]
|
|
311
|
-
scaler=none
|
|
312
|
-
|
|
313
|
-
[autoexec]
|
|
314
|
-
echo off
|
|
315
|
-
imgmount 2 sockdrive {wss-makevm} system win95-v1
|
|
316
|
-
echo Please visit our website:
|
|
317
|
-
echo
|
|
318
|
-
echo _ __
|
|
319
|
-
echo (_)____ ____/ /___ _____ _________ ____ ___
|
|
320
|
-
echo / / ___/_____/ __ / __ \\/ ___// ___/ __ \\/ __ \`__ \\
|
|
321
|
-
echo / (__ )_____/ /_/ / /_/ (__ )/ /__/ /_/ / / / / / /
|
|
322
|
-
echo __/ /____/ \\__,_/\\____/____(_)___/\\____/_/ /_/ /_/
|
|
323
|
-
echo /___/
|
|
324
|
-
echo
|
|
325
|
-
echo type 'boot c:' to load windows 95
|
|
326
|
-
echo on
|
|
327
|
-
#
|
|
328
|
-
# █▀▀▀▀▀█ █ ▄▄▄▀▀█ █▀▀▀▀▀█
|
|
329
|
-
# █ ███ █ ██▄ █ ▀ ▄ █ ███ █
|
|
330
|
-
# █ ▀▀▀ █ ▄██ ▀ ▀▀█ █ ▀▀▀ █
|
|
331
|
-
# ▀▀▀▀▀▀▀ ▀ █▄▀▄▀ █ ▀▀▀▀▀▀▀
|
|
332
|
-
# █▀▄▄█▀▀▄▄ ▀ ▀█▄▄▄▄ ▀▄█▀█▀
|
|
333
|
-
# █▀ ▀ ▀▀▄ █▀ ▄ ▄▀▀▀▄ █▀█▄
|
|
334
|
-
# ▄ ▄▄ █▀▀▄ ▄▀▄▀▀█ ▀▀▄▀▀█▀
|
|
335
|
-
# ▄▀▀█▀▀ █▀█▀█▀▀▄ ▀██▀█▄
|
|
336
|
-
# ▀▀▀ ▀ ▀ █▄█ ▀█▄▄█▀▀▀█▀▀
|
|
337
|
-
# █▀▀▀▀▀█ ▄▄▄ ▄ ▄ █ ▀ █▄▄▄▄
|
|
338
|
-
# █ ███ █ ▀█▀▀▄▀▀▄████▀▀█▄█
|
|
339
|
-
# █ ▀▀▀ █ ▄▀▀█▀█▀▄ ▀▀▄▄█▄█
|
|
340
|
-
# ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀ ▀▀▀
|
|
341
|
-
#
|
|
342
|
-
`.replace(/\n/g, "\r\n"),
|
|
343
|
-
}, {
|
|
344
|
-
name: "Win 98",
|
|
345
|
-
backend: "dosboxX",
|
|
346
|
-
contents: `
|
|
347
|
-
[sdl]
|
|
348
|
-
autolock=false
|
|
349
|
-
mouse_emulation=integration
|
|
350
|
-
|
|
351
|
-
[dosbox]
|
|
352
|
-
title=Windows 98
|
|
353
|
-
memsize=128
|
|
354
|
-
|
|
355
|
-
[video]
|
|
356
|
-
vmemsize=8
|
|
357
|
-
vesa modelist width limit=0
|
|
358
|
-
vesa modelist height limit=0
|
|
359
|
-
|
|
360
|
-
[dos]
|
|
361
|
-
ver=7.1
|
|
362
|
-
hard drive data rate limit=0
|
|
363
|
-
floppy drive data rate limit=0
|
|
364
|
-
|
|
365
|
-
[cpu]
|
|
366
|
-
cputype=pentium_mmx
|
|
367
|
-
core=auto
|
|
368
|
-
integration device=true
|
|
369
|
-
|
|
370
|
-
[sblaster]
|
|
371
|
-
sbtype=sb16vibra
|
|
372
|
-
|
|
373
|
-
[fdc, primary]
|
|
374
|
-
int13fakev86io=true
|
|
375
|
-
|
|
376
|
-
[ide, primary]
|
|
377
|
-
int13fakeio=true
|
|
378
|
-
int13fakev86io=true
|
|
379
|
-
|
|
380
|
-
[ide, secondary]
|
|
381
|
-
int13fakeio=true
|
|
382
|
-
int13fakev86io=true
|
|
383
|
-
cd-rom insertion delay=4000
|
|
384
|
-
|
|
385
|
-
[render]
|
|
386
|
-
scaler=none
|
|
387
|
-
|
|
388
|
-
[autoexec]
|
|
389
|
-
echo off
|
|
390
|
-
imgmount 2 sockdrive {wss-makevm} system win98-v1
|
|
391
|
-
echo Please visit our website:
|
|
392
|
-
echo
|
|
393
|
-
echo _ __
|
|
394
|
-
echo (_)____ ____/ /___ _____ _________ ____ ___
|
|
395
|
-
echo / / ___/_____/ __ / __ \\/ ___// ___/ __ \\/ __ \`__ \\
|
|
396
|
-
echo / (__ )_____/ /_/ / /_/ (__ )/ /__/ /_/ / / / / / /
|
|
397
|
-
echo __/ /____/ \\__,_/\\____/____(_)___/\\____/_/ /_/ /_/
|
|
398
|
-
echo /___/
|
|
399
|
-
echo
|
|
400
|
-
echo type 'boot c:' to load windows 98
|
|
401
|
-
echo on
|
|
402
|
-
#
|
|
403
|
-
# █▀▀▀▀▀█ █ ▄▄▄▀▀█ █▀▀▀▀▀█
|
|
404
|
-
# █ ███ █ ██▄ █ ▀ ▄ █ ███ █
|
|
405
|
-
# █ ▀▀▀ █ ▄██ ▀ ▀▀█ █ ▀▀▀ █
|
|
406
|
-
# ▀▀▀▀▀▀▀ ▀ █▄▀▄▀ █ ▀▀▀▀▀▀▀
|
|
407
|
-
# █▀▄▄█▀▀▄▄ ▀ ▀█▄▄▄▄ ▀▄█▀█▀
|
|
408
|
-
# █▀ ▀ ▀▀▄ █▀ ▄ ▄▀▀▀▄ █▀█▄
|
|
409
|
-
# ▄ ▄▄ █▀▀▄ ▄▀▄▀▀█ ▀▀▄▀▀█▀
|
|
410
|
-
# ▄▀▀█▀▀ █▀█▀█▀▀▄ ▀██▀█▄
|
|
411
|
-
# ▀▀▀ ▀ ▀ █▄█ ▀█▄▄█▀▀▀█▀▀
|
|
412
|
-
# █▀▀▀▀▀█ ▄▄▄ ▄ ▄ █ ▀ █▄▄▄▄
|
|
413
|
-
# █ ███ █ ▀█▀▀▄▀▀▄████▀▀█▄█
|
|
414
|
-
# █ ▀▀▀ █ ▄▀▀█▀█▀▄ ▀▀▄▄█▄█
|
|
415
|
-
# ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀ ▀▀▀
|
|
416
|
-
#
|
|
417
|
-
`.replace(/\n/g, "\r\n"),
|
|
418
|
-
},
|
|
419
|
-
];
|