Commit Graph

68 Commits

Author SHA1 Message Date
Jonathan S. Shapiro
1893bf78e1 Disassembly now picks up the current 16/32 bit mode from CS register
by default.

Rearranged the output to make the output instructions always appear in
the same column, which makes them considerably easier to read.

I have *not* done the physical address display changes -- plan to do
that separately.
2002-11-07 15:32:38 +00:00
Bryce Denney
cec9135e9f - Apply patch.replace-Boolean rev 1.3. Every "Boolean" is now changed to a
"bx_bool" which is always defined as Bit32u on all platforms.  In Carbon
  specific code, Boolean is still used because the Carbon header files
  define it to unsigned char.
- this fixes bug [ 623152 ] MacOSX: Triple Exception Booting win95.
  The bug was that some code in Bochs depends on Boolean to be a
  32 bit value.  (This should be fixed, but I don't know all the places
  where it needs to be fixed yet.)  Because Carbon defined Boolean as
  an unsigned char, Bochs just followed along and used the unsigned char
  definition to avoid compile problems.  This exposed the dependency
  on 32 bit Boolean on MacOS X only and led to major simulation problems,
  that could only be reproduced and debugged on that platform.
- On the mailing list we debated whether to make all Booleans into "bool" or
  our own type.  I chose bx_bool for several reasons.
  1. Unlike C++'s bool, we can guarantee that bx_bool is the same size on all
     platforms, which makes it much less likely to have more platform-specific
     simulation differences in the future.  (I spent hours on a borrowed
     MacOSX machine chasing bug 618388 before discovering that different sized
     Booleans were the problem, and I don't want to repeat that.)
  2. We still have at least one dependency on 32 bit Booleans which must be
     fixed some time, but I don't want to risk introducing new bugs into the
     simulation just before the 2.0 release.

Modified Files:
    bochs.h config.h.in gdbstub.cc logio.cc main.cc pc_system.cc
    pc_system.h plugin.cc plugin.h bios/rombios.c cpu/apic.cc
    cpu/arith16.cc cpu/arith32.cc cpu/arith64.cc cpu/arith8.cc
    cpu/cpu.cc cpu/cpu.h cpu/ctrl_xfer16.cc cpu/ctrl_xfer32.cc
    cpu/ctrl_xfer64.cc cpu/data_xfer16.cc cpu/data_xfer32.cc
    cpu/data_xfer64.cc cpu/debugstuff.cc cpu/exception.cc
    cpu/fetchdecode.cc cpu/flag_ctrl_pro.cc cpu/init.cc
    cpu/io_pro.cc cpu/lazy_flags.cc cpu/lazy_flags.h cpu/mult16.cc
    cpu/mult32.cc cpu/mult64.cc cpu/mult8.cc cpu/paging.cc
    cpu/proc_ctrl.cc cpu/segment_ctrl_pro.cc cpu/stack_pro.cc
    cpu/tasking.cc debug/dbg_main.cc debug/debug.h debug/sim2.cc
    disasm/dis_decode.cc disasm/disasm.h doc/docbook/Makefile
    docs-html/cosimulation.html fpu/wmFPUemu_glue.cc
    gui/amigaos.cc gui/beos.cc gui/carbon.cc gui/gui.cc gui/gui.h
    gui/keymap.cc gui/keymap.h gui/macintosh.cc gui/nogui.cc
    gui/rfb.cc gui/sdl.cc gui/siminterface.cc gui/siminterface.h
    gui/term.cc gui/win32.cc gui/wx.cc gui/wxmain.cc gui/wxmain.h
    gui/x.cc instrument/example0/instrument.cc
    instrument/example0/instrument.h
    instrument/example1/instrument.cc
    instrument/example1/instrument.h
    instrument/stubs/instrument.cc instrument/stubs/instrument.h
    iodev/cdrom.cc iodev/cdrom.h iodev/cdrom_osx.cc iodev/cmos.cc
    iodev/devices.cc iodev/dma.cc iodev/dma.h iodev/eth_arpback.cc
    iodev/eth_packetmaker.cc iodev/eth_packetmaker.h
    iodev/floppy.cc iodev/floppy.h iodev/guest2host.h
    iodev/harddrv.cc iodev/harddrv.h iodev/ioapic.cc
    iodev/ioapic.h iodev/iodebug.cc iodev/iodev.h
    iodev/keyboard.cc iodev/keyboard.h iodev/ne2k.h
    iodev/parallel.h iodev/pci.cc iodev/pci.h iodev/pic.h
    iodev/pit.cc iodev/pit.h iodev/pit_wrap.cc iodev/pit_wrap.h
    iodev/sb16.cc iodev/sb16.h iodev/serial.cc iodev/serial.h
    iodev/vga.cc iodev/vga.h memory/memory.h memory/misc_mem.cc
2002-10-25 11:44:41 +00:00
Bryce Denney
690adc16bf - apply patch from Alexander Krisak (darkelf@newmail.ru)
which adds a help command to the debugger
- modified: debug/dbg_main.cc debug/debug.h debug/lexer.c debug/lexer.l
  debug/parser.c debug/parser.h debug/parser.y docs-html/debugger.html
- removed the patch file now that the changes are committed
2002-10-04 14:57:36 +00:00
Bryce Denney
1e0d562d95 - add instructions for installing Gnu Hurd, from
Bruno Bonfils <asyd@debian-fr.org>
2002-09-01 13:04:59 +00:00
Bryce Denney
eba793ba8b - paste the CHANGES file into this changelog 2002-03-28 06:45:26 +00:00
Bryce Denney
d67fe98719 - eliminate top level list so that I can put <a name=""> anchors 2001-12-10 14:53:27 +00:00
Bryce Denney
d18b42640b - update for version 1.3
- mention where to find the new docs, suggest people look there first
2001-12-10 14:09:03 +00:00
Bryce Denney
c5df95c4c1 - mention 1.3, but there is no changelog yet 2001-11-18 05:07:39 +00:00
instinc
ff08ebb819 Added the description of the 0x8AE4 (disable register tracing) and 0x8AE5 (enable register tracing) io commands 2001-10-03 19:58:50 +00:00
instinc
4febfb2efb Added the documentation for the enable/disable trace commands 2001-10-03 19:10:09 +00:00
Bryce Denney
82a0027e4b - stop warning people to leave their vga.pcf uncompressed, since that
was bad advice (only worked for Bryce's machine).  Now warn people to
  restart their X font server.
2001-09-30 14:07:58 +00:00
Bryce Denney
f1dd213775 - arg, I left out a paragraph mark before 2001-09-29 20:33:04 +00:00
Bryce Denney
0c7dad572e - add a note about skipping the "compress" step when installing the
VGA font by hand.
2001-09-29 20:22:08 +00:00
instinc
1170853e16 added command 0x8AE0 (return to debugger prompt) to iodebug 2001-09-26 02:55:46 +00:00
Bryce Denney
452bb210fc - fix incorrect title 2001-09-17 15:12:55 +00:00
Bryce Denney
53d5997913 - integrate Dave's I/O interface to debugger into the docs 2001-09-15 03:06:05 +00:00
Bryce Denney
6f3a573839 - documentation for iodebug device by Dave Poirier <eks@void-core.2y.net> 2001-09-15 03:01:35 +00:00
Bryce Denney
dcb74396d4 - fix three broken links! 2001-09-10 22:24:39 +00:00
Bryce Denney
c917c66d30 - add <TITLE> tags to everything 2001-09-10 22:12:59 +00:00
Bryce Denney
7c451d057b - add titles 2001-09-10 13:42:03 +00:00
Bryce Denney
76896f6bcd *** empty log message *** 2001-06-13 05:05:27 +00:00
Bryce Denney
e2ac907997 - fixed some out of date text at top of changelog. Thanks Cliff. 2001-06-12 23:28:46 +00:00
Bryce Denney
aeb6b817aa *** empty log message *** 2001-06-12 22:44:55 +00:00
Bryce Denney
ca200bb8bf *** empty log message *** 2001-06-12 22:42:55 +00:00
Bryce Denney
733c2f3a19 *** empty log message *** 2001-06-12 19:22:50 +00:00
Bryce Denney
27a4a0979f *** empty log message *** 2001-06-12 19:21:00 +00:00
Bryce Denney
4940c3bc63 - closer to a shell script, uses $VERSION variable to do substitution 2001-06-12 18:36:27 +00:00
Bryce Denney
49e4c66d22 - include changelog for 1.2.1 2001-06-12 18:31:12 +00:00
Bryce Denney
6d9113d4e1 - add top level link to debugger and cosimulation 2001-06-04 23:02:36 +00:00
Bryce Denney
bf13589cb1 - replace broken link with good one 2001-06-04 23:02:20 +00:00
Bryce Denney
52e0d4178c - fix typo 2001-06-04 16:36:21 +00:00
Bryce Denney
f41b050fd9 - update for 1.2 release 2001-06-03 23:09:11 +00:00
Bryce Denney
78472700f1 - added note about just how old this doc really is 2001-05-31 18:41:45 +00:00
Bryce Denney
dd3ec034c7 - updated instructions for compiling under win32 2001-05-30 18:24:48 +00:00
Bryce Denney
fa6e0432a5 - fix link to 1.2.pre1 2001-05-29 04:36:32 +00:00
Bryce Denney
aed721bc62 - update for 1.2-pre1 2001-05-25 14:02:16 +00:00
Bryce Denney
47c7a92efc *** empty log message *** 2001-05-25 13:59:01 +00:00
Bryce Denney
97d681fb89 - integrated Don Becker's RFB gui, added it as a configure option,
and put it in the docs.
2001-05-24 01:07:09 +00:00
Bryce Denney
e61d00351f - merged BRANCH-smp-bochs into main branch. For details see comments
in BRANCH-smp-bochs revisions.
- The general task was to make multiple CPU's which communicate
  through their APICs.  So instead of BX_CPU and BX_MEM, we now have
  BX_CPU(x) and BX_MEM(y).  For an SMP simulation you have several
  processors in a shared memory space, so there might be processors
  BX_CPU(0..3) but only one memory space BX_MEM(0).  For cosimulation,
  you could have BX_CPU(0) with BX_MEM(0), then BX_CPU(1) with
  BX_MEM(1).  WARNING: Cosimulation is almost certainly broken by the
  SMP changes.
- to simulate multiple CPUs, you have to give each CPU time to execute
  in turn.  This is currently implemented using debugger guards.  The
  cpu loop steps one CPU for a few instructions, then steps the
  next CPU for a few instructions, etc.
- there is some limited support in the debugger for two CPUs, for
  example printing information from each CPU when single stepping.
2001-05-23 08:16:07 +00:00
Bryce Denney
a477f9bbf7 - I got diffs from 1/4/2000 snapshot to 3/15/2000 snapshot, so I filled
in the changelog.
2001-05-20 04:05:18 +00:00
Bryce Denney
ece73db2dc - update 5/17 2001-05-17 22:06:39 +00:00
Bryce Denney
770cf1e9e2 - changed order of hard drive stuff to make it more clear 2001-05-17 20:11:50 +00:00
Bryce Denney
86182ace3a - added note that you need newharddrivesupport=1 2001-05-17 20:10:41 +00:00
Bryce Denney
2eba96ba3d - previous revision missed something quite important, # of cylinders! 2001-05-17 19:41:48 +00:00
Bryce Denney
b262c56f16 - added sizes of large hard disks up to 32gig 2001-05-17 19:34:38 +00:00
Bryce Denney
536dc4c10e - fpu in by default 2001-05-16 08:30:55 +00:00
Bryce Denney
8c336a82b5 - now FPU defaults to on 2001-05-16 07:51:43 +00:00
Bryce Denney
d2d54d42af - add changelog for version 1.1.2 (bugfix3) to main branch 2001-05-16 07:30:16 +00:00
Bryce Denney
97777b2a81 - first draft, not really very good yet 2001-05-16 06:07:56 +00:00
Bryce Denney
13c4c0c3af *** empty log message *** 2001-05-14 06:28:44 +00:00