diff options
author | fredb <fredb> | 2001-12-13 18:03:52 +0000 |
---|---|---|
committer | fredb <fredb> | 2001-12-13 18:03:52 +0000 |
commit | f185cd4acd8aa6f24bbc445888674fa27f6a045b (patch) | |
tree | efecd14b4edcf68d4de63563fd9b454d560d2f55 /emulators/bochs/patches | |
parent | 389734ee1a049d6e05504dbe86bad7c3ed1d977e (diff) | |
download | pkgsrc-f185cd4acd8aa6f24bbc445888674fa27f6a045b.tar.gz |
Update bochs to 1.3. Version 1.3 clearly performs better, and is more
stable than, version 1.1.2. Extensive changes include a new text-based
configuration menu (which starts at launch and upon pressing the config
button), LBA support for hard disks, better error handling for "hard
disk" configuration errors, and a new VGABIOS (optional). Plus, bochs
can now simulate an SMP machine! [The last is not tested on NetBSD,
and is not enabled by default in the package.]
Diffstat (limited to 'emulators/bochs/patches')
-rw-r--r-- | emulators/bochs/patches/patch-aa | 87 | ||||
-rw-r--r-- | emulators/bochs/patches/patch-ac | 18 | ||||
-rw-r--r-- | emulators/bochs/patches/patch-ae | 14 |
3 files changed, 66 insertions, 53 deletions
diff --git a/emulators/bochs/patches/patch-aa b/emulators/bochs/patches/patch-aa index 810df798ffc..af0f8853335 100644 --- a/emulators/bochs/patches/patch-aa +++ b/emulators/bochs/patches/patch-aa @@ -1,44 +1,57 @@ -$NetBSD: patch-aa,v 1.4 2001/05/25 23:01:31 kei Exp $ +$NetBSD: patch-aa,v 1.5 2001/12/13 18:03:53 fredb Exp $ ---- .bochsrc.orig Wed May 16 15:25:21 2001 -+++ .bochsrc Fri May 25 15:45:28 2001 -@@ -2,8 +2,8 @@ - megs: 32 - #megs: 16 - #megs: 8 --boot: c +--- .bochsrc.orig Mon Nov 19 08:36:26 2001 ++++ .bochsrc +@@ -9,10 +9,11 @@ + # directory, named BIOS-bochs-yymmdd. Use the latest one in there. + #======================================================================= + #romimage: bios/BIOS-bochs-970717a +-romimage: file=bios/BIOS-bochs-latest, address=0xf0000 ++#romimage: file=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 ++romimage: file=XXXPREFIXXXX/share/bochs/bios/BIOS-bochs-latest, address=0xf0000 + + #======================================================================= + # MEGS +@@ -33,7 +34,8 @@ + # You now need to load a VGA ROM BIOS into C0000. + #======================================================================= + #vgaromimage: bios/VGABIOS-cbothamy-0.2a -vgaromimage: bios/VGABIOS-elpin-2.40 -+boot: a ++#vgaromimage: bios/VGABIOS-elpin-2.40 +vgaromimage: XXXPREFIXXXX/share/bochs/bios/VGABIOS-elpin-2.40 - # You many now use double quotes around pathnames, in case - # your pathname includes spaces. -@@ -33,7 +33,7 @@ - #diskc: file=../528M, cyl=1024, heads=16, spt=63 - - #diskc: file=../62M.980115, cyl=940, heads=8, spt=17 --diskc: file="../10M.vga", cyl=306, heads=4, spt=17 -+#diskc: file="../10M.vga", cyl=306, heads=4, spt=17 - #diskc: file=../10M.dos622, cyl=306, heads=4, spt=17 - #diskc: file=../30M.freebsd, cyl=615, heads=6, spt=17 - #diskc: file=../126M.freeBSD_2.2.8, cyl=256, heads=16, spt=63 -@@ -58,7 +58,9 @@ - #floppya: 1_44=../1.44.freebsd, status=inserted - #floppya: 720k=../720k.dos33, status=inserted - --floppya: 1_44=../1.44a, status=inserted + #======================================================================= + # FLOPPYA: +@@ -57,7 +59,8 @@ + #floppya: file=../1.44, status=ejected + #floppya: 1_44=/dev/fd0H1440, status=ejected + #floppya: 1_2=../1_2, status=ejected +-floppya: 1_44=a.img, status=inserted ++#floppya: 1_44=a.img, status=inserted +floppya: 1_44=/dev/rfd0a, status=inserted -+ -+#floppya: 1_44=../1.44a, status=inserted - #floppyb: 1_44=../1.44b, status=inserted - #floppya: 1_44=/dev/fd0, status=inserted - #floppyb: 1_44=../1.44b, status=inserted -@@ -68,7 +70,7 @@ - #floppya: 1_2=../1.2 - #floppyb: 1_44=../1.680 --romimage: file=bios/BIOS-bochs-990925a, address=0xf0000 -+romimage: file=XXXPREFIXXXX/share/bochs/bios/BIOS-bochs-990925a, address=0xf0000 + #======================================================================= + # FLOPPYB: +@@ -78,7 +81,7 @@ + # diskc: file=112M.sample, cyl=900, heads=15, spt=17 + # diskc: file=483M.sample, cyl=1024, heads=15, spt=63 + #======================================================================= +-diskc: file="30M.sample", cyl=615, heads=6, spt=17 ++#diskc: file="30M.sample", cyl=615, heads=6, spt=17 - #romimage: file=bios/rombios.bin, address=0xf0000 - #romimage: file=../cbios961203 + #======================================================================= + # DISKD: +@@ -109,8 +112,8 @@ + # boot: c + # boot: a + #======================================================================= +-#boot: a +-boot: c ++boot: a ++#boot: c + + #======================================================================= + # LOG: diff --git a/emulators/bochs/patches/patch-ac b/emulators/bochs/patches/patch-ac index ac0d9b08e66..56b80285400 100644 --- a/emulators/bochs/patches/patch-ac +++ b/emulators/bochs/patches/patch-ac @@ -1,16 +1,16 @@ -$NetBSD: patch-ac,v 1.2 2001/05/25 23:01:31 kei Exp $ +$NetBSD: patch-ac,v 1.3 2001/12/13 18:03:53 fredb Exp $ ---- iodev/keyboard.cc.orig Wed May 16 15:54:39 2001 -+++ iodev/keyboard.cc Fri May 25 15:50:39 2001 -@@ -954,6 +954,11 @@ +--- iodev/keyboard.cc.orig Sat Dec 8 08:02:57 2001 ++++ iodev/keyboard.cc +@@ -973,6 +973,11 @@ + kbd_enQ(0xEE); // return same byte (EEh) as echo diagnostic return; break; - ++ + case 0xf0: // set scancode - let OS time out -+ bx_printf("KBD: set scancode command received\n"); ++ //bx_printf("KBD: set scancode command received\n"); + return; + break; -+ + case 0xf2: // identify keyboard - bx_printf("KBD: identify keyboard command received\n"); - kbd_enQ(0xFA); // AT sends ACK, MFII sends ACK+ABh+41h + BX_INFO(("identify keyboard command received")); diff --git a/emulators/bochs/patches/patch-ae b/emulators/bochs/patches/patch-ae index d9939e7eb37..13181a6fec4 100644 --- a/emulators/bochs/patches/patch-ae +++ b/emulators/bochs/patches/patch-ae @@ -1,13 +1,13 @@ -$NetBSD: patch-ae,v 1.1 2000/01/31 21:18:44 drochner Exp $ +$NetBSD: patch-ae,v 1.2 2001/12/13 18:03:53 fredb Exp $ ---- debug/lexer.c.orig Sat Jan 29 22:02:47 2000 -+++ debug/lexer.c Sat Jan 29 22:03:16 2000 -@@ -1272,7 +1272,7 @@ - case 92: +--- debug/lexer.c.orig Wed Nov 28 12:40:02 2001 ++++ debug/lexer.c +@@ -1368,7 +1368,7 @@ + case 109: YY_RULE_SETUP - #line 108 "lexer.l" + #line 129 "lexer.l" -{ bxlval.ulval = strtoull(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); } +{ bxlval.ulval = strtouq(bxtext, NULL, 10); return(BX_TOKEN_LONG_NUMERIC); } YY_BREAK - case 93: + case 110: YY_RULE_SETUP |