Commit Graph

3358 Commits

Author SHA1 Message Date
Christophe Bothamy
acd7f00b11 - fix Makefile so it renames index.html to book1.html, if necessary.
Some stylesheets create an index.html file, others a book1.html file.
  Debian default creates index.html.
2003-01-21 23:07:29 +00:00
Christophe Bothamy
f0f3707fae - update "Using Bochs internal debugger" section :
* explain the format of the argument of the "sb" and "sba" command
  * remove Resource file extensions
2003-01-21 22:59:35 +00:00
Christophe Bothamy
8d30d44ae1 - backport typo found by Stanislav to patch file 2003-01-21 20:22:03 +00:00
Volker Ruppert
047699cc6a - VBE: update the variables for the old screen dimensions after redrawing 2003-01-21 17:39:47 +00:00
Christophe Bothamy
c4782d5e9c - apply patches/patch.disasm-luizshiguno from Luiz Henrique Shigunov.
From the author:

  I've implemented functions ALOb(), ObAL(), YbAL(),
  ALXb() and eAXXv() from dis_groups.cc.

  I've also changed dis_decode.cc to print cmpsd if code
  is 32 bits and cmpsw if code is 16 bits. The same with
  stosd, lodsd and scasd.
2003-01-21 13:23:47 +00:00
Christophe Bothamy
dc01227a03 - update patch so it apply cleanly. I will commit it to the cvs,
so we can easily revert it.
2003-01-21 13:21:17 +00:00
Christophe Bothamy
c6abf1d0d1 - fix old #if BX_SUPPORT_SYSENTEREXIT found by Stanislav. The sysenter/exit code was not called at all! 2003-01-20 21:30:00 +00:00
Christophe Bothamy
e90aeaef08 - autoconfed from configure.in rev1.197 2003-01-20 20:12:59 +00:00
Christophe Bothamy
939b558fdf - apply patch.sysenterexit-mrieker:
- adds sysenter/sysexit support for cpu-level>=6
  - enabled by ./configure --enable-sep
2003-01-20 20:10:31 +00:00
Christophe Bothamy
298903fbed - update patch so it apply cleanly 2003-01-20 19:56:03 +00:00
Christophe Bothamy
44502c00dc - compile rombios.c rev1.90 2003-01-18 19:23:14 +00:00
Christophe Bothamy
5e509b80c9 - add int15 function 86 support 2003-01-18 19:20:52 +00:00
Volker Ruppert
6ff44748da - font size hack in function dimension_update() removed. The X11 window now
appears with the right dimensions. Font sizes other than 16 are working now.
  The maximum font height in text mode is 32.
- the text mode cursor is now drawn with the right colors
2003-01-18 12:05:46 +00:00
Christophe Bothamy
8904c62b90 - add vga charmap change support 2003-01-17 18:16:02 +00:00
Christophe Bothamy
eb56579a71 - add patch.x11-charmap in case we want to revert it 2003-01-17 18:15:18 +00:00
Christophe Bothamy
ed57d3d45d - add changes requested by ams, sgdt and sidt in v8086 mode 2003-01-17 18:08:13 +00:00
Christophe Bothamy
febe279bba - fix link to http://www.winimage.com 2003-01-17 10:02:18 +00:00
Christophe Bothamy
d6301eb0cc - add some information about cd boot error codes 2003-01-16 21:41:00 +00:00
Christophe Bothamy
090fb80a35 - apply patch.x11-internal-vgafont
We don't need the vga.pcf font anymore.
  This will save some install troubles to many users.
2003-01-16 21:14:11 +00:00
Christophe Bothamy
758258c3da - add patch that remove the need for an external X11 vgafont 2003-01-16 17:13:31 +00:00
Christophe Bothamy
2bf8c6ab80 - update with latest current-cvs version. It fixes, at least the WinNT4 install bug 2003-01-15 17:44:57 +00:00
Christophe Bothamy
cfdcae68ca - compile rombios.c rev 1.89 2003-01-14 18:06:59 +00:00
Christophe Bothamy
152900c758 - move the extended key check in int09, now int15/4f is empty.
I did not see any bug, but maybe some code hooking int15/4f could be
  disoriented when receiving extented E0 scancode.
2003-01-14 18:03:31 +00:00
Christophe Bothamy
e42eee68e5 - add support for ElTorito Harddisk emulation. Darwin iso boots now.
The Harddisk emulation still needs some polish though.
2003-01-14 17:59:52 +00:00
Stanislav Shwartsman
d1edcde9ed Cleanup Peter's change in MOVNTI instruction 2003-01-14 14:58:56 +00:00
Peter Tattam
24d4a5003c patches to CPUID required to get latest x86-64 linux kernel (2.4.20) to run.
I believe this patch is ok, however it should be regression tested to make sure
nothing is broken.
2003-01-14 07:46:05 +00:00
Peter Tattam
6e359d62ed disable calling external debugger when jumping in & out of 64 bit mode. 2003-01-14 07:40:21 +00:00
Peter Tattam
b2622c5d04 Temporary tweak to reinstate a change that disappeared when sse2.cc was removed.
The 64 bit variant of MOVNTI was not decoded.  The proper fix for this is to work on
fetchdecode64.cc to call a 64 bit variant of SSE instructions or fail it with a
invalid op.  A careful check needs to be done with the AMD manuals to determine if
there are any other SSE instructions that have a special 64 bit decoding.
2003-01-14 06:50:01 +00:00
Christophe Bothamy
04888a1039 - fix [ 661010 ] cannot override ata-settings from cmdline 2003-01-13 17:55:12 +00:00
Christophe Bothamy
d007a8e93b - compile rombios.c rev 1.87 2003-01-13 12:55:59 +00:00
Christophe Bothamy
04809a2258 - fix NetBSD not booting from cdrom. AH was not set to 0 after a
successful read through int13/AH=2 when emulation floppy from cdrom.
2003-01-13 12:51:17 +00:00
Christophe Bothamy
712af448b4 - add a default #else case when include system specific includes and defining BX_CD_FRAMESIZE.
This should fix the compile problems on Irix and Tru64.
  I'd like to backport those changes to 2.0.2, when I'll be confirmed it works ok.
2003-01-12 15:04:52 +00:00
Volker Ruppert
61f1fcd679 - fixed the behaviour of the vga emulation after changing a palette entry
* removed the unnecessary screen resize code (caused lots of resizes when
    booting the DLX linux demo)
  * force a redraw of the screen in text mode
2003-01-11 21:41:20 +00:00
Volker Ruppert
2c93eb7600 - port 0x03c7 returns the DAC state (read = 11b, write = 00b)
- pel data register returns 0x3f if the DAC is not in read mode
2003-01-11 11:18:04 +00:00
Christophe Bothamy
d18476b4ae - apply [ 661590 ] Fix read_toc() method in *BSD. Patch from Keith Matthew Jones 2003-01-10 22:59:44 +00:00
Christophe Bothamy
cfd2c2f923 - add experimental PCI VGA card (patch from Mike Nordell)
Modified Files:
 	bochs.h plugin.h iodev/Makefile.in iodev/devices.cc
 	iodev/iodev.h
 Added Files:
 	iodev/pcivga.cc iodev/pcivga.h
