somehow the patch to have a decent sample bochsrc installed was removed

some time ago.

issue noticed by deraadt@

ok MAINTAINER
This commit is contained in:
brad 2004-08-11 04:46:49 +00:00
parent c30c8b805f
commit 3eb7ee4083
2 changed files with 52 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.36 2004/05/12 22:40:11 pedro Exp $
# $OpenBSD: Makefile,v 1.37 2004/08/11 04:46:49 brad Exp $
# $NetBSD: Makefile,v 1.2 1998/09/22 06:11:36 garbled Exp $
COMMENT= "x86 machine simulator"
@ -102,7 +102,7 @@ ERRORS += "Fatal: cannot use i386 or i486 with mmx"
CONFIGURE_ARGS+= --enable-compressed-hd
.endif
post-configure:
pre-build:
@sed -e 's@!!PREFIX!!@${PREFIX}@' \
< ${WRKSRC}/.bochsrc > ${WRKSRC}/bochsrc

View File

@ -0,0 +1,50 @@
$OpenBSD: patch-_bochsrc,v 1.1 2004/08/11 04:46:49 brad Exp $
--- .bochsrc.orig Tue Aug 10 17:28:34 2004
+++ .bochsrc Tue Aug 10 17:32:42 2004
@@ -66,7 +66,7 @@
# You can also use the environment variable $BXSHARE to specify the
# location of the BIOS.
#=======================================================================
-romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
+romimage: file=!!PREFIX!!/share/bochs/bios/BIOS-bochs-latest, address=0xf0000
#romimage: file=bios/BIOS-bochs-2-processors, address=0xf0000
#romimage: file=bios/BIOS-bochs-4-processors, address=0xf0000
#romimage: file=bios/rombios.bin, address=0xf0000
@@ -107,7 +107,7 @@ megs: 32
#=======================================================================
#vgaromimage: bios/VGABIOS-lgpl-latest
#vgaromimage: bios/VGABIOS-elpin-2.40
-vgaromimage: $BXSHARE/VGABIOS-elpin-2.40
+vgaromimage: !!PREFIX!!/share/bochs/bios/VGABIOS-elpin-2.40
#=======================================================================
# FLOPPYA:
@@ -130,7 +130,7 @@ vgaromimage: $BXSHARE/VGABIOS-elpin-2.40
# drive letters such as a: or b: as the path. Raw floppy access is not
# supported on Windows 95 and 98.
#=======================================================================
-floppya: 1_44=/dev/fd0, status=inserted
+floppya: 1_44=/dev/rfd0a, status=inserted
#floppya: file=../1.44, status=inserted
#floppya: 1_44=/dev/fd0H1440, status=inserted
#floppya: 1_2=../1_2, status=inserted
@@ -143,7 +143,7 @@ floppya: 1_44=/dev/fd0, status=inserted
# See FLOPPYA above for syntax
#=======================================================================
#floppyb: 1_44=b:, status=inserted
-floppyb: 1_44=b.img, status=inserted
+#floppyb: 1_44=b.img, status=inserted
#=======================================================================
# ATA0, ATA1, ATA2, ATA3
@@ -309,8 +309,8 @@ floppy_bootsig_check: disabled=0
# log: ./bochs.out
# log: /dev/tty
#=======================================================================
-#log: /dev/null
-log: bochsout.txt
+log: /dev/null
+#log: bochsout.txt
#=======================================================================
# LOGPREFIX: