Commit Graph

2999 Commits

Author SHA1 Message Date
Stanislav Shwartsman
b200ff2058 Implemented several integer SSE2 instructions (similar to the MMX):
PACKSSWB_VdqWq
PCMPGTB_VdqWq
PCMPGTW_VdqWq
PCMPGTD_VdqWdq
PACKUSWB_VdqWdq
PCMPEQB_VdqWdq
PCMPEQW_VdqWdq
PCMPEQD_VdqWdq
PADDQ_VdqWdq
PSUBUSB_VdqWdq
PSUBUSW_VdqWdq
PAND_VdqWdq
PANDN_VdqWdq
PAVGB_VdqWdq
PAVGW_VdqWdq
POR_VdqWdq
PXOR_VdqWdq
PSUBB_VdqWdq
PSUBW_VdqWdq
PSUBD_VdqWdq
PSUBQ_VdqWdq
PADDB_VdqWdq
PADDW_VdqWdq
PADDD_VdqWdq
PADDQ_VdqWdq
2002-11-07 22:41:34 +00:00
Christophe Bothamy
92f04bdd0b - fix "if ((addr < 0xB0000) | (addr > 0xB7FFF)) return;" bug, thanks to Kazuo Fox Dohzono 2002-11-07 22:02:13 +00:00
Christophe Bothamy
48200d4936 - compile rombios.c r1.78 2002-11-07 21:58:19 +00:00
Christophe Bothamy
5d7b0701df - clean up in and out keyboard buffer before self test 2002-11-07 21:57:27 +00:00
Jonathan S. Shapiro
5d46a86614 Patched the make-rpm script to work when rpmbuild exists.
I am somewhat unhappy about the fact that this patch relies (at the
top) on finding rpmbuild in /usr/bin/. A better patch would search the
user's path properly, or perhaps be generated via configure to know
the correct rpmbuild path.
2002-11-07 16:00:14 +00:00
Jonathan S. Shapiro
7b394f037e Change disassembly printout to print the *physical* as well as the
logical address when performing disassembly. When you know the physical
address, the pbreak command spontaneously becomes much more useful.
2002-11-07 15:58:05 +00:00
Jonathan S. Shapiro
eb21a1ef5c Kevin looked at the push_64() change and thinks its reasonable, so I'm
switching the BX_PANIC to a BX_INFO.
2002-11-07 15:42:14 +00:00
Jonathan S. Shapiro
1893bf78e1 Disassembly now picks up the current 16/32 bit mode from CS register
by default.

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

I have *not* done the physical address display changes -- plan to do
that separately.
2002-11-07 15:32:38 +00:00
Jonathan S. Shapiro
0aac231adb Changed push_32() and push_64() to issue SS(0) for a push outside of
stack limits. This is needed for EROS, and probably for L4, as both
rely on this SS fault (and the corresponding GP fault) to trigger the
switch from small address spaces to large address spaces. The
push_16() code was already correct, and I find the inconsistency a bit
odd.

I'm not 100% sure about the push_64() change, so I made the change
with a comment but left it a BX_PANIC() rather than switching it to
BX_INFO. I'll ask Peter momentarily to have a look and let me know.

While I was added, changed the push_16() BX_INFO message to be
consistent with the others -- all now say 'push outside stack limits'.
2002-11-07 14:02:47 +00:00
Christophe Bothamy
b5b78258bf - remove extrneaous CDROM feature entry
- add tuntap configuration section
- add debug with gdb stub section
- convert The Hurd install doc from Bruno Bonfils
- add Install japanese Win95 section
2002-11-05 22:11:57 +00:00
Bryce Denney
2492b63694 - minor fixes and updates in chapter 1 2002-11-05 18:11:04 +00:00
Bryce Denney
fb601bbbc5 - merge David's changes from 1.52 back in, leaving Christophe's changes alone 2002-11-05 17:46:39 +00:00
Bryce Denney
6aa9c11e00 - revert back to 1.51 since David accidently removed Christophe's changes 2002-11-05 17:45:05 +00:00
David Guarneri
8d6772798d Added section "Install Windows 95 From Floppies" taken from old documents written by Kevin. Plan to add section "Install Windows 95 with CD-ROM" in the near future. 2002-11-05 08:19:36 +00:00
Christophe Bothamy
b8fc42d6a7 - compile rombios.s r1.77 2002-11-04 23:57:53 +00:00
Christophe Bothamy
70b7d13763 - remove patch.keyboard-biosinit-asulmicki
- add new keyboard init code from Adam Sulmicki
- changed last cli() to #asm cli #endasm
- remove unused cli() function
- don't panic on shutdown status 0x09. just do the normal post
2002-11-04 23:56:56 +00:00
Volker Ruppert
f375a0743b - the value of the command register must be always 0x00 (BX_ERROR fixed) 2002-11-04 17:29:12 +00:00
Peter Tattam
4addb73d99 External debugger patches.
Formatting problem in printf()
2002-11-04 05:38:12 +00:00
Peter Tattam
1bb5040031 Miscellaneous patches for Tattam's External Debugger.
- Now compiles for plain ia-32
- Fixed some printf formatting for ia32 only.
- Update to latest Win32 DLL
- Added an ICEBP (Undoc 0xF8, INT 01) facility.
- updated to use latest VGA refresh routine
2002-11-04 05:27:26 +00:00
Christophe Bothamy
d9c8cb51f5 - move Win LE install tips from misc.txt fo user.dbk
- Features :
  - add enhanced bios
  - add Multiple ATA channels
  - fix harddrive and cdrom
  - add info about keyoard mapping
  - add link to tuntap config
  - add PCI
  - add Copy and Paste