2003-01-10 22:43:54 +00:00
Christophe Bothamy
e6ff0a8560 - add check for strrev and implementation if not found 2003-01-10 22:32:46 +00:00
Volker Ruppert
5840618ceb - function parse_line_unformatted(): stop parsing at the comment sign (#) 2003-01-10 20:33:12 +00:00
Kevin Lawton
87d648682e Code cleanup. Moved the interrupt redirection instrumentation
into the host-specific files and wrapped access to them
  with atomic operations since that's a structure global to
  all the VMs.  I think all the other globals are SMP clean
  since they are only written once during module init time,
  and read thereafter my all VMs.
Renamed all host OS specific functions to hostOS*().  All host
  independent functions to host*().
I'd like to rename all monitor space functions to mon*() next.
2003-01-10 04:27:51 +00:00
Christophe Bothamy
6d58bed135 - apply [ 665198 ] corrected vga.pcf to work on Solaris 2003-01-09 22:10:14 +00:00
Christophe Bothamy
31628c80b3 - remove outdated patch.
bablokb says in [ 664926 ]
please remove the patch patches/patch.bochs.sh. This
patch was developed for 1.4.x and does not work
anymore with 2.0.x.
It has been superseded by bxtstart in Bochs-Tools (see
http://www.bablokb.de/bochs-tools/).
2003-01-09 21:55:48 +00:00
Volker Ruppert
366188e67a - more accurate emulation of port 0x61 bit #4. This bit toggles with every
refresh request (15 usec). This fixes SF bug #644042.
2003-01-09 20:43:32 +00:00
Volker Ruppert
8f88ab3b1b - plugin name for register function fixed 2003-01-09 17:14:20 +00:00
Bryce Denney
bb261822ec - change it to say version 2.0 instead of 2.0.pre4. 2003-01-09 05:36:47 +00:00
Stanislav Shwartsman
513db033ab fixed compilation error and a logic bug together 2003-01-09 05:21:22 +00:00
Kevin Lawton
c15abe90f2 Updated host-null (a stubs-only compilation test) to reflect
a few new callout functions.
2003-01-09 04:49:04 +00:00
Kevin Lawton
387dcf520f Modified to comply with new way of mapping user space pages
into the plex86 kernel module and VM.  mmap() is not used
  any more.
2003-01-09 04:03:36 +00:00
Kevin Lawton
f45a747e59 Got rid of use of mmap() altogether. User space (bochs) allocates
all the memory it needs, and the plex86 kernel module uses
  get_user_pages() from the Linux kernel to get at them and
  pin the few that are needed statically (and later up to
  a watermark of pages that are needed dynamically).
Guest physical memory pages are now dynamically pinned/unpinned.
  For now, I use a hard limit of 4Megs of pinned pages and
  a really primitive algorithm to decide which one to unpin
  when the limit is reached and one needs to be bumped.  Seems
  to work.  Though I haven't run into the limit yet since I'm using
  just a small test program.
2003-01-09 04:02:31 +00:00
Jeroen Janssen
c518ebe945 added extra note about LGPL'ed VGABIOS 2003-01-08 21:37:00 +00:00
Stanislav Shwartsman
e6eacd984f Implemented MOVD 64bit extensions 2003-01-08 20:33:28 +00:00
Kevin Lawton
3fdba77f4e Fixes these files to comply with the new method of getting
and pinning user pages from the plex86 kernel module.  The
  guest physical memory array is no longer mmap()'d from kernel
  space where it used to be allocated.
2003-01-08 17:22:07 +00:00
Kevin Lawton
6b2c7ef341 Changed over from allocating the the guest physical memory area
in the plex86 module and mmap()'ing it into user space (bochs),
  to letting bochs malloc() it normally and using the
  Linux kernel facility get_user_pages() to get the associated
  physical pages and pin them in memory.  I only have code for
  Linux kernel 2.4.20 and up, as that's the first version to
  export the get_user_pages() symbol so modules can use it.
2003-01-08 17:20:01 +00:00
Christophe Bothamy
d22c0f0764 - remove read handler, on Volker advice 2003-01-07 08:17:15 +00:00
Volker Ruppert
954cdeb6e0 - FPU error register stub removed. It is now handled by a separate device 2003-01-06 18:18:21 +00:00
Bryce Denney
a926cdfd54 - there are no longer any *.htm files, but the installer was still
expecting to find something.  Remove references to *.htm.
2003-01-06 03:26:55 +00:00
Bryce Denney
d4cb5060af - this info is out of date. Better to say nothing than give misleading
information at the top of a README file.
2003-01-06 03:17:56 +00:00
Christophe Bothamy
7648bd0f11 - add cvs tags for 2.0s versions 2003-01-06 02:49:45 +00:00
Christophe Bothamy
eb47a8bf01 - add msdos compatibility FPU exception support (irq 13). The IGNNE pin is no handled yet.
Modified Files:
 	bochs.h config.h.in plugin.h fpu/wmFPUemu_glue.cc
 	iodev/Makefile.in iodev/devices.cc iodev/iodev.h
 Added Files:
 	iodev/extfpuirq.cc iodev/extfpuirq.h
2003-01-06 02:20:47 +00:00
Christophe Bothamy
8b6b4db7cc - This patch adds msdos compatibility FPU exception support. (irq 13). The IGNNE pin is no handled yet. 2003-01-06 02:17:24 +00:00
Christophe Bothamy
56eb9dfe7a - compile from rombios rev1.86 2003-01-06 02:03:57 +00:00
Christophe Bothamy
fd02f4ac05 - create two new asm functions to send eoi to the master pic and to both pics
- add int75_handler, for msdos compatbility fpu exception
  This handler calls int 2 (nmi). The NMI handler should really be aware
  of this and should iret in case of FPU exception (to be implemented)
2003-01-06 02:02:46 +00:00
Volker Ruppert
3c604136a5 - removed unnecessary BX_INFOs 2003-01-05 21:40:07 +00:00
Volker Ruppert
946bd288f8 - fixed the conversion from bcd to binary values in function update_timeval() 2003-01-05 19:43:09 +00:00
Christophe Bothamy
f5ae12bfe8 - Update the mode sense command, cdrom capabillities.
This enables readinf some kind of cdroms.
  (patch from Hartmut Birr, bug submitted by Ben Lunt)
2003-01-05 03:22:03 +00:00
Christophe Bothamy
b4ba046f62 - add patch for CPUID function 0x80000001 for x86-64 emulation 2003-01-05 02:16:38 +00:00
Christophe Bothamy
c6d3735a47 - fix compile warnings (patch from HJ) 2003-01-05 01:37:21 +00:00
Christophe Bothamy
5edbc1ca0a - fix typo 2003-01-05 00:59:52 +00:00
Christophe Bothamy
3c7920ff31 - update Changes with 2.0.1 Changelog 2003-01-04 23:08:53 +00:00
Stanislav Shwartsman
36a39707be Removed the patch because it already in CVS 2003-01-04 19:42:48 +00:00
Bryce Denney
abdf3ef751 - show something reasonable in the version string, instead of showing 2.0.pre4. 2003-01-04 19:22:47 +00:00
Volker Ruppert
9b57ad6ca8 - fixed segfault in log action dialogs - the new log type "pass" was missing 2003-01-04 11:47:00 +00:00
Kevin Lawton
90a0749716 Unified the routines to retrieve physical page addresses underlying
a region of virtual memory.  Now the same one works for getting
  the pages of the kernel driver and memory objects allocated via
  vmalloc().
Converted to using Linux interfaces to walk the page tables to
  get at the physical memory addresses above.  The old code was
  digging up this info starting with looking at CR3.  Linux has
  functions/macros to do this, which can handle 2/3-level cases.
Wrapped the page table walk with proper locks.  A spin lock
  for new Linuxes, a big kernel lock for old ones.
2003-01-04 01:21:18 +00:00
Volker Ruppert
aefd5c6441 - implementation of the date and time change support
- implementation of the UIP bit using a new timer handler. The one_second_timer()
  function only sets the UIP bit and starts the UIP timer. The uip_timer()
  function handles the date / time update, the alarm check and finally clears
  the UIP bit.
- writing to control register A doesn't change the UIP bit
2003-01-04 00:02:07 +00:00
Jeroen Janssen
9286ce7dd6 removed leftover vbe bios patch
(this was used when working on the lfb vbe and there was no 'updated' vgabios in the bios directory yet).
2003-01-03 21:03:56 +00:00
Kevin Lawton
d4a8cf56d6 Cleaned up host-linux.c.
Moved more logic into monitor-host, which is host neutral.
2003-01-03 20:02:54 +00:00
Volker Ruppert
9ca28db2ab - CMOS checksum must be generated after bx_init_plugins() (bug found with amidiag) 2003-01-03 11:43:24 +00:00
Christophe Bothamy
b514c71079 - apply patch [ 658950 ] Bug in FPU
Here are comments from the anonymous patch author :
  I found bug when using the FPU in 16 bit protected
  mode. When using the fsave command the 32bit
  structures were used instead of the 16bit ones.

  It now distinguishes between 16 and 32 bit protected mode
  which wasn't the case before.

  Now Ultima8 runs fine:)
2003-01-03 00:20:05 +00:00
Kevin Lawton
ae92b55818 More code cleanups. 2003-01-02 17:05:47 +00:00
Volker Ruppert
31a4a389a1 - dimension_update(): the toolbar window must be resized too (important for
SVGA and VBE graphics modes)
2003-01-02 09:49:48 +00:00
Kevin Lawton
28c0100e7d Some cleanup. 2003-01-02 02:11:40 +00:00
Kevin Lawton
077a40c248 Renamed file. 2003-01-02 02:10:44 +00:00
Kevin Lawton
523fe341f8 Mods to pass the guest CPUID info from bochs to plex86. 2003-01-02 01:09:50 +00:00
Christophe Bothamy
dae4e3133e - fix irc server name 2003-01-01 22:25:51 +00:00
Christophe Bothamy
fdcb7a000e - fix typo 2003-01-01 21:33:48 +00:00
Volker Ruppert
5e09a0a3f8 - in modeX use the screen width in pixels stored in the CRT controller.
The pixels are horizontally doubled now.
2003-01-01 21:21:29 +00:00
Kevin Lawton
ac964e019a These files constitute the interface between bochs and the plex86
kernel driver.  I'll upload the minor mods for bochs to use
  this interface after we pull out of the 2.0 release mode.
2003-01-01 17:34:09 +00:00
Kevin Lawton
0768d01522 Added plex86 directory to bochs. This directory contains the
new experimental stripped-down version of plex86, which is now
  a user-code-only VM.  I ripped out all the fancy stuff in plex86,
  such that under that right conditions, user-code (protection level 3)
  can run at near native speeds inside the plex86 VM.
The general idea is that bochs emulates all the initial real-mode code,
  and guest kernel code (protection level 0).  When it senses the
  right conditions (like the context switches to user-code), a shim
  is called to execute the guest inside the plex86 VM.  All guest-generated
  faults/exceptions are then forwarded back to bochs to be handled in
  the emulator.
Actually, I'm not yet adding the mods to the bochs code (other than
  the shim code which is in a separate file), until I hear that we're
  back in a more development mode with bochs after the 2.0 release.
