openbsd-ports/emulators/bochs/patches/patch-_bochsrc
brad 3eb7ee4083 somehow the patch to have a decent sample bochsrc installed was removed
some time ago.

issue noticed by deraadt@

ok MAINTAINER
2004-08-11 04:46:49 +00:00

51 lines
2.1 KiB
Plaintext

$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: