diff options
author | fvdl <fvdl@pkgsrc.org> | 2000-09-01 14:50:45 +0000 |
---|---|---|
committer | fvdl <fvdl@pkgsrc.org> | 2000-09-01 14:50:45 +0000 |
commit | f66b3024f91d26f4ff495373fcc9496946533170 (patch) | |
tree | 03deb00c08078399a58dd1bdc63eec52fb1bf01e | |
parent | 296ddb961bbb815f630f7b9a53aeef52e1cc7176 (diff) | |
download | pkgsrc-f66b3024f91d26f4ff495373fcc9496946533170.tar.gz |
Patch to make bochs accept 2.88 floppies in the bochsrc file.
-rw-r--r-- | emulators/bochs/patches/patch-af | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/emulators/bochs/patches/patch-af b/emulators/bochs/patches/patch-af new file mode 100644 index 00000000000..ec882551e1d --- /dev/null +++ b/emulators/bochs/patches/patch-af @@ -0,0 +1,17 @@ +$NetBSD: patch-af,v 1.1 2000/09/01 14:50:45 fvdl Exp $ + +--- main.cc.orig Tue Jan 4 21:28:26 2000 ++++ main.cc Fri Sep 1 16:01:16 2000 +@@ -447,8 +447,12 @@ + if (!strncmp(params[i], "1_44=", 5)) { + strcpy(bx_options.floppya.path, ¶ms[i][5]); + bx_options.floppya.type = BX_FLOPPY_1_44; + } ++ else if (!strncmp(params[i], "2_88=", 5)) { ++ strcpy(bx_options.floppya.path, ¶ms[i][5]); ++ bx_options.floppya.type = BX_FLOPPY_2_88; ++ } + else if (!strncmp(params[i], "1_2=", 4)) { + strcpy(bx_options.floppya.path, ¶ms[i][4]); + bx_options.floppya.type = BX_FLOPPY_1_2; + } |