- add reference to openprojects.net IRC channel
- bochsrc :
  - add optromimage[1-4] paragraph
  - add example of LGPL vgabios
  - add ata[0-3] paragraph
  - add ataX-[master|slave] paragraph
  - change boot: options
  - add logprefix: paragraph
  - complete ne2k paragraph
  - add user_shortcut: paragraph
- Tips and techniques
  - convert internal debugger doc from html
  - add Bios Tips section (to be completed)
- expand guest os chapter
  - add WinME info from misc.txt
  - add titles of other doc to be included
2002-11-03 23:24:42 +00:00
Christophe Bothamy
b201195a06 - change BIOS name
- add optromimage[1-4] paragraph
- add LGPL vgabios example
- fix typos
- add explanation about bios translation
- change boot: syntax
- add logprefix: paragraph
- fix ips table
- add ne2k: paragraph
- add floppy_bootsig_check:: paragraph
- add user_shortcut: paragraph
2002-11-03 23:08:16 +00:00
David Guarneri
cd30dc8e29 Made some corrections; separated "Will Bochs Work for Me" into two sections:
* Is Bochs Right For Me?
and
* Will Bochs Work For Me?
This provided a better transition between "Who Uses Bochs?" and "Will Bochs Work For Me?"
2002-11-03 20:05:02 +00:00
Volker Ruppert
2deef745e6 - added new DEV_* macros for PCI functions in plugin.h
- memory code: direct PCI memtype function calls replaced by DEV_* macros
- PCI devices: direct i/o register function calls replaced by DEV_* macros
2002-11-03 17:17:11 +00:00
David Guarneri
22e5070d1a Ran a spell check on user.dbk
Changed "License" to "Bochs License"
Added "Third Party License" section, taken from old docs.
Authored "Will it Work for Me?" section according to instructions in user.dbk comments.
2002-11-03 08:38:33 +00:00
Volker Ruppert
f73ddd4298 - libdir (usr/lib) disabled for now. We can enable it when plugins are enabled
by default.
2002-11-03 08:29:47 +00:00
Volker Ruppert
c5c535da28 - updated description of "user_shortcut" 2002-11-03 08:29:03 +00:00
David Guarneri
d357ef0ba5 Added "BOCHS Rocks!!!" to the end of the misc.txt file. 2002-11-02 16:51:18 +00:00
David Guarneri
83d970dbe9 *** empty log message *** 2002-11-02 16:48:32 +00:00
Bryce Denney
3d09154007 - testing 2002-11-02 16:45:00 +00:00
Volker Ruppert
706ed98f39 - changed mandir to /usr/share/man according to FHS
- added libdir (usr/lib) to the list of files
2002-11-02 16:09:36 +00:00
Stanislav Shwartsman
0e60aa8232 We will need integer saturation functions also in SSE2 instructions 2002-11-02 12:35:33 +00:00
Stanislav Shwartsman
22d292d83f Detalized XMM register definition for BIG/LITTLE endian systems 2002-11-02 12:09:27 +00:00
Bryce Denney
0c734d9a4d - commit patch [ 629157 ] MacOSX Carbon Plugin Cleanup
by Jeremy Parsons <brefin@mac.com>
- modified: configure.in configure Makefile.in main.cc
2002-11-01 17:53:52 +00:00
Bryce Denney
428b686df6 - commit patch [ 630863 ] Fix and integrate MacOSX cdrom
by Jeremy Parsons <brefin@mac.com>
  http://sourceforge.net/tracker/index.php?func=detail&aid=630863&group_id=12580&atid=312580
