Commit Graph

1723 Commits

Author SHA1 Message Date
Volker Ruppert
d8454f31de - this file is no longer needed 2002-07-06 15:24:01 +00:00
Volker Ruppert
ccbb98f04e - rules modified to use the FHS compatible directories (untested) 2002-07-06 15:23:04 +00:00
Volker Ruppert
27fedb5aba - AAM can generate an exception (divide by 0)
- AAM: modification of flags depends on AL, not AX
- AAM always clears CF and AF
- AAD can also modify AF, CF and OF
- DAA can also clear the CF
2002-07-06 11:02:35 +00:00
Volker Ruppert
70eb02913b - trailing comma removed after the last item of enum {} bx_string_opt_bits 2002-07-04 19:24:30 +00:00
Volker Ruppert
d064db05b9 - 'make uninstall' now removes the 'bochs-docs' script too 2002-07-04 19:01:14 +00:00
Christophe Bothamy
3088768f88 - added a configure check for BLKGETSIZE ioctl support. The patch should not cause any more problems on other systems 2002-07-04 10:40:10 +00:00
Volker Ruppert
636027845c - this patch doesn't fix the fprem bug. 2002-07-03 20:16:48 +00:00
Volker Ruppert
f249d2f78d - bugfix in rem_kernel(): the second and third stage of the calculation
modifies only the msw of variable "x".
2002-07-03 20:13:31 +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
Mike Lerwill
b941089156 Minor change to allow load to be called with an empty path (and do nothing) 2002-07-03 17:13:29 +00:00
Volker Ruppert
9b6f0f6b3e - in function mouse_motion(): added parentheses to fix compilation problems
with MSVC (SF bug #575301)
- fixed a warning in function periodic(): type of variable 'count_before_paste'
  is now 'unsigned'
2002-06-30 18:08:02 +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
afca461cf3 - reading port 0x01f0 with drq==0 causes a BX_ERROR, not a BX_PANIC. The return
value after the error is set to 0. This fixes the problem with the netbsd 1.5
  rescue disk (SF bug #419415)
2002-06-29 08:54:11 +00:00
Christophe Bothamy
17fe31ad4d - reverted to before patch.blkdevsize inclusion, because compilation fails on WIN32.
It will be included back when we know which platforms handle the GETBLKSIZE ioctl right
2002-06-28 21:34:30 +00:00
Christophe Bothamy
383ff23866 - cleaned up the logprefix code 2002-06-28 14:03:47 +00:00
Christophe Bothamy
5f44c98412 - this patch adds sysenter/sysexit functions support for CPU_LEVEL >= 6 2002-06-27 21:47:44 +00:00
Christophe Bothamy
cba611f25b - updated with latest version found on sf patches page 2002-06-27 19:38:39 +00:00
Volker Ruppert
888ef120f8 - changes in file bochs-dlx.in added 2002-06-27 15:36:27 +00:00
Christophe Bothamy
c6f9ce353a - removing patch.fetchdecode-cache as it is included in the main branch, and does not apply cleanly anymore 2002-06-27 14:39:03 +00:00
Christophe Bothamy
badef8cec8 - included instinc's patch.stack-return-from-v86 2002-06-27 13:31:54 +00:00
Volker Ruppert
c410659a92 - modified DLX path to make this file work with the FHS compatible directories 2002-06-26 19:13:46 +00:00
Volker Ruppert
589f26ef16 - exclude directories named "CVS" when preparing the source package for RPM 2002-06-26 18:20:21 +00:00
Volker Ruppert
44a71e4127 - modified paths to make this file work with the FHS compatible directories 2002-06-26 17:10:36 +00:00
Volker Ruppert
4d9c62b001 - added some more files that need to be changed 2002-06-26 17:08:55 +00:00
Christophe Bothamy
fcc5bd67cb - added patch for block device size detection from Ph. Marek
- included it in the main branch as it is only active with block devices
2002-06-26 16:45:27 +00:00
Christophe Bothamy
a926744628 I reworked and included Carl's patch to have a new bochsrc directive
to describe the format of the log prefix. This option can be any string
with special tokens being replaced at run time :
  #   %t : 11 decimal digits timer tick
  #   %i : 8 hexadecimal digits of cpu0 current eip
  #   %e : 1 character event type ('i'nfo, 'd'ebug, 'p'anic, 'e'rror)
  #   %d : 5 characters string of the device, between brackets
the default is "%t%i%d", so the logprefix is the same as before.

New tokens can be easily added or changed if needed.


Modified Files:
  .bochsrc bochs.h logio.cc main.cc gui/control.cc
  gui/siminterface.h gui/siminterface.cc
  patches/patch.logfilefmteip
2002-06-26 14:42:35 +00:00
Christophe Bothamy
5d84b38abd - added tha 1.4.1 release informations 2002-06-25 22:55:58 +00:00
Christophe Bothamy
368a58ef97 - removing patch as it has been included in the main branch long ago. 2002-06-25 07:35:41 +00:00
Christophe Bothamy
a7a6df9a1b - included patch.fhs. Detailed description:
see patch [ 551811 ]
   Location of some files on Bochs installation breaks the
   Filesystem Hierrachy Standard, to be found at:

   http://www.pathname.com/fhs/

   It is important to comply with FHS because most
   distributions require it in order to accept packages.
2002-06-25 07:30:44 +00:00
Volker Ruppert
76a5271232 - in function floppy_command(): added parentheses at the head number check
(fixes SF bug #572177)
2002-06-23 18:04:07 +00:00
Volker Ruppert
109007dd82 - in function init(): declaration of variables i and j moved to the start of
the function (fixes SF bug #572177)
2002-06-23 18:03:37 +00:00
Volker Ruppert
b9822b6f1c - in function bx_list_c::text_print() added parentheses (fixes SF bug #572177) 2002-06-23 18:02:55 +00:00
Bryce Denney
c337f3715f - This patch creates one copy of the FPU registers and state for every CPU
in a multiprocessor simulation.  Imagine that!  Without the patch, there is
  just one FPU for all the processors, which is clearly wrong.
  See bug [ 461762 ] multiple processors but only one FPU
2002-06-23 00:35:19 +00:00
Bryce Denney
5744357ffe - I should not have used BX_CPU_THIS_PTR to address the kill_bochs_request
field in the cpu object; it should only be used within cpu methods.
  Instead, use BX_CPU(0)->kill_bochs_request.
2002-06-23 00:01:01 +00:00
Volker Ruppert
54a5e86cc6 - real mode PCI BIOS functions rewritten in assembler
- new real mode PCI BIOS functions: find device, read/write byte/dword
- C code for PCI BIOS handles errors and prints messages only
- function setPCIaddr() no longer needed
- functions inw() and outw() no longer used by the PCI BIOS
- BIOS32 checksum calculation rewriten to prevent errors
- labels of protected mode PCI BIOS renamed
2002-06-22 15:23:05 +00:00
Gregory Alexander
18ca414cc0 Oops! 2002-06-20 17:59:26 +00:00
Gregory Alexander
401b990cb9 Added comment about nocp option to config menu. 2002-06-20 15:43:09 +00:00
Volker Ruppert
147657781b - the changes are present in CVS now. 2002-06-19 18:27:00 +00:00
Bryce Denney
7e04c23d2f - check in Mike Reiker's 4meg page code from a patch that he submitted last
November 17.
2002-06-19 15:49:07 +00:00
Bryce Denney
2bb90eae56 - don't panic if mkdir fails. Probably the dir already existed. 2002-06-19 15:15:59 +00:00
Volker Ruppert
c7c9cc2430 - DMA register and unregister functions for DMA channels added and macros for
DMA functions defined. Most of the changes are based on the "bochs sync"
   version of plex86. Here is the list of changes:

  * register/unregister functions for DMA channels added. The DMA controller
    can use the DMA read/write handlers of registered devices directly.
  * "hardwired" code in dma.cc removed
  * all DMA related code in devices.cc and iodev.h removed
  * DMA related code in pc_system.* removed except HRQ handling
  * macros for DMA functions defined in bochs.h
  * floppy and SB16 code modified to use the changes described above
2002-06-16 15:02:28 +00:00
Volker Ruppert
506d6ce6d9 - the patch file is no longer needed 2002-06-14 16:32:10 +00:00
Gregory Alexander
5d7c6627fd I botched the linked list implementation pretty badly.
Kudos to TLD for fixing it for me.
2002-06-06 23:03:09 +00:00
Christophe Bothamy
0fc3304a35 - cdrom is enabled by default
- added a --enable-fetchdecode-cache option
2002-06-06 15:42:11 +00:00
Gregory Alexander
1be5b1d46c Added a linked list to further speed up icache invalidates.
These should be pretty snappy now.  It's time to generate
some actual statistics.

 Modified Files:
 	cpu/cpu.cc cpu/cpu.h cpu/init.cc memory/memory.cc
2002-06-05 21:51:30 +00:00
Gregory Alexander
c41505e342 Added a RPN directory for the cache to help make invalidates
faster.  Hopefully this won't slow things down too much.

 	config.h.in cpu/cpu.cc cpu/cpu.h memory/memory.cc
2002-06-05 03:59:31 +00:00
Volker Ruppert
e2772fa94b - destructor restores original terminal settings only when serial port is enabled 2002-06-04 21:35:08 +00:00
Volker Ruppert
260ab478d7 - this patch adds register and unregister functions for DMA channels and
defines macros for DMA functions.
2002-06-04 18:31:27 +00:00
Volker Ruppert
0ef68e47ad - the changes are present in CVS now 2002-06-04 18:30:24 +00:00
Volker Ruppert
aa57c0e171 - most important functions of the protected mode PCI BIOS added.
Linux (kernel 2.2.18) is able to use the new features.
  Here is the list of changes:

  * BIOS32 data structure added
  * BIOS32 and protected mode PCI BIOS functions added. The BIOS32 function
    returns a pointer to the PCI BIOS entry point when the service $PCI is
    requested and the PCI hardware is present.
  * Supported 32 bit functions: installation check, find pci device,
    read configuration byte/word/dword, write configuration byte/word/dword
  * real mode PCI BIOS installation check rewritten in assembler to use 32 bit
    registers for the protected mode entry point and the 'PCI ' signature.

  TODO:

  * add missing functions of the PCI BIOS (if necessary)
  * add missing features of the i440FX PCI bridge
  * implement the other parts of the i440FX chipset (PCI-to-ISA bridge,
    PCI IDE controller, USB controller)
2002-06-04 17:44:02 +00:00
Gregory Alexander
fda1b874e9 Check in FETCHDECODE Caching, with changes.
Specific changes from the patch:

1.) renamed fdcache_eip to fdcache_ip, as it is using
the RIP instead of the EIP.

2.) added a Boolean array fdcache_is32 which uses is32
to determine icache hits.  Otherwise we could run 32-bit
code as 16-bit or vice versa.


 Modified Files:
 	config.h.in cpu/cpu.cc cpu/cpu.h memory/memory.cc
2002-06-03 22:39:11 +00:00
Christophe Bothamy
75247ef0a4 - 3rd version of tld's fetchdecode cache 2002-06-03 20:34:31 +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
Volker Ruppert
058fceb3be - keyboard and mouse definitions removed (still present in keyboard.h) 2002-06-02 11:53:49 +00:00
Volker Ruppert
43daf31782 - initialize DMA controller before floppy and SB16 2002-06-02 11:53:19 +00:00
Volker Ruppert
16966b066e - the changes are present in CVS now 2002-06-01 21:35:43 +00:00
Volker Ruppert
53acc7b2d7 - "ask" dialog implemented (a part of this changes comes from the old version
of wx.cc)
2002-06-01 15:44:54 +00:00
Volker Ruppert
4425a91b5a - update the vga screen in the ask() function before executing the dialog
- added break statement in the ask() function after fatal() (necessary for
  wxWindows)
2002-06-01 07:39:19 +00:00
Volker Ruppert
5a9dcef1e4 - include statement <linux/fs.h> seems to be unnecessary, cdrom support should
compile now on mips and m68k (untested)
- added cdrom support on GNU (untested)
- fixed a warning
2002-05-31 09:56:58 +00:00
Volker Ruppert
b32f75e048 - fixed a few "@prefix@" statements 2002-05-31 07:57:37 +00:00
Volker Ruppert
01d65a0d41 - fixed the URL 2002-05-31 07:56:59 +00:00
Volker Ruppert
52bf2216ca - enable serial port for GNU and GNU/Linux
- use the same port name as in the configuration for BX_INFO ("com1")
2002-05-31 06:54:34 +00:00
Christophe Bothamy
c04d7cd10a This a patch found on sf bug list from mrieker :
fixed some stuff in apic code:
  - interprocessor nmi's
  - lowest priority
  - fixed ppr
  - can write task_priority
  - scan priorities from high to low
2002-05-30 12:15:16 +00:00
Volker Ruppert
1bd3646867 - implementation of the PCI device register mechanism
The new function register_pci_handlers() is similar to the register functions
  for i/o addresses. A PCI device can register the read/write handlers for it's
  private PCI configuration space. The i/o mapped registers of the host bridge
  control the access to the configuration registers of each PCI device. You can
  select the bus, device, function and register address with the confAddr
  register. The confData register is a window to the configuration space of the
  selected device.
- reset sets the values of the i/o mapped registers to 0
- changed some BX_INFO messages to BX_DEBUG
2002-05-30 07:33:48 +00:00
Christophe Bothamy
d5e43f24b4 - updated the patch from tld. 2002-05-29 21:52:36 +00:00
Christophe Bothamy
d78e428169 - added fetchdecode-cache patch from tld 2002-05-29 09:02:40 +00:00
Volker Ruppert
6e4e751bfb - fixed the function argument of insert_cdrom() for Amiga OS and MacOSX
(added function argument "char *dev", but the cdrom change support for
  these platforms is still to do)
2002-05-28 15:39:05 +00:00
Volker Ruppert
671ad5215d - updated for current CVS (logio 1.17)
- added check for the siminterface init state before calling the vga
  timer handler
2002-05-26 16:56:46 +00:00
Volker Ruppert
0941472596 - font char 0x00 is a blank, not a "@" 2002-05-25 14:22:53 +00:00
Volker Ruppert
85b057c1f5 - floppy boot signature stuff fixed
* added "skip" to the label of the configuration option
  * write the option "disabled" into the config file, not "enabled"
2002-05-25 13:16:55 +00:00
Gregory Alexander
b30fdb2487 Fix problem with PIT when the machine is being really slow.
This means that the REALTIME_PIT now only works on machines
that are capable of sustaining 150000 IPS, in aggregate.  This
seems a reasonable requirement, as even my 200Mhz PPC with 16MB
of memory can sustain that.

This is now probably ready for primetime, so I need to get it
added to the configure options.
2002-05-21 15:07:45 +00:00
Christophe Bothamy
d1fbbd6f5c - include patch from Tal Benavidor :
this little patch brings a significant speed improvement to
  the bximage utility. when bximage creates a disk image, it writes
  a lot of zeros. actually as much zeros as the size of the image file.
  this takes quite a while for large images (at least in my win98/cygwin box).
  a faster way to create the image file is to seek to its end and write a
  single byte.
  to see the speed improvement, create a 100mb image with the old bximge.
  then apply this patch and do the same.
2002-05-21 07:23:09 +00:00
Gregory Alexander
e92fb8deff Updated realtime PIT code.
This seems to work, but I don't think it works on slow machines (like mine.)

At least, I'm getting fails with the dlxlinux image, but they're pretty
sporadic.  This code shouldn't cause any fails.
2002-05-20 21:53:26 +00:00
Volker Ruppert
a8fc8f8d84 - cleaned up and improved the X gui text font handling
* dimension_update() stores the global variables columns, rows and
    font_height_orig; it uses X font sizes to recalculate the screen size
  * text_update() uses the columns, rows and X font sizes when redrawing the
    screen; it adjusts the cursor shape using the font sizes
2002-05-18 16:02:20 +00:00
Christophe Bothamy
a0c64105fa - italian keymap file from Emanuele Goldoni 2002-05-17 20:25:36 +00:00
Christophe Bothamy
198bc0afb5 - new version by Robert Millan 2002-05-15 09:10:14 +00:00
Christophe Bothamy
082d093b68 - removing patch since it's been included and modified in bochs cvs 2002-05-15 09:09:48 +00:00
Volker Ruppert
e13bdb401f - this patch adds the most important functions of the 32 bit PCI BIOS 2002-05-12 15:23:13 +00:00
Volker Ruppert
c2941ec36b - added error message: PCI BIOS can only be used with 386+ cpu
- functions inw() and outw() are required for the ATA driver too
- real mode PCI BIOS installation check returns revision level 2.10
- unsupported real mode PCI BIOS functions return the error code 0x81
2002-05-11 13:44:39 +00:00
Volker Ruppert
61bd767b8c - access to unsupported extra page register issues a debug message, not an error
- read access to unsupported or not readable registers issues an error message,
  not a panic
2002-05-11 13:42:52 +00:00
Volker Ruppert
74faab3bff - ConfAddr register is readable (32 bit)
- header type register is readonly
- debug message fixed
2002-05-10 10:56:04 +00:00
Christophe Bothamy
2a39e35322 - updated with rombios.c v1.56 2002-05-04 16:56:22 +00:00
Christophe Bothamy
45ad28ff24 - adapted rombios for floppy boot signature check flag change
- added ASM_START / ASM_END instead of #asm / #endasm.
  Now we are (tested) able to compile with both gcc2 and gcc3
  compiler (Eventually!) Aren't you happy Jeroen ? ;-)
- fixed [ 549815 ]. I included back int19_relocated at the bios
  space could not hold the new mov ex, ax
- int19 calls int18 if the boot has failed. I hope this is the
  right behavior.
2002-05-04 16:09:38 +00:00
Christophe Bothamy
b84c82e80c - changed the floppy_bootsig_check syntax to be more logical. the syntax is now :
floppy_bootsig_check: disabled=[0|1]. It is not disabled by default.
  Sorry for any inconvenience it could cause
- changed the default (if cmos reg is 0) behavior for the floppy boot signature
  check, so the new bios is compatible with older bochs binaries (useful if we
  want to use the new bios when we release 1.4.1) :
  1 : disabled
  0 : enabled
- added info at launch time about the boot device and the floppy boot signature
  check
- added a "LBA capable" flag in the ata controller
2002-05-04 16:00:40 +00:00
Christophe Bothamy
5f3dbfb47a - i'm uploading the patch on behalf of Robert Milan
- this patch adds fhs compatibility when installing Bochs
2002-05-04 15:18:33 +00:00
instinc
cd10b68d0a Added sdl-config to SDL_CFLAGS 2002-05-04 00:50:26 +00:00
Christophe Bothamy
117b099b54 - fix to have Bochs not panic when Win95 tries to detect devices 2002-05-03 13:52:53 +00:00
Christophe Bothamy
a2fc610355 - included "patch.harddrv-sco-osr5" from Carl Sopchak 2002-05-03 08:17:18 +00:00
Volker Ruppert
d6dd67e3c1 - the patch is checked in and this file is no longer needed 2002-05-02 17:53:53 +00:00
Christophe Bothamy
980364868d - added a script directive in ne2k options of .bochsrc
- added the script directive management for ne2k options
- added the execution of the script (if defined and not 'none') after init of the tun device
2002-05-02 07:54:22 +00:00
Christophe Bothamy
eeb542bb8c - removing this patch since it has been long included in the bios 2002-05-01 21:10:46 +00:00
Christophe Bothamy
bfd7fc33ba - These are the three patches that cegis submitted on the sf bug list 2002-05-01 21:07:13 +00:00
Christophe Bothamy
f331d20e55 - fixed compile problem
- fixed opened netdevice name (/dev/net/tun...)
- fixed test on iface name (tun instead of tap)
- cosmetic changes
- added example in .bochsrc
Much of these fixes have been contributed by Frederic Bothamy
2002-04-30 13:33:30 +00:00
Jeroen Janssen
42e40dd38a - applying hw scroll/multibuffering VBE patch (this func requires latest vgabios to work, but old bioses should still work due to backwards compatible interface) 2002-04-29 13:06:06 +00:00
Christophe Bothamy
a5442def86 - fixed bug [ 547603 ]
- added int16 functions AX=09h and AX=0Ah
2002-04-24 13:49:26 +00:00
Christophe Bothamy
719a6919fe - i forgot to keep the 0xfff0 port management for older bioses. fixed 2002-04-24 11:52:13 +00:00
Christophe Bothamy
2f2f9880ca - compiled rombios.c 1.54
- added BX_DEBUG, BX_INFO, BX_PANIC macros
  - BX_DEBUG outputs to the INFO port till we can easily choose debug output on a per-device basis
  - BX_DEBUG are only generated if DEBUG_ROMBIOS is defined to 1
  - do not panic on unsupported function in int13, only output info message
  - fixed a bug on boot signature check never done on floppy/harddisk and always on floppy images on cd
  - the boot signature check on harddisks is always done
  - the boot signature check on cdroms (either direct boot or floppy images) is never done
  - the boot signature check on floppies is conditionnal to CMOS reg 0x38 (configuration floppy_bootsig_check)
  - moved PIC initialization before calling optional rombios init functions (feature request [ 541908 ])
2002-04-24 07:54:23 +00:00
Christophe Bothamy
6566116a01 - added BX_DEBUG, BX_INFO, BX_PANIC macros
- BX_DEBUG outputs to the INFO port till we can easily choose debug output on a per-device basis
- BX_DEBUG are only generated if DEBUG_ROMBIOS is defined to 1
- do not panic on unsupported function in int13, only output info message
- fixed a bug on boot signature check never done on floppy/harddisk and always on floppy images on cd
- the boot signature check on harddisks is always done
- the boot signature check on cdroms (either direct boot or floppy images) is never done
- the boot signature check on floppies is conditionnal to CMOS reg 0x38 (configuration floppy_bootsig_check)
- moved PIC initialization before calling optional rombios init functions (feature request [ 541908 ])
2002-04-24 07:52:07 +00:00
Christophe Bothamy
2f37ec16ea - added a DEBUG port for rombios (0x0403) and vgabios (0x0503)
- added a INFO port for rombios (0x0402). Kept the legacy INFO port at 0xfff0 for now
2002-04-24 07:39:47 +00:00
Christophe Bothamy
cd50268e2f - added a floppy_bootsig_check option to .bochsrc that will be used to enable/disable the 0xaa55 signature check ONLY for floppy-boot
- stored the boot signature check flag in cmos reg 0x38
- the rombios that is able to handle that flag will be uploaded later
2002-04-23 07:44:34 +00:00
Jeroen Janssen
b3e6bcb3a9 - reverting ##asm/##endasm patch for preprocessing with gcc3 2002-04-21 13:04:47 +00:00
instinc
9101155d31 patch to fix the behaviour of the stack_return_from_v86 function 2002-04-20 20:28:32 +00:00
Jeroen Janssen
cfa340ca76 - make sure the rombios can be preprocessed with latest gcc (from Mandrake 8.2) 2002-04-20 16:46:07 +00:00
instinc
9520492a7c fixed the comment associated with the master IMR initialization 2002-04-20 16:21:51 +00:00
Volker Ruppert
36cc51de38 - the changes are checked in now 2002-04-20 16:21:32 +00:00
instinc
976ea3f67f as per the 82c59a datasheet from intel, the irq mask is now cleared on initialization 2002-04-20 16:19:42 +00:00
Volker Ruppert
462871fd3a - Improvements for dimension_update() in text mode and text_update()
- The emulated vga card issues a dimension_update() using the real
    screen dimensions and the real font height.

  - The gui selects a font with the requested height or it recalculates
    the screen height if the font height is not available.

  - The text_update() function uses a new variable 'ncols' instead of the
    fixed value of 80 for the number of text columns.

  I have tested the changes with X11/Linux, SDL, wxGTK and win32. The changes
  in the other guis are not tested yet.
2002-04-20 07:19:35 +00:00
Volker Ruppert
54f1d3d2ab - patch for dimension_update() in text mode and text_update() 2002-04-19 22:44:15 +00:00
Volker Ruppert
189c1bbddc - text cursor disable feature added 2002-04-18 18:36:02 +00:00
Bryce Denney
6cc9369426 - netbsd patch for raw cdrom, from Christian <bloodjerk@gmx.net> 2002-04-18 18:17:45 +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
503a272fc1 - this has been in since March 7 2002-04-18 01:05:11 +00:00
Bryce Denney
baeb6f74b7 - this has been in the cvs for a while now with no loud complaints 2002-04-18 01:04:29 +00:00
Bryce Denney
ec0a0d115f - add HAVE_TUNTAP flag, so that configure can set it 2002-04-18 01:00:53 +00:00
Bryce Denney
4a35f70850 - add tuntap interface 2002-04-18 00:59:58 +00:00
Bryce Denney
2f69a74616 - commit TUN/TAP patch, though I can't really test it. I can verify that if
you don't have if_tun.h the configure script does not enable TUN/TAP.
2002-04-18 00:59:20 +00:00
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