The plex86 subdirectory is really a separate project.  It's just more
  convenient to co-develop it with bochs for now.  Both projects are
  currently LGPL, but each should be taken to be a separate project,
  and have their own license file.  Plex86 (it's only a kernel driver
  now) could ultimately be used with other projects, as it's modular.
  I talked with Bryce, and we both agreed it's OK to keep plex86 as
  a subdir in bochs for now.
2003-01-01 17:32:06 +00:00
Volker Ruppert
1cfe6c248a - function determine_screen_dimensions() prepared for SVGA mode 0x6A (800x600x4) 2002-12-31 16:58:02 +00:00
Stanislav Shwartsman
633d0b59fb clean up of error messages 2002-12-30 18:51:09 +00:00
Stanislav Shwartsman
7dcd9ab8ec * implemented MOVLHS/MOVHPS/MOVHLPS/MOVLHPS opcodes
* another reorganization of SSE code
2002-12-30 18:10:10 +00:00
Christophe Bothamy
afc06f0296 - implement atapi command 0xA8 read (12) 2002-12-30 17:12:16 +00:00
Volker Ruppert
96c03a93ca - only enabled ATA channels with a cdrom connected are available in the "Edit"
menu at runtime
2002-12-30 17:04:43 +00:00
Volker Ruppert
b78b65b845 - new application icon for the X11 gui using 'icon_bochs.xpm' 2002-12-30 13:17:39 +00:00
Stanislav Shwartsman
7e41d08620 Fixed problem with shift imm instructions 2002-12-30 08:03:34 +00:00
Stanislav Shwartsman
e1d5cddc6d Fixed a problem with zero-count shift in following instructions:
PSRAW_PqQq    (MMX)
PSRAD_PqQq    (MMX)
PSRAW_PqIb    (MMX)
PSRAD_PqIb    (MMX)

PSRAW_VdqWdq  (SSE)
PSRAD_VdqWdq  (SSE)
PSRAW_PdqIb   (SSE)
PSRAD_PdqIb   (SSE)

When register was shifted by 0 bits the result produced was incorrect.

Now Bochs fully passes MMX test provided by
Hentai Yagi [hentai_yagi@yahoo.com.au] !
2002-12-29 21:14:25 +00:00
Stanislav Shwartsman
f594989f5b Removed the patches because thay are already in the CVS 2002-12-29 18:57:34 +00:00
Volker Ruppert
4078aba5f0 - replaced window register call RegisterClassEx() by RegisterClass(). This fixes
the icon problem on Win2000. RegisterClassEx() would be required if we want
  to specify a special mini icon.
- the win32 gui now uses the new function/macro DEV_vga_actl_pal_idx() to
  determine the text mode colors.
2002-12-29 18:39:21 +00:00
Stanislav Shwartsman
ef279cefc1 This patch fixes the failure on Win2000 related
to Bochs new icon problem.
2002-12-29 18:13:52 +00:00
Stanislav Shwartsman
8909ce442c Fixed problem in PSRLD_PqIb instruction 2002-12-28 20:18:56 +00:00
Stanislav Shwartsman
6ccd2fb7fa Fixed bug in following MMX instructions:
void BX_CPU_C::PUNPCKLBW_PqQd(bxInstruction_c *i)
void BX_CPU_C::PUNPCKLWD_PqQd(bxInstruction_c *i)
void BX_CPU_C::PUNPCKLDQ_PqQd(bxInstruction_c *i)

Thanks to Hentai Yagi [hentai_yagi@yahoo.com.au]
that provided nessesary test application.
2002-12-28 19:06:29 +00:00
Volker Ruppert
51c9c6c83a - bugfix for the textmode colors: the color value is not an index to the DAC
palette - it's an index to the attribute controller palette index.
  The new function get_actl_palette_idx() now returns the real DAC index.
  The guis sdl, wx and x11 are using the new function. TODO: Fix this bug in
  all other guis.