- modified: iodev/cdrom.cc configure.in configure
- removed: iodev/cdrom_osx.cc
2002-11-01 16:36:27 +00:00
Bryce Denney
8ab3a76bbf - remove tabs 2002-11-01 16:30:53 +00:00
Bryce Denney
1533c6df2c - remove tabs 2002-11-01 15:28:41 +00:00
Bryce Denney
6663c6e806 - fix segfault in "info linux" command0 2002-11-01 15:22:20 +00:00
Bryce Denney
c6d6b17c9a - fix wxWindows on win32, which was broken when we added plugin support.
- add a new global struct bx_startup_flags which stores argc,argv and
  when necessary, the WinMain arguments hInstance, hPrevInstance, etc.
  The new struct is defined in gui/siminterface.h because it is needed in
  both the main.cc code and in wxmain.cc and textconfig.cc (which don't
  include bochs.h).
- rename main() to bxmain() and create new main() and WinMain().
  main() and WinMain() just fill in the bx_startup_flags and then
  call bxmain().  Only one is defined at a time, of course.
- so far, WinMain is ONLY used when compiling with wxWindows on win32.
  It may be useful in other contexts as well, but I don't want to enable
  it in any other situation without some serious testing of different
  configurations.
- modified:
    main.cc gui/siminterface.cc gui/siminterface.h
	gui/textconfig.cc gui/wxmain.cc
2002-11-01 15:19:48 +00:00
Bryce Denney
692ee03065 - add "--export-all-symbols" to the dlltool line that produces bochs.def.
I believe that if we had correct BOCHSAPI macros on everything then it
  would not be necessary, and on my cygwin box it isn't necessary.  However
  it seems that on other versions of cygwin it is necessary.  The trouble with
  --export-all-symbols is that it's making bochs.exp much bigger so the binary
  grows by 900k, compared to exporting only the symbols that are marked.  If
  someone with that "other" version of cygwin can figure out where BOCHSAPI is
  needed, this can be removed.
2002-11-01 13:44:43 +00:00
Bryce Denney
9dfbfdde8f - patch from Hartmut Birr to adjust win32 search path order. 2002-11-01 13:21:12 +00:00
Bryce Denney
c0573cfe0a - add win32 specific print code, so that we can see the exact error that
Windows produces.  This is SOMETIMES more useful than just saying
  "can't open".
2002-11-01 13:02:15 +00:00
Gregory Alexander
2b1feccd4e Typecasts help compile with VisualAge. 2002-10-30 23:58:03 +00:00
Gregory Alexander
33fb7c544f Moved things around and cleaned up the options a bit. 2002-10-30 23:54:29 +00:00
Christophe Bothamy
a15a0c5e80 This patch adds VGA write mode 2 support and includes various speed improvements posted by the author on the ml.
Please see patch content for detailed description of the changes.
2002-10-30 23:54:15 +00:00
Christophe Bothamy
a01e80c8d7 This patch adds real-bios-like keyboard init code.
However, it does not work, due to inaccuracies in Bochs
  keyboard model.
2002-10-30 22:44:28 +00:00
Christophe Bothamy
55fa06db79 - fix type of the counter used when waiting for signals in ata_reset. It may be > 0xff 2002-10-30 22:42:42 +00:00
Christophe Bothamy
ae220149ea - add wait states during disks reset, so the BIOS can reliably detect them.
patch from Adam Sulmicki.
2002-10-30 21:47:11 +00:00
Gregory Alexander
5bc28d6dfa Add a minimum IPS value at compile time.
This is used for calculating the minimum speed for the realtime PIT and for flagging errors with user IPS values.
2002-10-30 18:30:29 +00:00
Peter Tattam
ac49ea2418 Patch to fix DOS based packet drivers that use an odd count for the NE2000
DMA.  Should print error message but allow to continue.  (bochs log will
show DMA underrun for the last byte transferred).
2002-10-30 11:11:26 +00:00
Gregory Alexander
fc61a0522a Added support for run-time configuration of realtime PIT. 2002-10-29 22:26:32 +00:00