Commit Graph

1729 Commits

Author SHA1 Message Date
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
Timothy R.Butler eae3cd842d Added info on Bochs 1.4.1 2002-06-23 23:58:57 +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