2002-12-28 11:49:17 +00:00
Volker Ruppert
c92385620c - updated guest section for GNU/Hurd (SF patch #658370)
- vga font section: improved note for the xset command
- renamed guest sections to "guest-*" (e.g. "guest-win95")
2002-12-27 12:44:39 +00:00
Volker Ruppert
a9007a6b63 - gcc 3.2 warnings fixed ("trigraph ??- ignored") 2002-12-27 10:20:53 +00:00
Volker Ruppert
2155da04ce - the current paste operation now stops on hardware reset 2002-12-26 22:19:44 +00:00
Stanislav Shwartsman
9c5c40e8ce Fixed BX_INSTR_OPCODE call when instruction was found in the ICache 2002-12-26 20:22:35 +00:00
Volker Ruppert
ef8a7b1dc6 - new application icon for the win32 gui using 'bochs.ico' 2002-12-26 18:24:41 +00:00
Volker Ruppert
475a3e7fb6 - reg_ld_str.c: fixed an integer load bug found by 'amidiag'
- poly.h: fixed gcc 3.2 warnings
2002-12-26 14:47:02 +00:00
Volker Ruppert
9f8e541a4f - new application icon for wxMSW using 'bochs.ico'
- new application icon for wxGTK using new icon 'icon_bochs.xpm' (converted from 'bochs.ico')
2002-12-25 17:13:45 +00:00
Christophe Bothamy
2398f0f215 - fix [ 651158 ] rombios does not build with make -j2
don't let each rombios compile overwrite temporary file of another
2002-12-25 12:25:55 +00:00
Volker Ruppert
0f2add7f50 - URL of plex86 updated
- FAQ - sound question: added FreeBSD to the list of supported platforms
- list of configure shortcut files updated
- compiling footnote: file locations updated
- replaced reference to sound.html (old docs) by a reference to the
  "sb16-emulation" section
- compiling instructions for BeOS updated
- keyboard mapping: supported guis added
2002-12-25 10:08:24 +00:00
Volker Ruppert
7f35a5287b - exclude CVS subdirectories and *.dbk files when creating bochsdoc.tar.gz 2002-12-25 10:07:42 +00:00
Stanislav Shwartsman
b08f208b9f Fixed compilation error 2002-12-24 20:59:55 +00:00
Stanislav Shwartsman
6acff47112 Implemented the following SSE instructions (sse_move.cc):
MOVSS_VssWss
MOVSS_WssVss
MOVSD_VsdWsd
MOVSD_WsdVsd
MOVMSKPS_GdVRps
MOVMSKPD_EdVRpd
MOVQ_VqWq
MOVQ_WqVq
SHUFPS_VpsWpsIb
SHUFPD_VpdWpdIb
2002-12-24 20:19:35 +00:00
Bryce Denney
8613eee5e2 - add known bugs list for 2.0, which will become a changes list for 2.0.1. 2002-12-24 15:58:38 +00:00
Bryce Denney
26a6d3350c - "make clean" cleans only the top directory. So why did we have
rm */*.o in here?
2002-12-24 15:01:12 +00:00
Volker Ruppert
8b4d0fd629 - added check for symbol FreeBSD (makes the soundlnx.* files work on FreeBSD) 2002-12-24 10:12:26 +00:00
Christophe Bothamy
2ed89620af - fix bug reported many times on irc and on the ml. The "pass" log was
mistakenly written as "debug" when the configuration file was saved.
2002-12-24 09:14:54 +00:00
Christophe Bothamy
4be6048bb4 - add comment about multi-bytes IO accesses 2002-12-24 08:20:13 +00:00
Bryce Denney
0534c6531c - the preprocessor symbol BX_USE_REALTIME_PIT is obsolete. Greg has
already made the realtime PIT option into a bochsrc option.
2002-12-24 04:03:15 +00:00
Volker Ruppert
01953c9caa - added id="name" to all chapters and sections. Now all generated html files
have real names instead of c*.html or x*.html.
2002-12-23 22:15:31 +00:00
Christophe Bothamy
2b396ed2da - fix [ 657404 ] realtime_pit bug in 2.0 config. 2002-12-23 10:30:13 +00:00
Kevin Lawton
d136a8f43e * Fixed the line which compares the current fetchMode against
the current code page's mode.  It was &'ing against fetchModeMask:

  ((pageWriteStamp & fetchModeMask) == fetchModeMask)

  instead of against a constant mask which populates all the
  relevant bits:

  ((pageWriteStamp & ICacheFetchModeMask) == fetchModeMask)

* Moved the check above to ::prefetch(), since nothing should change
  between calls to that function.  I added some code to functions
  which load CS to make sure that is the case.

* Commented out several calls to invalidate_prefetch_q() in
  ctrl_xfer{16,32,64}.cc.  Changes to only EIP (i.e. CS is not
  modified) don't matter any more.  If EIP lands outside the
  window of the current code page, ::prefetch() is called.

* These changes add a few percent of performance.
2002-12-23 02:51:17 +00:00
Stanislav Shwartsman
4b59ecbc62 Implemented SSE/SSE2 duplicate opcodes in more intellegent way ... 2002-12-22 21:48:23 +00:00
Stanislav Shwartsman
29ab05b4da Removed duplicate SSE opcodes 2002-12-22 20:48:45 +00:00
Stanislav Shwartsman
e73df72525 implementation of additional SSE/SSE2 instructions 2002-12-22 20:42:56 +00:00
Stanislav Shwartsman
1cd38bb7dd Recommitted SSE code reorganization.
Fix in FXSAVE/FXRESTOR opcodes -> If the OSFXSR bitCR4 is not set, the FXRSTOR instruction does not restore the states of the XMM and MXCSR registers.
2002-12-22 20:13:00 +00:00
Bryce Denney
90d711e5d1 - add missing break stmts, pointed out by Shai Fultheim 2002-12-22 15:15:56 +00:00
Bryce Denney
0a2012202f - x86-64 status changed after Peter sent me the changelog entry. v2.0
has been able to run a 64-bit user application, "sash".
2002-12-22 15:02:00 +00:00
Bryce Denney
98ec281e28 - don't install DOC-win32.html. it's out of date and I don't have time
to fix it.
2002-12-21 19:23:08 +00:00
Bryce Denney
792b8283aa - misc updates, e.g. mention that Kevin has been helping out with Bochs again 2002-12-21 19:18:56 +00:00
Bryce Denney
e790d65e8f - document $BXSHARE and $LTDL_LIBRARY_PATH 2002-12-21 18:58:28 +00:00
Bryce Denney
a6f24a6587 - add missing --enable-* and --with-* for 2.0
- move configure options section right after Standard Compile.  It
  was buried at the end of the section and hard to find before.
- fix section issue for sb16
- fix typo in pit description
2002-12-21 18:37:40 +00:00
Christophe Bothamy
306da8a074 - add time0 and i440fxsupport .bochsrc option description 2002-12-21 17:37:35 +00:00
Christophe Bothamy
a5fad9e5cb - add time0 and i440fssupport .bochsrc option description
- fix formatting problem on keyboard_serial_delay and keyboard_paste_delay
- move examples of pit: realtime on top of the section
2002-12-21 17:36:43 +00:00
Bryce Denney
91b95cafaf - change pit syntax to "pit: realtime=1" 2002-12-21 17:27:42 +00:00
Bryce Denney
adf5b443ba - add PIT section 2002-12-21 17:20:27 +00:00
Christophe Bothamy
3c295cd01e - added Bryce's description of the realtime pit 2002-12-21 17:17:29 +00:00
Bryce Denney
7e1603fabd - mention the PIT option in .bochsrc
- note: I'm about to change main.cc to match this syntax
2002-12-21 17:10:08 +00:00
Bryce Denney
505dc8325e - mention beos resource fix 2002-12-21 16:37:15 +00:00
Bryce Denney
8bdffcbe46 - apply patch from Peter Tattam. x86-64 requires SSE2 or it fails without
any indiciation of what went wrong.
2002-12-21 16:36:07 +00:00
Bryce Denney
675335904c - rewrite header to describe what's in this file.
- marked one thing as done
- remove the remnants of the v1.4 readme
2002-12-21 16:23:52 +00:00
Bryce Denney
cfba32103e - update 2002-12-21 16:13:11 +00:00
Bryce Denney
a090c04e57 - add first names to first reference of each developer
- fix some FIXMEs
- move documentation section to the top
- move wxWindows after config interface and display library sections
- remove the massive list of SF bugs,features,etc. since they have
  (mostly) been covered above
- erase to-do list since it's done
2002-12-21 15:54:39 +00:00
Bryce Denney
bc72fcefa9 - BeBochs.rsrc cannot be checked into CVS directly because that damages
its resources.  So now we will distribute a .zip file which will only
  be unzipped on the target BeOS machine.
2002-12-21 15:51:41 +00:00
Bryce Denney
6d3d96e182 - replace link to changelog in docs-html with a link to the anonymous
CVS browser on source forge.  This will display the most recent version
  of the CHANGELOG file.
2002-12-21 15:12:12 +00:00
Bryce Denney
3414fbb792 - minor tweaks 2002-12-21 14:42:37 +00:00
Bryce Denney
e3548a3708 - fix a broken configure subst variable @EXE@ 2002-12-21 14:41:49 +00:00
Bryce Denney
9780ad2ad8 - correct BeBochs.rc path 2002-12-21 14:32:10 +00:00
Bryce Denney
8bacd82133 - add BeOS target which builds the binary and then runs "copyattr"
to copy the resources into the binary
2002-12-21 14:31:30 +00:00
Bryce Denney
c64cd2f39a -Wno-multichar is already added by the configure script for beos, so
take it back out of this file (added in previous rev)
2002-12-21 14:28:24 +00:00
Bryce Denney
a5b68f934f - suggested changes from Bernd Korz 2002-12-21 14:18:49 +00:00
Bryce Denney
c245a51c46 - add BeOS resources file from Bernd Korz 2002-12-21 14:16:30 +00:00
Christophe Bothamy
ef605f6e84 - add gui changes 2002-12-20 20:23:16 +00:00
Volker Ruppert
42b4833e64 - FAQ (network question): fixed a typo
- list of files in RPM package: LGPL'd VGABIOS added, location of manpages updated
2002-12-20 15:17:27 +00:00
Stanislav Shwartsman
f2f976d736 Add BX_INSTR_FETCH_DECODE_COMPLETED call even if an instruction hitten in ICache 2002-12-20 13:36:50 +00:00
Stanislav Shwartsman
4906ffef7c Clean Peter's commit with MOVNTDQ instruction implementation 2002-12-20 09:11:39 +00:00
Peter Tattam
c173034663 Patches to round off the x86-64 emulation to get the Linux x86-64 kernel and
sash to run.

1) fixed fetchdecode64.cc to fix the operand size at 64 bits in long mode for moves
   to/from CRx

2) minor patches to sse2.cc to fix unimplemented and 64 bit variants of sse2
instructions.
2002-12-20 07:11:29 +00:00
Christophe Bothamy
18bceefb93 - complete the io devices changes 2002-12-19 22:40:32 +00:00
Christophe Bothamy
923e637cda - add changes io devices ne2k to pic 2002-12-19 21:32:35 +00:00
Bryce Denney
c44472d27e - add missing comma between "PANIC" and "PASS" 2002-12-19 06:05:18 +00:00
Bryce Denney
9b2914fd1d - Temporarily revert Stanislav's changes between 2002-12-18 and 2002-12-19.
Because source files were added/removed it would require an update
  of the windows and macos project files, so I want to wait until after 2.0.
    M Makefile.in         1.51 back to 1.50
    M cpu.h               1.121 back to 1.120
    M fetchdecode.cc      1.37 back to 1.36
    M fetchdecode64.cc    1.33 back to 1.32
    M sse.cc              1.17 back to 1.16
    A sse2.cc             1.27 back to 1.26  (added back)
    R sse_move.cc         removed
    R sse_pfp.cc          removed
- to bring these changes back again, all we have to do is
  "cvs update -j tmp-before1 -j tmp-after1"
2002-12-19 05:53:18 +00:00
Bryce Denney
61c768015e - remove "unset echo" at the end. That's the command that actually
returned 1.  Now the configure is the last command so the script
  should return whatever configure returns.
2002-12-19 03:13:15 +00:00
Bryce Denney
ed46802335 - exit 0 at the end. With /bin/sh it seems to be returning a nonzero
code and causing my make-dmg script to think that configure failed.
2002-12-19 03:12:03 +00:00
Bryce Denney
d1b711164a - make install for MacOSX should not produce a disk image too. Now
disk image creation is handled by build/macosx/make-dmg.sh.
2002-12-19 03:02:37 +00:00
Bryce Denney
cce63e2f8d - shell script to make a Bochs DMG using diskimage.pl. To use it
go to the top of the source tree and run "build/macosx/make-dmg.sh"
2002-12-19 03:01:44 +00:00
Bryce Denney
9477f991c4 - add a little summary at the top 2002-12-19 01:33:24 +00:00
Christophe Bothamy
0f6bf51f00 - add changes for io device floppy to keyboard 2002-12-19 01:01:25 +00:00
Stanislav Shwartsman
aa361badf2 Reorganized SSE/SSE2 code
sse.cc -> general SSE stuff and SSE integer (MMX extensions)
sse_move.cc -> memory transfer and shuffle opcodes
sse_pfp.cc -> packed floating point operations
2002-12-18 22:33:44 +00:00
Christophe Bothamy
15cf6acddc - update so debugger can compile (missing fileno function) 2002-12-18 19:00:24 +00:00
Christophe Bothamy
47569f5ee1 - set version to 2.0 2002-12-18 18:59:22 +00:00
Christophe Bothamy
469c07b2f4 - rename project file with better name 2002-12-18 18:57:06 +00:00
Christophe Bothamy
2f790dacbe - commit new CW Pro 3 project 2002-12-18 18:56:34 +00:00
Bryce Denney
612a37f7a7 - remove --with-sdl and --enable-plugins. The carbon display lib will
be detected automatically.
2002-12-18 05:09:26 +00:00
Bryce Denney
b6db9b843d - copy the bochs.scpt into dlxlinux. With Br'fin's script changes,
you can double-click the bochs.scpt in dlxlinux and it will start Bochs.
2002-12-18 05:07:33 +00:00
Bryce Denney
559def9729 Check in patch from Br'fin. Ok, after a little bit of work I managed to get
the script to behave.  It checks the current directory and the directory one up
for bochs.app.  If both those checks fails then it just outright asks the user
for what bochs to run. (And notes the path so it won't ask again unless it
doesn't find things where they last were)

Modified Files:
  bochs.applescript script_compiled.rsrc
2002-12-18 05:02:22 +00:00
Bryce Denney
59090e4179 - finish scanning through logs of cpu 2002-12-17 23:43:42 +00:00
Christophe Bothamy
4391571b3a - add iodev changes from biosdev to dma 2002-12-17 23:18:56 +00:00
Bryce Denney
54e2ae22e9 - finish up with main directory, mark it done
- add notes about dlcompat on macosx, libtool ltdl, DLL building on win32
- add x86-64 notes from Peter Tattam
- add PSE,PGE,PAE in cu section
- specify some of those carbon improvements based on reading logs
- update to-do list
2002-12-17 22:41:52 +00:00
Christophe Bothamy
451dc51c06 - add documentation changes
- add description of bug [ 625878 ] in CPU section
2002-12-17 22:31:47 +00:00
Christophe Bothamy
d368e2e825 - add Volker as author 2002-12-17 22:20:48 +00:00
Bryce Denney
3f3e9e5aea - just leave a blank for the version number. I'm never going to remember to
update this form every time.
2002-12-17 21:31:03 +00:00
Bryce Denney
653ba5e9e6 - finish with main.cc and Makefile.in
- add description of speed optimizations that Kevin sent me
2002-12-17 21:11:22 +00:00
Bryce Denney
a221d26323 - Br'fin has written this Carbon patch to make the default $BXSHARE
value be the application's directory, no matter where it gets
  installed.  This is consistent with installing the bioses and
  keymaps/* into the same directory as bochs.app.
2002-12-17 20:58:18 +00:00
Bryce Denney
14831ed5fb - finish going through Makefile.in 2002-12-17 20:09:44 +00:00
Bryce Denney
4f3fde4214 - finish going through debug/* logs
- finish going through configure.in logs
- update to-do list
2002-12-17 16:08:10 +00:00
Bryce Denney
7a57f79f55 - add to-do list, and volunteer for a few 2002-12-17 14:39:13 +00:00
Bryce Denney
688e8fca2a - merge the rest of Volker's changes 2002-12-17 14:35:12 +00:00
Bryce Denney
6a44ca37ed Patch name: patch.carbon-startup
Authors: Br'fin, Bryce

- for MacOSX/Carbon, if you start the app by double clicking in the finder,
  there is no text console.  So in logfunctions::fatal(), display the
  final message in a Carbon dialog instead of using fprintf.
- in the text-mode config interface, return an error code if the
  user tries to use the text menus when there's no text console.
  Back in bxmain() this error code causes a panic
  "Bochs needed the text console, but it was not usable"
- if a config file was not found, normally we turn off quick start
  and drop into the text menus.  However in the no-console case the
  text menus won't work, so we added a panic: Unable to start Bochs
  without a bochsrc.txt and without a text console.  This is a much
  more useful error than the generic one above.
- removed ensure_text_console() which was making matters worse instead
  of better.

Modified Files:
  logio.cc main.cc gui/siminterface.cc gui/siminterface.h gui/textconfig.cc
2002-12-17 05:58:45 +00:00
Gregory Alexander
2e2a3085ad Added realtime PIT to changelog. 2002-12-17 05:24:47 +00:00
Gregory Alexander
78d0f43b94 Added mask support to snapshot code.
This makes it more versatile.
2002-12-17 05:17:41 +00:00
Gregory Alexander
d90c6636ff Added support for a PASS log level. This probably
isn't complete, but it hopefully will do the job.
2002-12-17 03:36:53 +00:00
Bryce Denney
c4a3d3bac3 - mention that on MacOSX, you should use the pathname "drive" to access
the physical CDROM
2002-12-17 01:36:11 +00:00
Bryce Denney
5459beea0f - add more about plugins, bochsrc, wxWindows
- merge in contents of an email from Volker
2002-12-16 20:10:58 +00:00
Christophe Bothamy
ecd19f340c - add BIOS changes for v2.0 release 2002-12-16 16:07:38 +00:00
Bryce Denney
b1aa312082 - add a text-formatted list of bugs, features, and patches that have
been closed since 1.4.1.  This massive list is not going to stay in
  here forever--it's just to help us remember, summarize, and cross
  reference as we write the changelog.  Note that some have been
  closed but not resolved--we can't just assume that every single thing
  has been marked "Fixed".
2002-12-16 09:08:02 +00:00
Bryce Denney
e88936e70e - add a sort of framework for rel2.0 changes to fit into 2002-12-16 08:49:37 +00:00
Bryce Denney
6b21b27e60 - BX_EXIT(exitcode) is called in several places, but the exitcode has been
completely ignored and Bochs has always been returning 0.  Now Bochs should
  exit with the proper exit code.
- implementation: BX_EXIT(exitcode) calls SIM->quit_sim(exitcode).
  quit_sim stores the exit code in the SIM object, then uses longjmp
  to unwind the stack and return to main().  main() calls
  SIM->get_exit_code() to retrieve the exit code and returns it.
- If you are wondering why we don't just call exit(exitcode), it is
  because in the wxWindows interface all of the CPU simulation runs as one
  thread while the user interface runs as another thread.  With the longjmp
  technique the simulation thread ends cleanly and it is possible to
  start a new simulation thread without making a new process.
2002-12-16 06:43:02 +00:00
Bryce Denney
3d4c99fa84 - use test -e to test for existence of a file or directory. -a worked
in bash but not in zsh.
2002-12-16 05:46:49 +00:00
Gregory Alexander
b522c1dcf3 Enhanced support for text snapshot checking.
Now CR/LF creation is suppressed in win32 when text
snapshot checking is on.  This allows for creation of
generic text snapshots in win32.
2002-12-16 02:49:55 +00:00
Bryce Denney
121d7dd10f - add notes about win32 release building hacks 2002-12-15 18:00:28 +00:00
Bryce Denney
690f85efca - I'm building releases with the plugins configuration these days. 2002-12-15 17:40:14 +00:00
Bryce Denney
d2dcd25ca4 - if BX_SHARE_PATH not defined by a makefile, define it to NULL. This
makes it unnecessary to make get_builtin_variable() conditional on
  existence of BX_SHARE_PATH.  This fixes bug [654123]: $BXSHARE not working
  on win32.
2002-12-15 17:11:13 +00:00
Bryce Denney
868ef3c848 - docs were not installed into the proper directories. Now they are. 2002-12-15 16:57:44 +00:00
Bryce Denney
71f36e4576 - I was afraid that people would see the directory called documentation
and miss index.html.  Then they would only find the documentation about
  the documentation--not so helpful.  Therefore, on win32 package install
  documentation into
  - docs/index.html
  - docs/user/*
  - docs/development/*
  - docs/documentation/*
2002-12-15 16:31:02 +00:00
Bryce Denney
29081fc951 - now instead of docs-html/*, the rendered docbook docs are in
index.html, user/*, development/*, and documentation/*
2002-12-15 16:26:57 +00:00
Bryce Denney
eee5f0a3e9 - due to multiple complaints of "register_timer: too many registered timers"
I have increased it to 64.
2002-12-15 16:00:41 +00:00
Bryce Denney
a2285bd46a - don't forget to copy images 2002-12-15 15:30:01 +00:00
Bryce Denney
c4759d739e - move dlxlinux-in-linux.gif from user into images 2002-12-15 15:26:58 +00:00
Christophe Bothamy
d3ea3dcf4d - remove error when mkdir tries to create an existing directory 2002-12-15 13:14:27 +00:00
Bryce Denney
006d21b626 - use updated DLX linux. I only updated DLX's bochsrc to make it more modern. 2002-12-14 22:43:56 +00:00
Bryce Denney
8b0a593ed4 - rename BXBIOS to BXSHARE. The problem with BXBIOS is that it needed to
be used for more things than just the BIOS.  Also the keymaps need to
  be located relative to the share path, and maybe other things like
  graphics and icons, later.
2002-12-14 22:18:00 +00:00
Bryce Denney
dc204f58c8 - update date for pre4 release 2002-12-14 21:26:44 +00:00
Bryce Denney
05f350c61b - build bochsdoc.tar.gz in a separate make target. upload the whole tar.gz
with scp and then log in and gunzip it on the shell server.  This speeds
  up "make webinst" quite a bit.
- add "make dl_docs" which downloads a bochsdoc.tar.gz from the web site.
  This will be used to grab the rendered documentation for platforms that
  do not have docbook tools.  (Most don't.)
- stop installing "README" because depending on where you put it, it can
  overwrite the main README.
2002-12-14 21:24:55 +00:00
Bryce Denney
7e4ac4fc56 - add shortcut for downloading rendered docs from the website, for platforms
that have no docbook tools.
2002-12-14 21:17:25 +00:00
Bryce Denney
aa9bfe263c - increase MAX_LOGFNS. They run out in some SMP configurations. 2002-12-14 08:51:36 +00:00
Bryce Denney
9a204569b7 - patch from Zwane on December 9. He writes:
> It's safe to deliver ExtINT as Fixed in our setup and just leave a comment
  > there instead of the panic.
2002-12-14 08:48:20 +00:00
Bryce Denney
9a5ca5d129 - add code to print TSC of every cpu. disabled by default. 2002-12-14 08:11:14 +00:00
Bryce Denney
1c1cfc8e7c - check in Zwane's latest patch 2002-12-14 06:28:42 +00:00
Bryce Denney
03939e07de - create $(docdir) if necessary 2002-12-14 04:53:27 +00:00
Bryce Denney
436d0119ce - make install should no longer copy docs-html. It needs to copy the
docbook files instead.
2002-12-13 22:50:39 +00:00
Bryce Denney
9821369a9f - grammar correction 2002-12-13 22:49:08 +00:00
Bryce Denney
92d3c94ac6 - build a tar.gz with all the docs inside. This will be needed on
platforms that don't have docbook tools.
2002-12-13 22:41:24 +00:00
Bryce Denney
943586ad61 - bump up version number for 2.0.pre4...hopefully the last prerelease 2002-12-13 22:25:52 +00:00
Bryce Denney
3af7afb12e *** empty log message *** 2002-12-13 22:23:05 +00:00
Bryce Denney
8e512e5d4f - on MacOSX if you enable plugins, configure now checks to be sure that
you have dlcompat installed.  Without dlcompat, the configure/build works
  fine but the plugins cannot be loaded.  This new test prints a meaningful
  error message before you waste any time trying to build it and figure
  out why the plugins cannot be dlopened.
2002-12-13 22:02:05 +00:00
Bryce Denney
610116cf45 - if we're going to build docbook files, do it during make rather than
make install
2002-12-13 20:37:38 +00:00
Bryce Denney
799dba6ac6 - fix stupid SGML end tag 2002-12-13 20:08:55 +00:00
Bryce Denney
30b8b855c5 - fix the credits. People who have written significant amounts are listed as
authors.  If someone has contributed a section, we would give them credit in
  that section.  If they write enough sections, we can take out the
  section-by-section credits and list them as an author.
2002-12-13 20:06:07 +00:00
Bryce Denney
e79111c09a - fix "make webinst" on VPATH build too 2002-12-13 19:59:08 +00:00
Bryce Denney
f0633bb3ca - fix doc url 2002-12-13 19:47:40 +00:00
Bryce Denney
227b565d91 - fix URL of documentation
- put off one more task until later
2002-12-13 19:44:26 +00:00
Bryce Denney
dc3b64107b - docs have moved; point to new location 2002-12-13 19:42:04 +00:00
Bryce Denney
158dabcb43 - make it work in VPATH build 2002-12-13 19:26:11 +00:00
Bryce Denney
60b4599d8f - dist-clean should also clean 2002-12-13 19:17:22 +00:00
Bryce Denney
c5775cf076 - change "TCR write, reserved bits set" into an error instead of a panic.
This is happening in the debian image, but does not seem to affect
  operation of the NE2k at all.
2002-12-13 18:27:07 +00:00
Bryce Denney
4f4e6a2fa8 - add configure option --enable-docbook. If it is turned on, then during
make install it will build the docbook documentation and install it
  into $(prefix)/share/doc/bochs.  If it is not specified, then it will
  be enabled only if the program "docbook2html" is found in your path.
- this completes [ 652957 ] install docbook docs instead of HTML

Modified Files:
  Makefile.in configure configure.in doc/docbook/Makefile.in
2002-12-13 17:52:16 +00:00
Bryce Denney
16360cea0c - remove old option "--enable-control-panel". This has been replaced
by "--enable-config-interface".
2002-12-13 17:39:03 +00:00
Bryce Denney
aff85d788b - alldocs.html has been renamed to index.html 2002-12-13 17:23:00 +00:00
Bryce Denney
f50e07e431 - add prefix and docdir, so that they are substituted by configure
- only rebuild docbook stuff when the source is newer
- add install target
- allow $SFUSER environment variable to define the sf username, instead of
  hardcoding the user->sfuser translations in the makefile.
- now alldocs is called index.html
- add dist-clean target
2002-12-13 17:20:27 +00:00
Bryce Denney
7334ce47d0 - add win3.1 install hints from Ben Lunt 2002-12-13 17:16:10 +00:00
Bryce Denney
36a61e04df - fix make dist-clean in docbook dir 2002-12-13 17:13:20 +00:00
Bryce Denney
8f0307539f - clean docbook directory too 2002-12-13 17:12:46 +00:00
Bryce Denney
323d14c017 *** empty log message *** 2002-12-13 17:10:10 +00:00
Bryce Denney
c37d54d704 - rename alldocs.html to index.html. This is what most people would expect
to be the starting point of the documentation to be called.

Added: index.html
Removed: alldocs.html
2002-12-13 17:07:01 +00:00
Christophe Bothamy
c837f9961e - compile reombios.c revision 1.85 2002-12-13 16:32:31 +00:00
Christophe Bothamy
b64fb6aba6 - refix [ 642031 ] FATAL: Keyboard RESET error:993
With Bryce we identified that this code will successfully
  flush the keyboard input buffer as long as ips <= 15000000.
2002-12-13 16:26:17 +00:00
Bryce Denney
f548660ca6 - see bug [ 652957 ] install docbook docs instead of HTML
- now configure script does substitutions in doc/docbook/Makefile.in
- add "make install_docbook" target in main makefile that runs make install
  in doc/docbook.  It will not be run unless you ask for it.

Modified Files:
  configure.in Makefile.in configure doc/docbook/Makefile.in
2002-12-13 16:21:04 +00:00
Bryce Denney
6de38f8415 - this text is getting pasted into README on every type of install, not
just linux, so I removed the content-free text.
2002-12-13 16:08:50 +00:00
Bryce Denney
4203be207a - rename Makefile to Makefile.in. For earlier revision history, look at
cvs logs for Makefile instead.

Added Files:
  Makefile.in
Removed Files:
  Makefile
2002-12-13 16:02:00 +00:00
Bryce Denney
d4ddc7a332 - changed my mind... With #ifdef macintosh there is the danger of messing
things up for MacOSX, and I don't want to risk that right now just before
  the release.  I changed it to #if BX_WITH_MACOS to be safe.
  (Bochs makefiles currently define -Dmacintosh on OSX.  Maybe they
  shouldn't but I'm not going to change it right now.)
2002-12-13 15:28:55 +00:00
Bryce Denney
a56b30d175 - #ifdef BX_WITH_MACOS is always true, even if BX_WITH_MACOS is defined to
be zero.  I changed it to #ifdef macintosh.
- removed extern "C" {} that only encompassed two #defines.  If there
  were any includes in there it would be important, but there weren't.
2002-12-13 14:42:11 +00:00
Bryce Denney
2333ac7100 - add missing export lines for CPPFLAGS and LDFLAGS 2002-12-13 00:12:29 +00:00
Bryce Denney
287b880a02 - add include and lib paths for dlcompat (/sw/*) 2002-12-13 00:04:09 +00:00
Bryce Denney
51c0eca68a - now "make dist-clean" no longer removes the compiled BIOSes. This
is important because many people don't have the tools to rebuild them.
  They will only be removed if you type "make bios-clean", which people
  are unlikely to do by accident.
2002-12-12 23:55:34 +00:00
Bryce Denney
038d4ff447 - add plugins and SDL for release binaries 2002-12-12 22:51:05 +00:00
Bryce Denney
2483ed0f47 - check in changes that allow me to run on the compile farm (OSX 10.1)
- I had to hack around the disk image size measurement and force it to use
  a 20meg disk image.  Otherwise it would run out of space while copying
  the files into the image.  I don't know why this was necessary.
2002-12-12 22:45:07 +00:00
Volker Ruppert
58b375d730 - This patch is no longer needed 2002-12-12 19:44:49 +00:00
Volker Ruppert
e0d63bdf75 - don't use libtool when compiling with Cygwin (fixes linking failure with SDL
and without plugins on Cygwin)
2002-12-12 19:43:40 +00:00
Bryce Denney
8de8ca24b9 - when changing the physical cdrom at runtime, Bochs would eject, insert,
eject, insert, eject, etc. several extra times before allowing you to
  actually change the CD.  The extra insert/eject cycles were coming from the
  param handlers for cdrom status and for the cdrom pathname.  To fix this, I
  changed wxdialog.cc and textconfig.cc to only call set() on parameters if
  they are different from the original value.  Now it generally does what you
  would expect.
- to change physical CD: change the Bochs CD status to "ejected". On some OSes
  that will actually eject it, but on others it will simply close the file so
  that the eject button will actually work.  Then put the new CD into the
  drive, and change the Bochs CD status to "inserted".

Modified Files:
  main.cc gui/siminterface.cc gui/siminterface.h
  gui/textconfig.cc gui/wxdialog.cc
2002-12-12 18:31:20 +00:00
Bryce Denney
d296fa5bd5 - add debug message to notice when the set_cd_media_status method is called 2002-12-12 18:30:03 +00:00
Bryce Denney
c1acbaea3a - avoid showing an empty dialog if there is no cdrom 2002-12-12 16:52:21 +00:00
Bryce Denney
6da847c3fb - fix cdrom toolbar button for wxWindows. Now it brings up the dialog for
the first cdrom.  Implemented by MyFrame::editFirstCdrom().
- eliminate OnOtherEvent and call OnEditATA directly from the event table.

Modified Files:
  gui/wxmain.cc gui/wxmain.h
2002-12-12 16:31:41 +00:00
Christophe Bothamy
ef689073fd - commit new CW Pro 3 project 2002-12-12 15:31:19 +00:00
Christophe Bothamy
16ebfdb9e1 - update for macos compile 2002-12-12 15:29:45 +00:00
Christophe Bothamy
90ea64ad9e - update to have macos compile.
- define default option for macos compile
2002-12-12 13:27:47 +00:00
Christophe Bothamy
ff89875ffd - remove unused (seems to be) typedef 2002-12-12 13:26:29 +00:00
Christophe Bothamy
1e6afce6cd - remove outdated macos resources file, a light one will be recreated in macos build directory 2002-12-12 11:32:36 +00:00
Christophe Bothamy
6f45543452 - regen from configure.in revison 1.183 2002-12-12 11:10:08 +00:00
Christophe Bothamy
53b83ef277 - begin porting changes for macos compile 2002-12-12 11:07:13 +00:00
Gregory Alexander
ffc8c18fcd Fix incorrect retrieval of text_snapshot_check option. 2002-12-12 06:51:19 +00:00
Gregory Alexander
44e58663bc Working on a testing framework for bochs.
Added an option to do a BX_PANIC when the display
matches a previously recorded text snapshot.
2002-12-12 06:21:43 +00:00
Gregory Alexander
32340d66cc make_text_snapshot returns a length value.
We now use that instead of calling strlen.
2002-12-12 03:41:51 +00:00
Bryce Denney
496fcb2212 - be a little more careful with thread checks in ToggleMouse to fix
bug [ 652358 ] wx: middle button before sim freezes
2002-12-11 22:55:18 +00:00
Bryce Denney
9e0aa82ec9 - make a new dialog Edit:Speed, which includes the IPS setting and
the enable for realtime pit.
- clean up some warnings in MyPanel::OnEdit

Modified Files:
  gui/wx.cc gui/wxmain.cc gui/wxmain.h
2002-12-11 22:35:46 +00:00
Bryce Denney
54a0b5836d - get rid of --enable-realtime-pit configure option since it's now
enabled in bochsrc instead
2002-12-11 21:38:37 +00:00
Bryce Denney
088f2acaa6 - UK keymap contributed by Denis Lenihan 2002-12-11 21:35:50 +00:00
Bryce Denney
05d2f7962c - this patch causes configure for cygwin to omit libtool from the link
line.  This should fix SDL non-plugin compile in cygwin.
2002-12-11 19:46:56 +00:00
Bryce Denney
b53d3732b8 - apply patch 650066: use standard lib directory, from Robert Millan.
Change plugdir to have no version numbers.
2002-12-11 19:21:53 +00:00
Bryce Denney
1812808d82 - get rid of bochs-docs which didn't work anyway
- move DOC-linux.html into the docbook in a section called "Quick Start for
  Linux Users", and removed all references to the DOC-linux file that I could
  find.  Most of the text has been moved into the Linux RPM section.  Parts
  that did not fit into the docbook are now in doc/docbook/misc.txt.
- put vga.pcf into INSTALL_LIST_X11 so that it's only installed when
  you configure with --with-x11.
- transfer section on VGA font installation from docs-html into user guide
- remove RCS id from screen shots within user guide, since they are changed
  to the revision info of user.dbk.

Modified Files:
  Makefile.in configure configure.in build/linux/.cvsignore
  build/redhat/bochs.rpmspec.template doc/docbook/misc.txt
  doc/docbook/user/user.dbk doc/man/bochs-dlx.1 doc/man/bochs.1
  doc/man/bochsrc.5 doc/man/bximage.1 docs-html/install.html
Removed Files:
  build/linux/DOC-linux.html.in build/linux/bochs-docs.in
2002-12-11 19:16:20 +00:00
Bryce Denney
090efa9ae4 - correct the FAQ entry about network card support
- simplify list of applications so it doesn't take up the whole page
2002-12-11 16:44:49 +00:00
Bryce Denney
45ce7e1bc2 - clarify panic 2002-12-11 15:45:10 +00:00
Bryce Denney
e1e9a289a0 - apply patch from Alex Thiel from a December 8 email that fixes my
panic problem: "floppy:timer(): unknown case e6".
2002-12-11 15:41:24 +00:00
Christophe Bothamy
e94c6c7d5a - fix [ 648579 ] Mac OSX >>PANIC<< FPU_printall
. correct the signbyte macro for big endian systems
  . group all the endian specific stuff of fpû_emu.h in one place
2002-12-11 12:54:19 +00:00
Christophe Bothamy
7dc434d872 - fix MAKE_REG definition on big endian systems, according to fpu__reg structure.
This hopefully fixes [ 648579 ] Mac OSX >>PANIC<< FPU_printall,
  I will need to check on a real big endian system.
2002-12-10 22:40:16 +00:00
Volker Ruppert
d61b85202a - bugfixes in function redraw_area():
* missing VBE support added, use xmax / ymax variables instead of the
    values 640 / 480
  * use the constant Y_TILESIZE when checking the y position
  * variable vga_mem_updated was always set twice
2002-12-10 20:09:25 +00:00
Christophe Bothamy
830313ecfe - remove patch as it's included in main code 2002-12-09 21:05:40 +00:00
Volker Ruppert
d8e5c558e3 - descriptions of the bochs options updated 2002-12-09 17:38:45 +00:00
Christophe Bothamy
b267f23915 - update "Using serial port" section 2002-12-09 17:37:38 +00:00
Bryce Denney
1d65a45575 - recompile bioses for rombios.c 1.84 2002-12-09 13:24:48 +00:00
Bryce Denney
3c450d5262 - apply 8CPU bios patch from Zwane Mwaikambo, who writes:
> This simplifies things for operating systems which don't do
  > paranoia/sanity checks. This BIOS image has been tested on Linux-2.4.19
2002-12-09 13:23:05 +00:00
Volker Ruppert
a2a7e5ea16 - added description for the option "keyboard_paste_delay" 2002-12-08 20:17:11 +00:00
Bryce Denney
94d9071c1e - update section on VC++ builds.
- it used to list the options that were enabled in .conf.win32-vcpp, but I
  removed it.  It was out of date, and it's unlikely to stay in sync
  with the file even if I fix it now.
2002-12-08 17:49:43 +00:00
Bryce Denney
144acf6a12 - physical floppy apparantly works on WinXP too 2002-12-08 17:23:39 +00:00
Bryce Denney
74cc67753a - in the wxWindows debugger, truncate the text in the debug console when it
reaches a certain maximum length.  Otherwise the debug console grows and
  grows and never frees any memory.  The max length is defined as a constant
  in wxdialog.h.  The max length should be made into a variable some day.
- This fixes bug [ 624317 ] wx: debug console never discards lines.

Modified Files:
  gui/wxdialog.h gui/wxdialog.cc
2002-12-08 09:16:18 +00:00
Gregory Alexander
5130d479d6 change incorrect %lld terms to %llu. 2002-12-08 04:48:52 +00:00
Christophe Bothamy
14bf964a04 - changed serial port feature comment
- add tip section about serial port (no content yet)
- add tip section on how to enter special key combination
- add diclaimer in Windows NT 4.0 section
- add comment about installing and running Windows NT 4.0
- add comment about installing Windows XP
2002-12-07 23:58:41 +00:00
Gregory Alexander
66e7558498 Cleaned up the realtime PIT code for win32.
This seeems to work on my laptop, but the processor
isn't fast enough to run anything substantial, so I'm
not certain how well it works.
2002-12-07 20:01:10 +00:00
Gregory Alexander
a9cf965597 Fixing up realtime PIT for use with win32.
Still need to do some cleanup that I was putting off.
2002-12-07 19:51:42 +00:00
Bryce Denney
16ebed0b1e - since Christophe added the four-ata patch, it is possible to boot from
the first hard drive or first cdrom drive no matter where they are found.
  Now the wxWindows interface recognizes this fact.  It allows you to
  select HD boot if there is a hard drive in any ATA location, and
  select CDROM boot if there is a cdrom in any ATA location.
- this fixes bug [ 616139 ] wx: boot hd/cd must be in ata0 interface

Modified Files:
  gui/siminterface.cc gui/siminterface.h gui/wxmain.cc
2002-12-07 19:43:53 +00:00
Gregory Alexander
c4ad196af1 Still working on realtime PIT in win32.
This version is a bit of a hack that needs to be cleaned up before release.

There is also a glaring bug that lets things go WAY too fast when
we're trying to catch up to real time.  This is my highest priority
right now.
2002-12-07 19:17:01 +00:00