Bryce Denney
2bac9a8f0e
- remove dependency on /usr/include/math.h which is platform dependent.
...
This keeps sneaking back in somehow.
2002-04-18 00:46:38 +00:00
Bryce Denney
d85b0c113f
- apply Peter Tattam's patch to fix a DMA bug.
2002-04-18 00:37:09 +00:00
Bryce Denney
91cc6590b2
- apply Peter Tattam's patch that makes win32 pad packets up to 60 bytes
2002-04-18 00:33:58 +00:00
Bryce Denney
05ac22063b
- applied the patch by hand...this is what I'm checking in now.
2002-04-18 00:32:29 +00:00
Bryce Denney
30aaf4088e
- commit patch.wxwindows.gz in the main branch. Now you can try out
...
the wxwindows interface by just "configure --with-wx; make"
Modified Files:
Makefile.in bochs.h config.h.in configure configure.in
load32bitOShack.cc logio.cc main.cc cpu/cpu.cc cpu/cpu.h
debug/dbg_main.cc gui/Makefile.in gui/control.cc gui/gui.cc
gui/siminterface.cc gui/siminterface.h gui/x.cc iodev/cdrom.cc
iodev/keyboard.cc memory/misc_mem.cc
Added Files:
README-wxWindows wxbochs.rc gui/wx.cc gui/wxmain.cc
gui/wxmain.h gui/bitmaps/cdromd.xpm
gui/bitmaps/configbutton.xpm gui/bitmaps/copy.xpm
gui/bitmaps/floppya.xpm gui/bitmaps/floppyb.xpm
gui/bitmaps/mouse.xpm gui/bitmaps/paste.xpm
gui/bitmaps/power.xpm gui/bitmaps/reset.xpm
gui/bitmaps/snapshot.xpm
Removed Files:
patches/patch.wxwindows.gz
2002-04-18 00:22:20 +00:00
Volker Ruppert
ebe5f626f4
- CRTC write: only the changes of the start address, the cursor position or
...
cursor size issue a screen update request
- reading an invalid CRTC register returns 0 / writing is ignored
- bit 7 of CRTC address register is always 0
- debug messages for CRTC registers updated / panics removed
- use the number of visible columns in text mode when calculating the screen
width and the cursor position
2002-04-14 08:57:24 +00:00
Jeroen Janssen
1abec8c874
- moving DEBUG_ROMBIOS more to the top of the file (since it's sort of a configuration option and was 'well hidden' atm)
2002-04-11 20:17:03 +00:00
instinc
a6320ce597
Implemented register 3F3, see comments
2002-04-11 02:21:59 +00:00
instinc
1e7cc13b04
reversed the changes done to exception()
2002-04-11 01:19:24 +00:00
instinc
24ac18f04d
temporary drive_select handling for >1 panics
2002-04-11 01:07:34 +00:00
instinc
01b699af16
as per bug report 498386, line 550 was causing a panic which has been disabled
2002-04-11 00:36:02 +00:00
instinc
86ed327ec9
added keyboard command 0xd2 as well as 0xdd and 0xdf
2002-04-11 00:28:55 +00:00
Christophe Bothamy
bf9b01035f
- fixed win2k boot from cd bug
2002-04-11 00:20:31 +00:00
Christophe Bothamy
c7c233f9ce
- fixed Win2k boot from cd
...
- included provisional code for two ATA interfaced
2002-04-10 23:25:49 +00:00
instinc
7159f3fdba
with bug 433003 fix
2002-04-10 23:25:17 +00:00
instinc
c9e242cab0
Fixed the bug 433003 related to function 87h of int 15h
2002-04-10 23:23:00 +00:00
Bryce Denney
ebfb7a8dab
- apply this patch to current CVS to add the wxWindows interface.
...
gunzip -c patches/patch.wxwindows.gz | patch -p1
2002-04-10 07:51:34 +00:00
Bryce Denney
0d268bd41d
- add VC++ workspace files to build for wxWindows
2002-04-10 07:49:36 +00:00
Bryce Denney
fb9dc34ce4
- check in raw keycodes patch, to be applied to wxWindows 2.3.2. It is
...
not required to use a patched wxWindows library, but it allows us to
do much better key mapping. Bryce sent this patch to the wxWindows
developers, and wxWindows 2.3.3 will include these changes.
2002-04-10 06:25:07 +00:00
Bryce Denney
f56b1c7335
- move declaration of stat_buf to avoid some warning
2002-04-10 05:38:34 +00:00
Bryce Denney
dcc6df2f1e
- fixed several instances where we had "delete array" but we needed
...
"delete [] array". This led to memory leaks. Thanks, valgrind.
2002-04-09 20:12:39 +00:00
Jeroen Janssen
c67a497100
- adding default constructor after code addition
2002-04-09 16:53:15 +00:00
Bryce Denney
7306746f0b
- fd was never initialized, then the close() method read it. Thanks
...
valgrind.
2002-04-09 15:52:02 +00:00
Bryce Denney
327e7742d2
- WLI separated his patch into 8 cpu support and workarounds. I checked
...
in the 8 cpu support changes. These are the workarounds.
2002-04-08 02:03:08 +00:00
Bryce Denney
45b49fe35f
- this patch from William Lee Irwin III <wli@holomorphy.com> makes it easy to
...
configure and compile a BIOS for 8 CPUs.
2002-04-08 01:41:59 +00:00
Bryce Denney
949ac3bbf0
- Dave Poirier fixed bug #466292 : kbd fails in scandisk, freedos edit.
...
I recompiled the BIOS with the fix.
2002-04-08 01:24:49 +00:00
instinc
cd4fdfe9f3
Fixes bug report 466292
2002-04-08 01:19:35 +00:00
Bryce Denney
c20298b6f4
- the runtime menu was displaying the old default of 10. It should be 11
...
(continue).
2002-04-08 00:11:52 +00:00
Jeroen Janssen
d2ef229050
- VBE fixing out of memory read (now redhat6 image can use fbcon vga=771)
2002-04-07 21:32:42 +00:00
Volker Ruppert
55ccdca509
- swap the scancodes of "numlock" and "pause" - this simplifies the test for
...
extended scancodes
2002-04-07 18:07:20 +00:00
Christophe Bothamy
f02ef5cd7a
- fixed keyboard not working with DOS6.2 keyb.com :
...
. int16 function 92 : keyboard capability check for keyb.com (enhanced keyboard) : supported
. int16 function A2 : keyboard capability check for keyb.com (122keys keyboard) : not supported
2002-04-06 15:59:29 +00:00
Christophe Bothamy
f9304212e9
- redo the freebsd fix.
...
I should know better the 16bits segmentation model.
2002-04-05 21:08:22 +00:00
Bryce Denney
1ef04e1bcc
- patch with changes from William Lee Irwin III <wli@holomorphy.com>
...
who called it "05_8_cpus"
2002-04-05 18:37:06 +00:00
Bryce Denney
c41bb0fd41
- patch from Peter Tattam in the eth_win32 code to pad all packets to
...
60 bytes. It may be simpler to just put the padding code into
ne2k.cc instead. As Peter says:
> I don't think it really matters, but for correctness, the eth_*.cc modules
> should probably all be patched as they are simulating what appears on the
> wire (which is wrong). The ne2k.cc module takes what's on the wire and
> assembles it into packets. By doing it that way, the bug is fixed for all
> NIC drivers in the future.
2002-04-05 17:09:04 +00:00
Bryce Denney
f8d446ef37
- NE2K patch from Peter Tattam
2002-04-05 16:16:16 +00:00
Christophe Bothamy
2dceae9e8f
- fixed bug on NumericKeypad 5 when not using keymapping
2002-04-05 12:10:50 +00:00
Bryce Denney
0c37403c53
- add patch from Peter Tattam
2002-04-05 06:05:15 +00:00
Volker Ruppert
3d49380b35
- send a scancode for "left control key released" before handling the scancode
...
for the "AltGr" key (present on European keyboards)
2002-04-04 18:11:53 +00:00
Christophe Bothamy
7f3fb09f49
- added fix for freeBSD boot
2002-04-04 16:58:31 +00:00
Christophe Bothamy
2ba7527c2a
- real fix for freeBSD boot
2002-04-04 16:57:45 +00:00
instinc
c2fcfad89b
Khorev Sergey's patch allowing FreeBSD to boot
2002-04-04 03:50:11 +00:00
Bryce Denney
767ac9b2dc
- b_dolata@compfort.pl sent in this patch to fix a problem Christophe
...
described in bug [ #538214 ] directory as keymap file
2002-04-03 21:07:14 +00:00
Jeroen Janssen
8cfa8a3bba
- applying patches/patch.vbe-lfb to bochs cvs tree
2002-04-03 16:48:15 +00:00
Bryce Denney
49decc485c
- when merging EDX and EAX to create the apic base address, add
...
a typecast to Bit64u before shifting left by 32. Otherwise
the EDX<<32 would overflow on 32 bit machines and the address would
be wrong.
2002-04-03 15:12:22 +00:00
Bryce Denney
54721fc3d2
- if vga font not found, search for a font called "-*-vga-*" too.
...
This was suggested in the bug report:
[ #537593 ] vga font not being found.
2002-04-03 04:22:18 +00:00
Bryce Denney
da684a72fb
- check in something similar to Stefan Görling's patch #536844 .
...
I went ahead and made all the register/unregister functions in iodev.h
return a boolean.
2002-04-03 01:56:26 +00:00
Bryce Denney
d8e6341a02
- add patch from renzo davoli <renzo@cs.unibo.it>
2002-04-02 15:54:35 +00:00
Bryce Denney
fba51966d3
- it doesn't work well to have the RCS ID of the patch. Often, it's
...
necessary to use -kb on patches anyway, so that special keywords in
the diffs do not cause conflicts.
2002-04-02 15:53:08 +00:00
Christophe Bothamy
24e2d109da
- changed copyright strings
2002-04-01 22:43:01 +00:00
Christophe Bothamy
60c930a782
- Removed the unnecessary BX_BIOS_MESSAGE_SIZE
2002-04-01 21:57:51 +00:00
Christophe Bothamy
d1ef29dc6e
- Added a biosdev "pseudo device" to handle the log output of the rombios and vgabios :
...
. ports 0x0400 0x0401 and 0xfff0 : rombios
. ports 0x0500 0x0501 and 0x0502 : vgabios
The rombios log output was previously handled by the unmmapped device
2002-04-01 21:53:23 +00:00
instinc
748ccdef95
put bx_guard under #if/#endif BX_DEBUGGER
2002-04-01 13:14:37 +00:00
instinc
77ae7958f8
displays the address of the caught watchpoint, feature request #435271
2002-04-01 04:44:15 +00:00
instinc
60f8987263
registers the address of the watchpoint caught to be displayed in the debugger
2002-04-01 04:43:26 +00:00
instinc
22dc1c4f96
added address of the caught watchpoint
2002-04-01 04:42:43 +00:00
instinc
4e17b97211
fixed feature request 488645
2002-04-01 04:12:11 +00:00
instinc
18c79cee9c
check if CTRL+C is pressed while in a HLT instruction
2002-04-01 04:02:02 +00:00
Volker Ruppert
bc7ca5b0e6
- removed unnecessary include statemants for X
2002-03-30 06:45:30 +00:00
instinc
23d4785e8e
applied a temporary fix so that it can compile
2002-03-29 23:37:07 +00:00
Volker Ruppert
d47cdb919a
- fixed detection of single mode and level senistive mode in ICW1
...
- fixed handling of rotate_on_autoeoi for master PIC in in IAC()
- removed old IRQ handling functions (trigger_irq / untrigger_irq)
- replaced BX_INFO in case of bx_dbg.pic by BX_DEBUG calls
2002-03-29 09:13:02 +00:00
Bryce Denney
3cd6d4c1b2
- Zwane's patch to add processor priority to APIC model
2002-03-28 16:53:28 +00:00
Bryce Denney
498dfb562e
- check in Zwane's patch that he posted to the list on March 21
...
I suspect it will conflict with some things by now.
2002-03-28 16:52:12 +00:00
Bryce Denney
8983937e5c
- in main branch, change version name back to "1.4.cvs" so that it's not
...
confused with any release.
2002-03-28 09:43:07 +00:00
Bryce Denney
0ce253e2be
- I can't believe it! I've been spelling "updated" wrong since last June!!!
2002-03-28 07:52:26 +00:00
Bryce Denney
cf81b7207f
- document new .bochsrc options (basically just copy .bochsrc description
...
into the docbook)
2002-03-28 07:50:34 +00:00
Bryce Denney
69bacbcec4
- add more comments about paste delay
2002-03-28 07:49:52 +00:00
Bryce Denney
8ceca1a4c5
- change a few keyboard panics into printfs (warnings). I got a bug report
...
about this, #535432 : Emu panics when pressing ">"-key. The user did not
report exactly what the exact message was, but these sound like the
correct ones. BIOS panics are permanent fatal errors, so I don't
want them to show up accidently, especially for something as trivial
as bumping the wrong key.
2002-03-28 07:10:18 +00:00
Bryce Denney
eba793ba8b
- paste the CHANGES file into this changelog
2002-03-28 06:45:26 +00:00
Bryce Denney
1a1f23ed39
- fix typo in section end that made the docbook invalid
2002-03-28 06:45:06 +00:00
Bryce Denney
715becded5
- upgrade version number to 1.4
2002-03-28 01:20:31 +00:00
Bryce Denney
6d4a9e7076
- this used to be gui/win32.cc revision 1.26. I removed it from the cvs
...
because it caused screen corruption whenever Bochs changed resolution.
(my setup = Win98, MSVC++)
2002-03-28 01:13:31 +00:00
Bryce Denney
dd5d93705f
- revert revision 1.26 which was labelled "Fix for win32 host not displaying
...
all of the window especially after a resize". This causes screen corruption
on my win98 box whenever Bochs changes resolution, so I removed it from cvs
and checked it in as patches/patch.win32-resize instead.
2002-03-28 01:12:26 +00:00
Bryce Denney
1d9f9d0c41
- minor bug fixes, mostly related to cygwin/mingw detection
...
See patch #531387 : configure.in fixes for cygwin
2002-03-28 00:29:57 +00:00
Bryce Denney
6df7ca4ff8
- for win32 install target, added cmd to copy obj-debug/*.exe into
...
current directory before install.
2002-03-28 00:28:41 +00:00
Bryce Denney
70588cb12e
- moved compile instructions for SDL into the docbook
2002-03-27 18:42:20 +00:00
Bryce Denney
ba06457cca
- add compile instructions for --with-rfb and --with-sdl
2002-03-27 18:41:45 +00:00
Bryce Denney
ddc7b9abb4
- experimental patch that was lying around in my dir: when instruction
...
tracing is turned on, print when an interrupt occurs.
2002-03-27 17:57:08 +00:00
Bryce Denney
6562c66289
- something like this has already been checked in
2002-03-27 17:49:46 +00:00
Bryce Denney
aff6e60d76
- I now believe that Dave's changes in 1.46 are correct and something in
...
the SMP interrupt handling is to blame. So I'm putting the 1.46 changes
back into the code. Now keyboard.cc is exactly the same as revision 1.51
again. A copy of the changes is now in patches/patch.eks-port64 so that
they can be easily examined by SMP debugging people.
2002-03-27 16:42:54 +00:00
Bryce Denney
d164b3bd73
- fix segfault that happened if APIC was enabled with one processor
2002-03-27 16:05:13 +00:00
Bryce Denney
640d71d017
- check in Zwane Mwaikambo's MSR patch: patch.msr.
2002-03-27 16:04:05 +00:00
Bryce Denney
3dda1b09fa
- work in progress patch to add processor priority to the APIC
2002-03-27 15:59:21 +00:00
Bryce Denney
ae64b4ccdc
- revert changes from revision 1.46 of iodev/keyboard.cc which is causing SMP
...
boot of linux 2.2.17 to freeze forever. I don't understand what's being
done in this rev, so I'll ask Dave to check over it and see he can find
anything suspicious.
2002-03-27 05:58:25 +00:00
Bryce Denney
6881dbd848
- only print the first 10 copies of "WARNING: Local APIC Processor Priority not
...
implemented" to avoid slowing sim down to a crawl.
2002-03-27 03:47:45 +00:00
Volker Ruppert
3decf2bd07
- the changes are checked in
2002-03-26 21:29:37 +00:00
Bryce Denney
943c87fa0e
- remove the original paste patch
...
- remove patch.paste-only-when-empty, which turned out not to solve any
problems
2002-03-26 14:47:18 +00:00
Bryce Denney
b394a44157
- made keyboard_paste_delay a runtime configurable option
...
- clean up comments & debug msgs in paste code
2002-03-26 14:46:03 +00:00
Bryce Denney
3b56c90f2e
- restore Christophe's minimum paste delay of 1ms. Linux works even
...
if you turn the delay down to 0, but it doesn't actually paste any
faster so there's no point. I will try to be satisfied with only
1000 chars per second. :)
2002-03-26 14:28:31 +00:00
Bryce Denney
d71c73ed88
- rename TIMER_DELTA to to BX_IODEV_HANDLER_PERIOD. Now that it's a global
...
define, I wanted it to be a little more descriptive.
2002-03-26 13:59:35 +00:00
Bryce Denney
34e02290eb
- apply Christophe's patch.paste-for-dos. I will make minor tweaks as
...
separate revisions.
2002-03-26 13:51:48 +00:00
Bryce Denney
8ef7c284fd
- apply Christophe's patch.rombios-no-gpl
...
- update binary bioses
- remove the patch from patches
2002-03-26 13:17:44 +00:00
Bryce Denney
2a63f9d737
- in rev 1.73 enabled the I/O debugger by default when the debugger is on.
...
But I left out a critical line, that added iodebug.o to the compile list.
This rev adds it in so that --enable-debugger will actually compile.
2002-03-26 12:47:50 +00:00
Christophe Bothamy
c477402421
- patch to remove the GPL code taken from ELKS
2002-03-26 11:00:55 +00:00
Bryce Denney
6347533913
- Fixes bug #534760 : buggy detection of ethertap header.
2002-03-26 05:59:12 +00:00
Bryce Denney
7f84fff9b9
- add note about fixing the hard disk BIOS bug
2002-03-25 15:38:04 +00:00
Bryce Denney
03cd6fa9ad
- Zwane sent another version to the list at
...
Mon, 25 Mar 2002 11:47:38 +0200 (SAST)
which should correct the compile problems when apic is disabled.
2002-03-25 15:29:17 +00:00
Bryce Denney
e6c82a961a
- update patch so it applies cleanly
2002-03-25 09:33:57 +00:00
Bryce Denney
b8ecf5b118
- apply patch.smp-sync-arb-ids. This patch adds a local APIC behavior
...
that was missing before, the special "INIT Level Deassert" synchronize
arbitration ID trick.
2002-03-25 01:58:34 +00:00
Christophe Bothamy
fcd6f99391
- fixed cmos info on 2nd disk landing zone.
2002-03-25 01:47:13 +00:00
Bryce Denney
18833a885b
- commit patch.pic-priorities. William Irwin needs this patch to get
...
SMP Linux 2.4.x to boot, since it requires polled mode. I can't
say I understand all the pieces of it, but it looks good so far.
2002-03-25 01:31:59 +00:00
Christophe Bothamy
0cf0c6b381
- This patch tries to fix the paste problem in dos/windows
2002-03-25 01:13:56 +00:00
Christophe Bothamy
20462eb3ff
- fixed a typo on the ']' key
2002-03-25 00:57:30 +00:00
Christophe Bothamy
0119c65408
- update to rombios.c 1.40, with right version number this time!
2002-03-24 23:15:37 +00:00
Christophe Bothamy
b0cbd43510
- update to rombios.c 1.40
2002-03-24 23:10:15 +00:00
Christophe Bothamy
c81c05a9cd
- included Peter Tattam's fix for read error when installing win95
2002-03-24 23:04:58 +00:00
Jeroen Janssen
e4c2647fda
- VBE banked mode only, LFB in patches/
2002-03-24 12:55:00 +00:00
Jeroen Janssen
92b2332af4
- adding vbe lfb enabled vgabios (+debug version) in tar.gz file
...
- updating vbe-lfb patch to currect cvs + adding some more instructions regarding the bios
2002-03-24 10:38:14 +00:00
Bryce Denney
453a4bfb56
- fix up comments to mention keymap functions that I added
2002-03-24 09:11:04 +00:00
Bryce Denney
257989fcad
- updated CHANGES file for 1.4. I have now looked through all the CVS
...
logs since 1.3 so I think it's done!!!
2002-03-24 09:09:43 +00:00
Bryce Denney
9e3e93e5d4
- update to rombios.c 1.39
2002-03-24 05:49:35 +00:00
Bryce Denney
d2f6b73330
- update keymapping docs
2002-03-24 02:44:18 +00:00
Bryce Denney
1c135efb3c
- converted Christophe's keymap instructions to docbook, added to user
...
manual. Minor updates are still needed since I changed the format
of his keymap file after he wrote these docs.
2002-03-24 02:05:49 +00:00
Bryce Denney
7f3a8fb237
- small mod to make the patch also allow reads to Arb ID register
2002-03-24 01:20:10 +00:00
Bryce Denney
e6e4bca1f6
- adds an important behavior of local APICs that was missing before.
...
An INIT interrupt with Trigger mode=Level and Level=Deassert tells
all the APICs to set their arbitration ID. It does NOT do a normal
init, as bochs was doing before.
2002-03-24 01:08:24 +00:00
Bryce Denney
fb97571bc9
- add hints for developers who want to add keymapping in a GUI
2002-03-23 23:25:36 +00:00
Bryce Denney
29a00c67a5
- something like this needed in gui.cc
2002-03-23 03:00:15 +00:00
Bryce Denney
27dad49a2c
- update compile instructions for lots of platforms. Now that configure
...
script can detect platforms, the standard "configure&&make" should
work on all platforms (that's the goal at least). I mention
the .conf.* script for each platform as well, even though it is no
longer required.
2002-03-23 01:38:29 +00:00
Bryce Denney
ae6094c268
- change lots of "if (bx_dbg.apic) BX_INFO(...)" into "BX_DEBUG(...)".
...
This allows you to turn on debug msgs at runtime. The old BX_INFOs
were created before BX_DEBUG existed.
2002-03-23 00:54:37 +00:00
Christophe Bothamy
96ef24df80
- added keyboard specific information.
2002-03-22 08:40:30 +00:00
Christophe Bothamy
30541d7a37
- added KEY_LEFT_BACKSLASH
2002-03-21 19:12:35 +00:00
Christophe Bothamy
2c8e663c9c
- fix rombios comment
...
- added Jeroen as author of VBE
2002-03-21 19:11:43 +00:00
Volker Ruppert
a7d5ae3b2d
- added support for text modes with 8x8 characters on win32 gui (patch from
...
Hartmut Birr <hartmut.birr@tesionmail.de>)
This is usefull for ROS (50 lines console).
2002-03-21 18:40:20 +00:00
Jeroen Janssen
a7dbb3cadc
- small update to changes file about vgabios
2002-03-21 07:16:40 +00:00
Jeroen Janssen
44078fa7cb
- adding TODO item to vbe-lfb patch
2002-03-21 07:13:47 +00:00
Bryce Denney
af8f4e56de
- clean up .conf files. now all have cdrom, sound, ne2k, and vbe.
2002-03-21 02:50:06 +00:00
Bryce Denney
5ab4415516
- enable I/O interface to debugger, when the debugger is enabled
2002-03-21 02:14:51 +00:00
Bryce Denney
077e7fd683
- something equivalent to this patch has been committed to cvs.
...
cpu/cpu.cc rev 1.25.
2002-03-21 00:01:00 +00:00
Bryce Denney
0fef43eeb6
- in debugger, fix instruction tracing for SMP simulation. This was
...
fixed in patch.smp-instr-trace for Bochs 1.3, but the patch conflicted
with the latest source. It was simple enough to just make the changes by
hand. This should fix bug [ #532321 ] SMP debug: trace-on fails
2002-03-20 23:50:23 +00:00
Bryce Denney
687e8bcfb4
- clean up lines related to disassembly that Greg left. This patch makes no
...
changes of importance...I just removed commented out lines.
2002-03-20 23:45:31 +00:00
Bryce Denney
5d2667b345
- set dest format to 0xf by default. I'm just modeling bits 31-28, so 0xff is
...
invalid. This fixes the misleading panic message:
bx_local_apic_c::match_logical_addr: cluster model addressing not
implemented, which was printed even if the OS did not request cluster
addressing.
2002-03-20 23:32:43 +00:00
Christophe Bothamy
cee75f1f3a
*** empty log message ***
2002-03-20 21:08:56 +00:00
Christophe Bothamy
11b6de2502
- fix from gnutchar@hotmail.com. cmp ax, 0x0000 sould be cmp ax, #0x0000
2002-03-20 21:06:12 +00:00
Bryce Denney
2d90a42ba2
- instruction tracing in the debugger was broken in SMP mode. This
...
patch should fix it.
2002-03-20 08:55:59 +00:00
Bryce Denney
54e3edd8bf
*** empty log message ***
2002-03-20 04:32:49 +00:00
Bryce Denney
8527799a32
- set dest format to 0xf. I'm just modeling bits 31-28, so 0xff is
...
invalid.
2002-03-20 04:22:15 +00:00
Bryce Denney
a54fa93583
- clean up disassembly output for SMP debugging
2002-03-20 04:09:26 +00:00
Bryce Denney
2c5a8dafed
- apply patch.smp-hlt-deadlock which avoids a deadlock in SMP simulation
...
(with debugger enabled) when all SMP machines are halted.
2002-03-20 03:49:19 +00:00
Bryce Denney
1e378750d5
- add testing notes
2002-03-20 03:00:33 +00:00
Bryce Denney
571ac50d1c
- apply patch.smp-eio-readable-wli from William Lee Irwin III.
...
My code did a panic if you tried to read the EOI register (the panic
message was wrong but the concept was right). However it turns out
some OSes do actually read this register--hopefully they ignore the
result. So it should not panic.
2002-03-20 02:51:47 +00:00
Bryce Denney
180f62a303
- commit patch.smp-debug-wli, based on a patch from
...
William Lee Irwin III <wli@holomorphy.com>
2002-03-20 02:49:07 +00:00
Bryce Denney
2882c98975
- use the BX_SMP_PROCESSORS loop for both cases. BX_CPU(i) is correct
...
regardless of # of processors. I will commit this version.
2002-03-20 02:48:11 +00:00
Bryce Denney
58330d27e9
- use BX_DEBUG instead of if (condition) BX_INFO
2002-03-20 02:41:19 +00:00
Bryce Denney
b07d0768e8
- check in patch from William Lee Irwin III <wli@holomorphy.com>.
...
This removes the BX_PANIC that occurs if the OS tries to read the
EOI register in the local apic. Apparantly linux 2.4 actually does
this because it uses an xchg to write the register.
2002-03-20 02:07:38 +00:00
Bryce Denney
a638358a02
- fix up some comments, esp for ne2k line
2002-03-20 01:37:44 +00:00
Bryce Denney
ade5adf6b9
- bug fix: win32 could not read a cdrom image file. See bug
...
[ 531069 ] win32: can't read cdrom disk image (ISO)
(This is the same as the change from 1.13.2.1 to 1.13.2.2
in the BRANCH-cpanel branch.)
2002-03-20 01:24:15 +00:00
Bryce Denney
8ba46b2450
- apply patch.x11-auto-private-colormap
2002-03-19 23:38:08 +00:00
Bryce Denney
5696c05b78
- add patch to improve color map choice in X windows
2002-03-19 23:37:00 +00:00
Bryce Denney
cac05ef7fa
- attempt to fix Christophe's problem with pasting more than 14 chars
2002-03-19 22:08:09 +00:00
Volker Ruppert
665e67d404
- call SDL_GetMouseState() to get the state of all buttons when handling a
...
mouse button event.
- replaced SDL_BUTTON(2) by SDL_BUTTON_MIDDLE in the mouse button event handler
2002-03-19 19:59:44 +00:00
Bryce Denney
7a6fbf9597
- fix copy to clipboard problem for X11 by calling XSetSelectionOwner()
...
before XStoreBytes.
2002-03-19 18:43:22 +00:00
Bryce Denney
ca6fa8f284
- SMP simulation can deadlock when all the processors are executing a HLT
...
instruction because ticks are not happening. This patch allows ticks
(simulation time) to continue so that the HLT condition eventually ends.
2002-03-19 07:07:46 +00:00
Bryce Denney
494bd46a9d
- patch from William Lee Irwin III <wli@holomorphy.com>
...
fixes SMP compile.
2002-03-19 06:08:55 +00:00
Volker Ruppert
9e1cf3bec1
- function mouse_enabled_changed_specific() implemented
...
- added toggle_mouse_enable() call to the handling of the middle mouse button
- removed break statement between SDL_MOUSEBUTTONDOWN and SDL_MOUSEBUTTONUP
- added prefix "SDL" in specific init
2002-03-18 21:21:19 +00:00
Christophe Bothamy
5fb5d18eda
- changed bash specific syntax "xset >& /dev/null" to "xset > /dev/null 2>&1"
2002-03-18 10:26:30 +00:00
Volker Ruppert
8263d15e76
- renamed update_floppy_status_buttons() to update_drive_status_buttons() since
...
it handles the cdrom status too
2002-03-17 20:57:54 +00:00
Volker Ruppert
6518957fe4
- implemention of the headerbar functionality (new function headerbar_click)
...
- the function replace_bitmap() tranfers the dst.x value of the old bitmap
to the new one
2002-03-17 20:56:15 +00:00
Volker Ruppert
e42539f2de
- bugfix in set_media_status(): set the status in bx_options for floppya
...
or floppyb, not always for floppya
2002-03-17 20:55:27 +00:00
Volker Ruppert
37955596f8
- create_bitmap(): setting Amask to 0x0 makes other colors visible
...
- fixed headerbar colors (X look)
2002-03-17 16:57:07 +00:00
Volker Ruppert
3ec4af94b4
- fixed dependence: recompile sdl.o if sdl.h is modified
2002-03-17 16:56:26 +00:00
Volker Ruppert
4870476367
- headerbar bitmap alignment implemented
...
- replace_bitmap() works now
2002-03-17 12:34:03 +00:00
Bryce Denney
d86facd088
- removed this. The patch is too specific to a particular version so it
...
only applies to the release. I can't make a better patch with cvs diff
AFAIK because the patch adds files. It's just a mess. So I'll just
put up an occasional source snapshot on SF instead of trying to keep
this horrible patch alive. Cvs users, just do "cvs upd -r BRANCH-cpanel"
and don't bother with this patch.
2002-03-17 09:39:41 +00:00
Bryce Denney
7cf96b782c
- wxwindows patch for Bochs 1.4.pre2. Really, we do wxwindows development
...
on a branch called BRANCH-cpanel. This patch is just to make it easier
for people to try out.
2002-03-17 09:20:28 +00:00
Volker Ruppert
f113121db0
- text mode cursor is now visible in modes with more than 25 lines
2002-03-16 13:20:58 +00:00
Jeroen Janssen
6ce05d42cc
- VBE fixed set bank bug introduced by my bounds check rewrite
2002-03-16 11:37:43 +00:00
Volker Ruppert
92b06b9ebf
- new function get_clipboard_text() for GUI specific clipboard handling
...
GUI specific paste functions for X11 and WIN32 in paste_handler() moved to
the new function
- get_clipboard_text() prepared for other GUIs
- set_clipboard_text() has now a return value (0 = failed or not implemented)
- use portable code in copy_handler() if set_clipboard_text() fails
- snapshot_handler() prepared for adding a file dialog call
- writing snapshot file in binary mode (LF->CRLF conversion already done)
2002-03-16 11:30:06 +00:00
Jeroen Janssen
17ce9b8a34
- VBE screen update only when in visable screensize
2002-03-16 10:22:57 +00:00
Volker Ruppert
b167616e98
- updated for current CVS version
2002-03-15 19:05:27 +00:00
Bryce Denney
842bfb4430
- BX_WITH_X11 is always defined. use "#if BX_WITH_X11" not #ifdef
2002-03-15 17:10:58 +00:00
Volker Ruppert
7373bb7647
- new function set_clipboard_text() for GUI specific clipboard handling
...
GUI specific copy functions for X11 and WIN32 in copy_handler() moved to
the new function
- set_clipboard_text() prepared for other GUIs
- value of text mode cursor variables fixed (and renamed in x.cc)
- BX_ERROR message in snapshot_handler() fixed
2002-03-15 16:45:10 +00:00
Mike Lerwill
026b7018bd
Fix for win32 host not displaying all of the window especially after a resize
2002-03-15 10:55:48 +00:00
Bryce Denney
bc8f4eb0f0
- patch from Zwane Mwaikambo <zwane@linux.realnet.co.sz>
...
that adds partial MSR support. I plan to add this after 1.4 is released.
2002-03-15 05:37:30 +00:00
Christophe Bothamy
256161956f
- fixed the phantom buttons problem.
...
- the button still have to we placed in the right order
- the SDL_MapRGB problem is NOT fixed. The fg color is hardcoded to 0xffffffff
2002-03-15 01:11:10 +00:00
Volker Ruppert
d1a69daf74
- cdrom and floppy options in configuration interface partially fixed
...
* don't change the device state to "not present" at runtime if the path is
changed to "none" - simply eject the media if inserted
* don't change the device state to "present" at runtime if the previous state
is "not present"
* eject and re-insert the media if the current media state is "inserted"
* changing the media state in the config interface works now
* TODO: don't do anything if the path is unchanged
- bx_write_cdrom_options(): writing media state fixed
2002-03-14 20:14:47 +00:00
Jeroen Janssen
bb3deba7d3
- vbe set mode defaults to clearscreen atm
2002-03-13 19:01:39 +00:00
Jeroen Janssen
fa04cb9d5b
- fixing VBE support for whatvga (see [ 529309 ] meta feature for VBE app list)
...
- added VBE checks for valid data/parameters
2002-03-13 18:33:00 +00:00
Christophe Bothamy
c2df473661
- added ASCII_equivalent constants
2002-03-12 23:56:53 +00:00
Christophe Bothamy
a4bf328178
- fixed header keymap layout name (DE, ES)
2002-03-12 23:56:01 +00:00
Bryce Denney
a6d20bb03e
- add #if BX_DEBUGGER around a few more things. :)
2002-03-12 19:00:44 +00:00
Bryce Denney
7a6b013101
- the new code I added in patch.triple-fault-recover needed to be
...
conditional on BX_DEBUGGER==1.
2002-03-12 18:59:31 +00:00
Volker Ruppert
6c4a3581c7
- removed unnecessary delay loop after keyboard reset in POST
2002-03-12 18:44:07 +00:00
Bryce Denney
97bfcd24bc
- I applied the patch, so I'm deleting it from here.
2002-03-12 09:18:25 +00:00
Bryce Denney
de51eda5d1
- apply patch.triple-fault-recover
2002-03-12 09:16:41 +00:00
Bryce Denney
141cfd2b2f
- add triple fault recovery code
2002-03-12 09:15:12 +00:00
Bryce Denney
502a48057b
- fix clipboard code that is compiled when neither windows nor X windows
...
is enabled.
2002-03-12 06:46:35 +00:00
Bryce Denney
8369bfb327
- this patch has been committed, so I'll erase it now
2002-03-11 20:41:22 +00:00
Volker Ruppert
0f37656bc1
- updated German keymap file for paste support
2002-03-11 20:35:28 +00:00
Bryce Denney
f9d5807034
- this is the patch from Hartmut Birr <hartmut.birr@tesionmail.de>
...
dated 2002-02-26.
2002-03-11 20:10:15 +00:00
Bryce Denney
221f2ebb63
- update version
2002-03-11 17:31:23 +00:00
Bryce Denney
e73971ba66
- update version number
2002-03-11 17:15:21 +00:00
Bryce Denney
c743eb7cca
- bump up version number
2002-03-11 17:14:28 +00:00
Bryce Denney
6c06a1bcb4
- I'm updating dlxlinux to add keyboard mapping by default, so that paste
...
will work. Now download dlxlinux3.tar.gz instead of #2 .
- in win32 install, create keymaps directory and copy the maps in
2002-03-11 16:59:58 +00:00
Bryce Denney
ebc19a5e6c
- fix bugs in copy&paste on win32.
...
- paste: grabbing the data from the clipboard in win32 was not implemented
at all. I found some example code on usenet and adapted it for Bochs.
- keymap: now if you call loadKeymap with NULL for the function pointer,
it just fills in all the X windows keysyms with zero. Added a call
to loadKeymap in win32.cc.
2002-03-11 16:35:41 +00:00
Bryce Denney
12a812296d
- add comment about BYTES being freed when we're done with it.
2002-03-11 16:25:52 +00:00
Bryce Denney
d7658e3098
- add keymap.cc to the workspace
2002-03-11 15:47:24 +00:00
Bryce Denney
d82a73ed21
- fix things I broke while working in linux
2002-03-11 15:45:34 +00:00
Bryce Denney
70e007b8f7
- add comment
2002-03-11 15:13:38 +00:00
Bryce Denney
8125bee908
- commit patch.paste
2002-03-11 15:04:58 +00:00
Bryce Denney
97f7ffddfe
- add description
2002-03-11 15:03:30 +00:00
Bryce Denney
692069483b
- convert all keymap files, not just US
2002-03-11 14:46:28 +00:00
Bryce Denney
e1407b0d76
- paste cannot work if key mapping is disabled. now it prints an error
...
in the log file, so at least you can figure out why.
2002-03-11 14:39:26 +00:00
Bryce Denney
3117c3efef
- add apostrophe and backslash to keymap.cc
2002-03-11 14:32:41 +00:00
Bryce Denney
9564982b58
- first try patch to add paste feature
2002-03-11 14:29:01 +00:00
Bryce Denney
fe239c3fd4
- clarify an err msg
2002-03-11 13:59:38 +00:00
Bryce Denney
8b8f5fe3bd
- add comments and fix ne2k examples
2002-03-11 13:59:08 +00:00
Christophe Bothamy
dcfccb02de
- fixed the keymap directory problem.
2002-03-11 08:35:55 +00:00
Christophe Bothamy
b64349020b
- renamed in VGABIOS-lgpl-README
2002-03-11 00:27:10 +00:00
Christophe Bothamy
b3c6d9c44a
- removed the specific ElTorito version, as it is included in main bios
2002-03-11 00:21:30 +00:00
Christophe Bothamy
f25dc70678
- fixed a unnecessary check on the bootsegment
...
- renamed int13_function to int13 harddisk
- the default is now to have the ATA driver and ElTorito boot
2002-03-11 00:17:31 +00:00
Christophe Bothamy
014c365b05
- fixed keymap install problem. Only for unix
2002-03-10 23:58:30 +00:00
Bryce Denney
417425b2e8
- when compiling with --with-sdl, add config-sdl --cflags
to the
...
CFLAGS. This is needed on systems in which the SDL headers are in
a nonstandard location.
2002-03-10 21:31:52 +00:00
Jeroen Janssen
0e58d8a083
- VBE adding missing set bpp (caused a panic with current vgabios)
2002-03-10 20:59:11 +00:00
Jeroen Janssen
633aa31a9c
- adding first implementation of the vbe lfb patch
2002-03-10 20:30:25 +00:00
Jeroen Janssen
5c024b7570
- updating vgabios line with new biosversion
2002-03-10 20:26:15 +00:00
Jeroen Janssen
b6074761e2
- fixed small bug causing always including X11 header
2002-03-10 20:08:14 +00:00
Christophe Bothamy
66262c3005
- uploaded new VGABios with VBE support
2002-03-10 19:52:04 +00:00
Christophe Bothamy
2ea0d928b0
- uploaded new VGABIOS with VBE support
2002-03-10 19:51:19 +00:00
Bryce Denney
aa6acc2be4
- add code for X windows to put the snapshot data onto the clipboard.
2002-03-10 16:06:56 +00:00
Volker Ruppert
beae7bda41
- added constant BX_INSERTED for media status (taken from bochs.h)
...
- fixed a warning in ask_uint() (type of variable n is now Bit32u)
- removed unused variable buffer[512] in text_ask()
2002-03-10 10:19:32 +00:00
Bryce Denney
3d2c58ee49
- revert to revision 1.27. My changes in 1.28 caused cygwin to be unable to
...
copy to the clipboard so I removed them.
- I was having cygwin compile problems because <windows.h> was not always
included when compiling this file. Add an include of <windows.h> at
the top, and now it compiles in cygwin.
2002-03-10 05:49:26 +00:00
Bryce Denney
a48e198bec
- this patch is committed now
2002-03-10 05:22:25 +00:00
Bryce Denney
8c0256840c
- apply patch.vbe-janssen by Jeroen Janssen <japj@darius.demon.nl>,
...
to add VBE support to Bochs. The changes in this checkin correspond
to Jeroen's 5th version of the patch on sourceforge patch #526595 .
2002-03-10 04:51:24 +00:00
Bryce Denney
4b6647eb44
- this VBE patch is from Jeroen Janssen <japj@darius.demon.nl>
...
This is his 5th version of the patch, from patch #526595 on source forge,
submitted on March 9.
2002-03-10 04:43:16 +00:00
Bryce Denney
03bb688612
- must use #if HAVE_ETHERTAP
2002-03-09 04:18:08 +00:00
Bryce Denney
a7c15927bf
- apply patch [ 505057 ] MacOS X carbonized event handlers
...
by Jeremy Parsons (brefin)
2002-03-09 02:40:25 +00:00
Bryce Denney
062faeae27
- macosx patch from Jeremy Parsons (brefin)
2002-03-09 02:39:34 +00:00
Christophe Bothamy
605e0cf3ef
- recompiled rombios version 1.36 with El-Torito capability
2002-03-09 01:55:30 +00:00
Christophe Bothamy
2cedd2d79f
- fixed OAK driver problem in win98
...
- CDs can boot at segment != 0x7c0
- reworked int19 in a C function
- "no emulation" CDs can be booted (Win2k, XP).
No more 000E failure code. Win2k fails though
- started to implement int13 for cdrom
- started to mutualize string constants
- changed a little bit the Bios Config Table address
so the new int19 handler fits whithout relocation
2002-03-09 01:50:52 +00:00
Bryce Denney
9c7c35c1f2
- this has been committed now
2002-03-09 01:36:30 +00:00
Bryce Denney
aac59e68ae
- add more detail on the ping problems I'm seeing
2002-03-09 01:33:46 +00:00
Bryce Denney
b1835f1dc3
- add instructions for setting it TAP
2002-03-09 01:23:21 +00:00
Bryce Denney
6eea8f1bea
- panic if the ethernet module cannot be found. If they continue, use
...
null module instead.
2002-03-09 01:05:41 +00:00
Bryce Denney
9a177ba518
- add configure test for ethertap. On systems which have a header file
...
called <linux/netlink.h> the ethertap module will be defined. If other
OSes turn up that also have ethertap, we can change the test.
- in eth_tap.cc, I replaced the calls to GPL code from maconlinux with
my own stuff.
2002-03-09 01:04:49 +00:00
Bryce Denney
2d071fde77
- add example line for ethertap
2002-03-09 00:40:46 +00:00
Bryce Denney
612a155e18
- add ethertap interface for Linux
2002-03-09 00:38:53 +00:00
Bryce Denney
c8d3a1ce24
- working now for pings from guest to host machine. Still problems when
...
going in the opposite direction.
2002-03-09 00:30:49 +00:00
Bryce Denney
3a01642790
- add debug warning when you throw out small packets
2002-03-09 00:28:07 +00:00
Bryce Denney
c2e0e409e7
- add --enable-vbe option in anticipation of Jereon Jannsen's VESA BIOS
...
extensions.
2002-03-08 22:37:06 +00:00
Bryce Denney
91af68a835
- first try at ethertap network interface. It is getting close to working:
...
transmission from host to guest is ok, but from guest back to host is
strange.
2002-03-08 22:14:55 +00:00
Bryce Denney
1e42e99914
- apply patch from Mike Lerwill:
...
There is a problem with the existing function rx_timer_handler. It can
retrieve multiple packets from winpcap but returns when it finds one with
the source mac address address instead of ignoring it and processing any
remaining packets.
Replacing the function with the one in the attached file rectifies this.
With this I can browse the network fairly well from the guest NT4 and indeed
see the guest NT4 from other machines on the network.
2002-03-08 18:46:54 +00:00
Bryce Denney
3a20b2bdde
- clean up comments slightly
2002-03-08 18:41:33 +00:00
Bryce Denney
49067aed41
- tweak formatting on Greg's disk image instructions
...
- mention mtools before winimage, since winimage is commercial
2002-03-08 17:04:03 +00:00
Bryce Denney
4ec5b4a967
- add UINT ReadTimeOut to the ADAPTER struct, reported by
...
Mike Lerwill <Mike@ml-solutions.co.uk>
- at the moment we only use hFile so the other pieces of the ADAPTER struct
don't affect how this code turns out. However, it would be safer to include
the winpcap header file instead of hardcoding the structures, which are bound
to change over time.
2002-03-08 16:37:01 +00:00
Bryce Denney
0beda7ae26
- add instructions for setting up DLX linux for networking
2002-03-08 09:43:57 +00:00
Bryce Denney
6b11183d70
- the check for "auto transmit disable" was checking the wrong bit.
...
We should really be using #defines or enums to give these constants
a proper name! Thanks to Peter Tattam <peter@jazz-1.trumpet.com.au>
for the bug report.
2002-03-08 08:33:37 +00:00
Bryce Denney
bef9401a16
- fix the check for socklen_t. It is never defined unless you include
...
sys/socket.h, duh.
2002-03-08 05:45:51 +00:00
Bryce Denney
9b03cd05e5
- update
2002-03-08 04:47:59 +00:00
Bryce Denney
32b78ee896
- mention "default gui" down at the bottom near where it says what
...
the gui will really be. I was afraid people would get confused
if the default gui doesn't match the gui they asked for. Now they
will see both the default gui and the one that was actually chosen.
Not a big deal.
2002-03-08 04:47:33 +00:00
Bryce Denney
41767f5a5f
- add configure check for socklen_t, define as int if not already there.
2002-03-08 04:45:00 +00:00
Bryce Denney
baa70c351e
*** empty log message ***
2002-03-07 16:00:40 +00:00
Bryce Denney
556a8fa8f8
- commit patch.check-platform. For full details, pull up the patch itself
...
and look at the description at the top. Here's an intro.
This patch makes significant changes to the configure script. It adds the
lines AC_CANONICAL_HOST and AC_CANONICAL_TARGET which detect the OS and
processor type. The configure script, knowing the OS and processor type, can
then make intelligent decisions about which CFLAGS are needed and what is the
default GUI for that platform. One of the goals of this patch is to make it
so that on all supported platforms, "configure;make" will compile cleanly.
Configure detects the target platform, but it can be overridden by using
--target=___. This is important when using one platform to generate
Makefiles and header files for another platform. See config.guess script for
the exact details of platform naming.
The defaults that are currently implemented in the modified configure script
include:
If platform is windows* or winnt*, use win32 gui.
If platform is cygwin*, use win32 gui and compile with
"-mno-cygwin -DWIN32".
If platform is macosx* or darwin*, use carbon gui and compile
with "-fpascal-strings -fno-common -arch ppc -Wno-four-char-constants
-Wno-unknown-pragmas -Dmacintosh"
If platform is macos, use macos gui.
If platform is beos, use beos gui.
If platform is amigaos, use amigaos gui.
Otherwise, use X windows gui.
2002-03-07 16:00:39 +00:00