Skip to content

Commit

Permalink
Add win 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Oct 22, 2024
1 parent 4b3e390 commit f4b926e
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 2 deletions.
62 changes: 61 additions & 1 deletion src/frame/editor/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,66 @@ echo on
# ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀ ▀▀▀
#
`.replace(/\n/g, "\r\n"),
}, {
name: "Win 3.11",
backend: "dosboxX",
contents: `
[sdl]
autolock=false
mouse emulation=integration
[dosbox]
title=Win 3.11
memsize=256
[dos]
hard drive data rate limit=0
floppy drive data rate limit=0
[cpu]
cputype=pentium
core=auto
integration device=true
[pci]
voodoo=false
[sblaster]
sbtype=sb16vibra
[render]
scaler=none
[autoexec]
echo off
imgmount 2 sockdrive {wss-makevm} system win311-v1
echo Please visit our website:
echo
echo _ __
echo (_)____ ____/ /___ _____ _________ ____ ___
echo / / ___/_____/ __ / __ \\/ ___// ___/ __ \\/ __ \`__ \\
echo / (__ )_____/ /_/ / /_/ (__ )/ /__/ /_/ / / / / / /
echo __/ /____/ \\__,_/\\____/____(_)___/\\____/_/ /_/ /_/
echo /___/
echo
echo type 'boot c:' to load Win 3.11
echo on
#
# █▀▀▀▀▀█ █ ▄▄▄▀▀█ █▀▀▀▀▀█
# █ ███ █ ██▄ █ ▀ ▄ █ ███ █
# █ ▀▀▀ █ ▄██ ▀ ▀▀█ █ ▀▀▀ █
# ▀▀▀▀▀▀▀ ▀ █▄▀▄▀ █ ▀▀▀▀▀▀▀
# █▀▄▄█▀▀▄▄ ▀ ▀█▄▄▄▄ ▀▄█▀█▀
# █▀ ▀ ▀▀▄ █▀ ▄ ▄▀▀▀▄ █▀█▄
# ▄ ▄▄ █▀▀▄ ▄▀▄▀▀█ ▀▀▄▀▀█▀
# ▄▀▀█▀▀ █▀█▀█▀▀▄ ▀██▀█▄
# ▀▀▀ ▀ ▀ █▄█ ▀█▄▄█▀▀▀█▀▀
# █▀▀▀▀▀█ ▄▄▄ ▄ ▄ █ ▀ █▄▄▄▄
# █ ███ █ ▀█▀▀▄▀▀▄████▀▀█▄█
# █ ▀▀▀ █ ▄▀▀█▀█▀▄ ▀▀▄▄█▄█
# ▀▀▀▀▀▀▀ ▀ ▀▀ ▀ ▀ ▀▀▀
#
`.replace(/\n/g, "\r\n"),
}, {
name: "Win 95",
backend: "dosboxX",
Expand Down Expand Up @@ -312,7 +372,7 @@ scaler=none
[autoexec]
echo off
imgmount 2 sockdrive {wss-makevm} system win95-v1
imgmount 2 sockdrive {wss-makevm} system win95-v2
echo Please visit our website:
echo
echo _ __
Expand Down
2 changes: 1 addition & 1 deletion src/sidebar/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function SideBar(props: {}) {
{window === "run" && <SoftKeyboardButton />}
{window === "run" && networking && <NetworkButton />}
{editor && window === "prerun" && <DosboxConfButton />}
{editor && window === "prerun" && backend === "dosboxX" && <FatDrivesButton />}
{editor && window === "prerun" && <FatDrivesButton />}
{editor && window === "run" && <FsButton />}
<div class="contentbar"></div>
{window === "run" && <FullscreenButton />}
Expand Down
1 change: 1 addition & 0 deletions src/store/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export const uiSlice = createSlice({
},
windowSelect: (state) => {
state.window = "select";
state.editor = true;
},
background: (state, a: { payload: string }) => {
state.background = a.payload;
Expand Down

0 comments on commit f4b926e

Please sign in to comment.