42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# shellcheck shell=bash
|
|
# Part of JoeyLib, Copyright (c) 2026 Scott Duensing, under the MIT License.
|
|
# See LICENSE.md for license information.
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
# Windows for Workgroups 3.11, set up unattended on a DOSBox Staging PC with
|
|
# the S3 Trio64V+ driver at 800x600 in 256 colours and Windows' own Sound
|
|
# Blaster driver (installer/lib/win16.sh): what the win16 port's programs
|
|
# run on for joey-run and the gates (scripts/lib/win16Gate.sh). Made from
|
|
# your own install disc and S3 driver disk -- private files, never
|
|
# downloaded: ./install.sh import PATH (the ISO and the driver's .zip) or
|
|
# the private bundle. Into toolchains/opt/win311/c, drive C:; runs copy it.
|
|
|
|
compDescription="emulator: Windows for Workgroups 3.11 on DOSBox (win16; private media: import)"
|
|
compGroups="emulator:win16"
|
|
compRequires="dosbox"
|
|
compHostDeps="build-tools make xvfb"
|
|
|
|
# shellcheck source=installer/lib/win16.sh
|
|
source "$JOEY_INSTALLER/lib/win16.sh"
|
|
|
|
compPin="$(win16Pin)"
|
|
|
|
|
|
compInstall() {
|
|
win16Prepare "$compDir"
|
|
}
|
|
|
|
|
|
compInstalled() {
|
|
[ -f "$compDir/c/WINDOWS/WIN.COM" ]
|
|
}
|
|
|
|
|
|
compVerify() {
|
|
win16Verify "$compDir/c"
|
|
}
|
|
|
|
|
|
compEnv() {
|
|
envVar WIN16_C "$compDir/c"
|
|
}
|