Commit Graph

103 Commits

Author SHA1 Message Date
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
5e520261db Add plugin support to Bochs by merging all the changes from the
BRANCH_PLUGINS branch!

Authors:
  Bryce Denney
  Christophe Bothamy
  Kevin Lawton (we grabbed a lot of plugin code from plex86)
Testing help from:
  Volker Ruppert
  Don Becker (Psyon)
  Jeremy Parsons (Br'fin)

The change log is too long to paste in here.  To read the change log, do
  cvs log patches/patch.final-from-BRANCH_PLUGINS.gz

All the changes and a detailed description are contained in a patch
called patch.final-from-BRANCH_PLUGINS.gz.  To look at the complete
patch, do
  cvs upd -r1.1 patches/patch.final-from-BRANCH_PLUGINS.gz

Then you will have a local copy of the patch, which you can gunzip and
play with however you want.

Modified Files:
    .bochsrc Makefile.in aclocal.m4 bochs.h config.h.in configure
    configure.in gdbstub.cc logio.cc main.cc pc_system.cc
    pc_system.h state_file.h bios/Makefile.in bios/rombios.c
    cpu/Makefile.in cpu/access.cc cpu/apic.cc cpu/arith16.cc
    cpu/arith32.cc cpu/arith8.cc cpu/cpu.cc cpu/cpu.h
    cpu/ctrl_xfer32.cc cpu/exception.cc cpu/fetchdecode.cc
    cpu/fetchdecode64.cc cpu/flag_ctrl.cc cpu/flag_ctrl_pro.cc
    cpu/init.cc cpu/io.cc cpu/logical16.cc cpu/logical32.cc
    cpu/logical8.cc cpu/paging.cc cpu/proc_ctrl.cc
    cpu/protect_ctrl.cc cpu/segment_ctrl_pro.cc cpu/shift16.cc
    cpu/shift32.cc cpu/stack64.cc cpu/string.cc cpu/tasking.cc
    debug/Makefile.in debug/dbg_main.cc disasm/Makefile.in
    doc/docbook/user/user.dbk dynamic/Makefile.in fpu/Makefile.in
    gui/Makefile.in gui/amigaos.cc gui/beos.cc gui/carbon.cc
    gui/control.cc gui/control.h 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/sdlkeys.h gui/siminterface.cc
    gui/siminterface.h gui/term.cc gui/win32.cc gui/wx.cc
    gui/wxdialog.cc gui/wxdialog.h gui/wxmain.cc gui/wxmain.h
    gui/x.cc gui/keymaps/sdl-pc-de.map gui/keymaps/sdl-pc-us.map
    gui/keymaps/x11-pc-de.map instrument/example0/instrument.h
    instrument/example1/instrument.h
    instrument/stubs/instrument.cc instrument/stubs/instrument.h
    iodev/Makefile.in iodev/biosdev.cc iodev/biosdev.h
    iodev/cdrom.cc iodev/cmos.cc iodev/cmos.h iodev/devices.cc
    iodev/dma.cc iodev/dma.h iodev/eth_fbsd.cc iodev/eth_linux.cc
    iodev/eth_null.cc iodev/eth_tap.cc iodev/floppy.cc
    iodev/floppy.h iodev/guest2host.cc iodev/guest2host.h
    iodev/harddrv.cc iodev/harddrv.h iodev/iodebug.cc
    iodev/iodebug.h iodev/iodev.h iodev/keyboard.cc
    iodev/keyboard.h iodev/ne2k.cc iodev/ne2k.h iodev/parallel.cc
    iodev/parallel.h iodev/pci.cc iodev/pci.h iodev/pci2isa.cc
    iodev/pci2isa.h iodev/pic.cc iodev/pic.h iodev/pit.cc
    iodev/pit.h iodev/pit_wrap.cc iodev/pit_wrap.h iodev/sb16.cc
    iodev/sb16.h iodev/scancodes.cc iodev/scancodes.h
    iodev/serial.cc iodev/serial.h iodev/slowdown_timer.cc
    iodev/slowdown_timer.h iodev/unmapped.cc iodev/unmapped.h
    iodev/vga.cc iodev/vga.h memory/Makefile.in memory/memory.cc
    memory/memory.h memory/misc_mem.cc misc/bximage.c
    misc/niclist.c
Added Files:
    README-plugins extplugin.h ltdl.c ltdl.h ltdlconf.h.in
    ltmain.sh plugin.cc plugin.h
2002-10-24 21:07:56 +00:00
Bryce Denney
2271ef7779 - update info for Bernd Korz 2002-10-15 05:17:19 +00:00
Volker Ruppert
9fb6561b66 - added descriptions of the new ATA disk options based on the comments in the
bochsrc sample
2002-09-29 16:41:41 +00:00
Bryce Denney
620b264889 - remove obsolete loader option 2002-09-17 21:45:51 +00:00
Volker Ruppert
9b0869bbc5 - added description for the option "#include"
- updated description for the option "com1"
- added example for 360k floppies
- fixed header of "floppya" and "floppyb" option
2002-09-09 17:41:36 +00:00
Volker Ruppert
ea1cec39a7 - added section SYNOPSIS and descriptions for the new command line options
-q and -qf
- the link to "Bug Reports" can be found under "Feedback", not "Features"
2002-08-24 12:18:07 +00:00
Volker Ruppert
56952f9132 - parport1 enable/disable support added. Now you can control the presence of
parport1 with the new option "enabled". The old option "enable" only
  controlled the output. The parport1 is enabled with no output by default.
  Changes:
  * bochrc option "enable" replaced by "enabled"
  * parport option "Oenable" replaced by "Opresent"
  * bx_parport_options par1 and par2 replaced by an array par[2]
  * initialize parport1 resources only when enabled
  * renamed variable "parport_init_list" to "par_ser_init_list" since it
    contains parport and serial options
  * documentation and bochsrc updates
- the parport variables "output" and "initmode" now belong to the bx_par_t
  structure
- TODO: add parport2 (disabled by default), parport detection in the bios
2002-08-24 10:20:35 +00:00
Volker Ruppert
db5cd5162c - fixed a typo in the bochs-cvs mailing list section
- added CVS release tags for version 1.3, 1.4 and 1.4.1
2002-08-13 13:50:54 +00:00
Volker Ruppert
9b1b1ada1e - added a short description for the bochs-cvs mailing list
- bochs-announce archive URL updated
- added Minix to the list of guest operating systems
2002-08-13 10:31:51 +00:00
Volker Ruppert
6420f04fe4 - fixed a typo in the example for the option "romimage" 2002-07-28 17:04:29 +00:00
Volker Ruppert
eb47a62435 - the link to "Bug Reports" can be found under "Feedback", not "Features" 2002-07-03 20:12:15 +00:00
Volker Ruppert
2ede8d7075 - manpage of bochsrc belongs to section 5. The file is renamed and the
references in the other manpages are updated.
- the version placeholder is now written in lowercase. This prevents the
  modification of the sed argument by 'configure'
- install/uninstall commands for the manpages in Makefile.in modified to make
  the changes obove work.
- header and footer of the manpages fixed
- pathnames of installed files updated (FHS compatibility)
- "parport1" section in the bochsrc manpage added
- new option "cdrom" in the "boot" section of the bochsrc manpage added
2002-06-29 18:35:32 +00:00
Volker Ruppert
b88ac96c35 - added a short description how to toggle the mouse state at runtime
- fixed a typo
2002-06-02 18:34:41 +00:00
Bryce Denney
bb398122d6 - fix up some missing end tags as suggested by Guilhem BONNEFILLE (guyou)
in a source forge patch.  I didn't change the entity that includes
  "../include/defs.sgm" because then it stops working for me.
2002-04-18 01:33:36 +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
1a1f23ed39 - fix typo in section end that made the docbook invalid 2002-03-28 06:45:06 +00:00
Bryce Denney
ba06457cca - add compile instructions for --with-rfb and --with-sdl 2002-03-27 18:41:45 +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
fb97571bc9 - add hints for developers who want to add keymapping in a GUI 2002-03-23 23:25:36 +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
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
0beda7ae26 - add instructions for setting up DLX linux for networking 2002-03-08 09:43:57 +00:00
Bryce Denney
59335a767d - arg, I didn't mean to check in that last revision! Reverted to 1.5. 2002-03-06 15:46:16 +00:00
Bryce Denney
2c392212fc - added more SDL details, minor tweaks 2002-03-06 15:45:09 +00:00
Bryce Denney
b74ed15539 - add a very important missing word: "NOT" 2002-03-05 17:17:50 +00:00
Bryce Denney
e50a1be21b - commit serial port patch from Stu Grossman <grossman@juniper.net>
Here are the patches (without the serial name fix).  Let me know if you want
  me to change that.  Oh, FYI, my changes also open up the com1 terminal in raw
  mode, which makes the emulation much more accurate.  You'll also notice that
  I added infrastructure for com2->4 in the option parsing.  I didn't add it to
  the serial code, as I think a bunch of things need to be untangled before
  that can work.
2002-03-03 06:03:29 +00:00
Christophe Bothamy
d7482737a9 . Added a keyboard_type option in the conf file
. Modified answer of keyboard controler to a keyboard-identify command
  depending on keyboard_type
. Added the keyboard_type option in bochsrc man page
2001-12-12 10:38:39 +00:00
Bryce Denney
c39181a903 - add pointers to the changelog 2001-12-10 14:54:39 +00:00
Bryce Denney
80c824e2d5 - fix bad grammar 2001-12-10 12:46:13 +00:00
Bryce Denney
0be223b867 - I changed how to build an RPM 2001-12-08 18:05:49 +00:00
Bryce Denney
f61507194a - clarify RPM build description 2001-12-05 20:16:09 +00:00
Bryce Denney
21e102208d - add instructions for getting CDROM to work in DOS 2001-11-21 02:13:47 +00:00
Bryce Denney
33da4882f2 - clean up compile section and add subsections with platform specific hints 2001-11-17 22:04:33 +00:00
Bryce Denney
e17ad6f50b - clarify that sending parallel port output to raw dev is unix only
- remove Id tag in bximage example, since it gets replaced with the
  Id of the whole file.
2001-11-17 17:20:29 +00:00
Bryce Denney
1fbdc6544f - move cvs write info into the real docbook 2001-11-17 17:16:35 +00:00
Bryce Denney
5080a0e755 - rename mailing list link 2001-11-17 17:16:12 +00:00
Bryce Denney
94ad83d9ad - include ../include/defs.sgm
- add vasudeva as editor
- add section about setting up cvs write access
- add fixmes on most other sections
2001-11-17 17:15:38 +00:00
Bryce Denney
8a4eb1f3e0 - add vasudeva as editor 2001-11-17 17:14:42 +00:00
Bryce Denney
c1273a5974 - add vasudeva as editor
- add tip about using winimage
2001-11-17 17:14:28 +00:00
Bryce Denney
d95d2235c4 - more hints about mounting disk images 2001-11-15 22:15:07 +00:00
Bryce Denney
7f70b4ffd5 - finish up cvs write instructions 2001-11-15 17:44:50 +00:00
Bryce Denney
0435f4cace - adding instructions for cvs write access 2001-11-15 17:38:52 +00:00
Bryce Denney
a617b4e739 - added Greg Alexander's "how to make a disk image" 2001-11-14 14:42:04 +00:00
Bryce Denney
892badb077 - add SMP simulation instructions 2001-11-14 04:37:24 +00:00
Bryce Denney
2478decb1e - add link to mailing list archives 2001-11-14 04:18:24 +00:00
Bryce Denney
4ddbf9381a - fix up mailing list section so that it describes both bochs-announce
and bochs-developers, and who should use which list.
2001-11-14 04:08:10 +00:00
Bryce Denney
6a9b5c513d - move "Supported Platforms" into the Intro section 2001-11-14 02:43:45 +00:00
Bryce Denney
f07023c86a - add Features table at end of Introduction section 2001-11-14 02:40:55 +00:00