Browse Source
8086tiny: do not prompt for bios image in wrapper
Alternate bios is not available for this emulator, so
packaged image will be used instead.
build-on-device
Leonid Plyushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
2 changed files with
3 additions and
13 deletions
-
packages/8086tiny/8086tiny.sh
-
packages/8086tiny/build.sh
|
|
@ -3,7 +3,7 @@ |
|
|
|
VERSION="@PACKAGE_VERSION@" |
|
|
|
|
|
|
|
PROGRAM="@TERMUX_PREFIX@/libexec/8086tiny" |
|
|
|
BIOS_IMAGE="" |
|
|
|
BIOS_IMAGE="@TERMUX_PREFIX@/share/8086tiny/bios.bin" |
|
|
|
FD_IMAGE="" |
|
|
|
HDD_IMAGE="" |
|
|
|
|
|
|
@ -13,7 +13,7 @@ cleanup() { |
|
|
|
} |
|
|
|
|
|
|
|
usage() { |
|
|
|
echo "Usage: 8086tiny [bios image] [floppy image] [harddisk image]" |
|
|
|
echo "Usage: 8086tiny [floppy image] [harddisk image]" |
|
|
|
echo |
|
|
|
echo "8086tiny is a tiny, free, open source, portable Intel PC emulator/VM." |
|
|
|
echo |
|
|
@ -41,12 +41,6 @@ while (( $# > 0 )); do |
|
|
|
exit 1 |
|
|
|
;; |
|
|
|
*) |
|
|
|
if [ -z "$BIOS_IMAGE" ]; then |
|
|
|
BIOS_IMAGE="$1" |
|
|
|
shift 1 |
|
|
|
continue |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -z "$FD_IMAGE" ]; then |
|
|
|
FD_IMAGE="$1" |
|
|
|
shift 1 |
|
|
@ -63,10 +57,6 @@ while (( $# > 0 )); do |
|
|
|
shift 1 |
|
|
|
done |
|
|
|
|
|
|
|
if [ -z "$BIOS_IMAGE" ]; then |
|
|
|
BIOS_IMAGE="@TERMUX_PREFIX@/share/8086tiny/bios.bin" |
|
|
|
fi |
|
|
|
|
|
|
|
if [ -z "$FD_IMAGE" ]; then |
|
|
|
FD_IMAGE="@TERMUX_PREFIX@/share/8086tiny/dos.img" |
|
|
|
fi |
|
|
|
|
|
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/adriancable/8086tiny |
|
|
|
TERMUX_PKG_DESCRIPTION="A PC XT-compatible emulator/virtual machine" |
|
|
|
TERMUX_PKG_LICENSE="MIT" |
|
|
|
TERMUX_PKG_VERSION=1.25 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_REVISION=2 |
|
|
|
# Version tag is unavailable. |
|
|
|
TERMUX_PKG_SRCURL=https://github.com/adriancable/8086tiny/archive/c79ca2a34d96931d55ef724c815b289d0767ae3a.tar.gz |
|
|
|
TERMUX_PKG_SHA256=ede246503a745274430fdee77ba639bc133a2beea9f161bff3f7132a03544bf6 |
|
|
|