Commit Graph

4575 Commits

Author SHA1 Message Date
Kevin Lawton
831afe7c40 Removed unused instruction (function) prototypes which were generated as
a result of the initial implementation of AMD64 support.  These appear
  to have been cut-n-paste vestiges.
2005-03-25 21:33:47 +00:00
Volker Ruppert
dae15d95c0 - updated version number and changelog for 2.2.pre2 release 2005-03-25 09:36:23 +00:00
Volker Ruppert
a7c7b21601 - updates from SF documentation request #1170382 by Alexander Schuch
* updated more SB16 information
  * updated CVS (checkout) server name
  * added tip to use Cirrus in Windows 95 for high resolutions
  * some more minor changes
- some additions to the changes above
- updated section "Installing a Japanese version of Windows 95"
2005-03-25 08:50:34 +00:00
Volker Ruppert
90cae090c2 - missing initialization of the BM-DMA base address added 2005-03-24 19:19:19 +00:00
Volker Ruppert
b438da759a - save/redirect the first 3 palette values while using the entries for the RGB mask
in 16 bpp modes
2005-03-23 20:46:52 +00:00
Kevin Lawton
e6cb602231 Moved macros for duplicate SSE/SSE2 functions from fetchdecode.h to
cpu.h, and defined function prototypes for the case where bochs
  is compiled with a new #define (called StandAloneDecoder) is set.
  This allows for the decoder to be tested separately from bochs.
2005-03-23 01:45:16 +00:00
Volker Ruppert
447a88986a - print the type of Cirrus card active after init
- read/write access to unknown CRTC, sequencer or GFX controller registers now
  causes a BX_DEBUG message
- replaced not portable variable 'unsigned long' by portable ones
2005-03-22 22:20:26 +00:00
Kevin Lawton
4e03c4448c Added some comment tags so that a script can pull out relevant parts
of the decoder to test it in standalone mode.  A few lines in cpu.h
  were re-arranged to make this easy, but no real lines of code were
  changed or generated.
Changed a few PANICs to INFOs after testing corresponding cases.
2005-03-22 18:19:55 +00:00
Volker Ruppert
5f1f5dd29d - updated description of the sb16 configure option
- added notes about Cirrus SVGA usage
- updated PCI and USB descriptions
2005-03-22 18:12:52 +00:00
Volker Ruppert
bf7c13e480 - use autodetection version of the SB16 configure option
- the variable CONFIGURE_ARGS can now override all options in the shortcut script
2005-03-22 16:44:24 +00:00
Volker Ruppert
a2945b42ec - detect possible conflicts when running configure (SF bug #1162983):
* SSE/SSE2 need CPU level 6
  * external debuggger supported on win32 only
  * docbook2html needed for building Docbook documentation
- missing result value for 3DNow! support added
- OSX sound support is used for MacOS 9, too
2005-03-21 19:17:00 +00:00
Stanislav Shwartsman
3e7c8e8871 .conf.everything should be platform independent 2005-03-21 19:14:40 +00:00
Stanislav Shwartsman
e01789b276 Add CVS header for FPU files 2005-03-20 21:19:38 +00:00
Stanislav Shwartsman
c3fd89eceb More accurate fix for cpu_online_map ellimination 2005-03-20 18:33:02 +00:00
Stanislav Shwartsman
1e37312c14 Remove code duplication 2005-03-20 18:08:46 +00:00
Stanislav Shwartsman
3570f5f629 Reverting back RETF instruction changes made by Kevin Lawton 2005-03-20 18:01:01 +00:00
Volker Ruppert
bab931d56d - updated win32 installer for NSIS 2.03 (Modern UI)
- uninstaller icon added
2005-03-20 14:29:23 +00:00
Volker Ruppert
1018486845 - added sb16 lowlevel support autodetection (old-style syntax still supported)
- updated Bochs version number / strings
2005-03-20 09:29:31 +00:00
Stanislav Shwartsman
3074078297 Added CVS version header to all the files.
One more small change in APIC
2005-03-19 20:44:01 +00:00
Stanislav Shwartsman
f77ddd9701 Remove cpu_onlline_map varaible, it wasn't initialized properly and might cause APIC problems 2005-03-19 18:43:00 +00:00
Volker Ruppert
7d9eba3d12 - fixed checks for protected mode 2005-03-19 16:38:44 +00:00
Volker Ruppert
6144d8118a - text mode update code no longer depends on the memory mapping (fixes SF bug
#1159639)
- size of text snapshot space increased to 128 kByte (for all memory mappings)
- immediately return after the panic when the number of text lines is too large
  to avoid segfault
2005-03-18 14:52:29 +00:00
Stanislav Shwartsman
e6e9dd3825 Extend Bochs instrumentation
Compatability fixes
2005-03-17 20:50:57 +00:00
Volker Ruppert
4ee7865930 - BX_GDBSTUB and BX_SUPPORT_X86_64 are always defined in config.h 2005-03-16 16:36:31 +00:00
Volker Ruppert
844e928e7f - added version, publisher and URL to the uninstall information 2005-03-15 19:18:08 +00:00
Stanislav Shwartsman
6e53a54907 Extend cpu_mode for :
#define BX_MODE_IA32_REAL       0x0   // CR0.PE=0
#define BX_MODE_IA32_PROTECTED  0x1   // CR0.PE=1, EFLAGS.VM=0
#define BX_MODE_IA32_V8086      0x2   // CR0.PE=1, EFLAGS.VM=1
#define BX_MODE_LONG_COMPAT     0x3   // EFER.LMA = 0, EFER.LME = 1
#define BX_MODE_LONG_64         0x4   // EFER.LMA = 1, EFER.LME = 1
2005-03-15 19:00:04 +00:00
Volker Ruppert
a6fbe10307 - changed .cc extensions to .cpp 2005-03-14 21:43:46 +00:00
Volker Ruppert
bb1eb205a8 - fixed keyboard command "get scancode set" (SF patch #1159626) 2005-03-14 20:43:45 +00:00
Stanislav Shwartsman
189e55885d put VME initial code in BX_SUPPORT_VME ifdefs 2005-03-13 20:18:37 +00:00
Stanislav Shwartsman
e3bd4e2b34 Update recent closed byg reports
Remove redundant debug prints in VERR instruction emulation
2005-03-13 18:20:26 +00:00
Volker Ruppert
3a38b0e4a8 - updated version number for 2.2.pre1 release 2005-03-13 08:37:25 +00:00
Volker Ruppert
fd8346bf9a - updated description and packager email address 2005-03-13 08:28:55 +00:00
Volker Ruppert
4a7bcec95f - removed directory "debug" / added directory "bx_debug" (wxworkspace still untested) 2005-03-12 22:13:50 +00:00
Volker Ruppert
e4adc99ddc - disabled modification of CC and CXX variables (doesn't work in cygwin) 2005-03-12 22:02:31 +00:00
Stanislav Shwartsman
fd13784231 Small cleanup in access.cc
VME feature code should be valid only for CPU LEVEL >= 4
2005-03-12 19:34:18 +00:00
Stanislav Shwartsman
6a36385743 Add more comments for loading segment register in real mode 2005-03-12 18:38:56 +00:00
Stanislav Shwartsman
5a393d2399 Fix for PANIC
1162042 Duke Nukem 3D: >>PANIC<< iret: VM set on stack, CPL!=0
according to Intel and AMD docs the behaviour wasn't correct
2005-03-12 18:09:32 +00:00
Stanislav Shwartsman
2a5a5c2de5 Fixed compilation error for 486 CPU
small fixes for IRET instructionm
2005-03-12 16:40:14 +00:00
Volker Ruppert
75bf07a22a - updated .conf.* shortcut scripts for the most popular platforms using this setup:
* Pentium III with all optimizations enabled
  * PCI support (without USB) enabled
  * both Bochs VBE and Cirrus SVGA enabled
2005-03-12 16:34:49 +00:00
Volker Ruppert
c3d6cc8f4d - patch updated for current CVS and remarks added 2005-03-12 15:33:20 +00:00
Volker Ruppert
3c475e831f - prepared non-DMA mode implementation
- improved lseek() panic message and immediatly return if lseek() fails
2005-03-11 21:12:54 +00:00
Stanislav Shwartsman
2bb2f5ea60 Update closed bug reports in CHANGES 2005-03-10 21:52:37 +00:00
Stanislav Shwartsman
714b9c9d22 Added ICACHE statistics 2005-03-10 21:22:15 +00:00
Volker Ruppert
4682628f17 - changes updated 2005-03-09 22:07:02 +00:00
Stanislav Shwartsman
24fa5935c1 Getting little bit closer to VME feature 2005-03-09 22:01:13 +00:00
Volker Ruppert
a91c27c855 - updates from SF documentation request #1160026 by Alexander Schuch
* added more instructions on how to get VBE working
  * Knoppix usage guide
  * miscellaneous small changes
2005-03-09 21:59:33 +00:00
Volker Ruppert
4b645a58a5 - enable vga extension "vbe" by default if present. Cirrus support must be
enabled with the vga extension option
2005-03-08 21:37:00 +00:00
Volker Ruppert
002853978c - LGPL'd VGABIOS updated to version 0.5a (including Cirrus support) 2005-03-07 21:53:39 +00:00
Stanislav Shwartsman
de527e2dde Do not allow to allocate more than 2048Mb of emulated memory.
Anyway in most of systems it fails to allocated even 1024Mb and allocating more than 4096Mb causes overlap and unpredicted behaviour.
2005-03-06 21:23:38 +00:00
Volker Ruppert
9ddf44f35a - use 'install' instead of 'cp' during installation (based on SF patch #1152808
by Avi Kivity)
- added TODO to list of files to install
- uninstall target now removes plugins, too
2005-03-05 21:02:59 +00:00
Stanislav Shwartsman
031cd64827 More code review - changing BX_PANIC to BX_ERROR where implentation matches Intel docs. Also solved two cases when TS exception generated instead of GPF 2005-03-04 21:03:22 +00:00
Stanislav Shwartsman
c30e89289b Fixed R/O pages access in CPL=3 (TLB accessBits bug) 2005-03-03 20:24:52 +00:00
Stanislav Shwartsman
709b218c10 Reduce metaInfo initialization in fetchDecode 2005-03-01 21:44:01 +00:00
Stanislav Shwartsman
23e2895f8e Fixed interrupt function for
286 int/trap gate, in vm8086 mode
2005-03-01 20:55:25 +00:00
Stanislav Shwartsman
dafc5fd193 Fix extdb.cc compilation error 2005-03-01 17:49:34 +00:00
Volker Ruppert
0b1497d13e - fixed broken screen updating in VBE mode (SF patch #1153511)
- fixed 8-bit DAC support in the VBE update code
- simplified redraw code in vbe_write()
2005-02-28 21:23:34 +00:00
Stanislav Shwartsman
b25088bf2f Merge patch [1153327] ignore segment bases in x86-64 by Avi Kivity 2005-02-28 18:56:05 +00:00
Stanislav Shwartsman
aeec5a6c5a just dos2unix 2005-02-27 18:14:29 +00:00
Stanislav Shwartsman
c583a6f9cf move segments and descriptors definitions and macroses for new descriptor.h 2005-02-27 17:41:45 +00:00
Volker Ruppert
be03140315 - space for bx_status_info_text was too small 2005-02-27 16:55:34 +00:00
Stanislav Shwartsman
6e773a652a Fix SYSENTER/SYSEXIT instructions 2005-02-26 12:00:22 +00:00
Stanislav Shwartsman
f483bcfd70 Fixed possible memory corruption in case of wrong size APIC read (used by WinNT MP)
Compiler compitability fixes (use 0 and 1 instead of true and false)
2005-02-25 20:53:14 +00:00
Stanislav Shwartsman
57a99e8daf Small update in user.dbk 2005-02-25 11:49:31 +00:00
Stanislav Shwartsman
0e472af877 Merge patch:
[1151012] allow null ss on x86-64 by Avi Kivity
2005-02-24 19:50:36 +00:00
Alexander Krisak
6377066a65 fixed broken dbg_main compilation 2005-02-24 12:58:48 +00:00
Stanislav Shwartsman
ef197b2a56 Fixed compilation error in paging.cc
Some fixed for APIC in P4 processor
APIC patch by mrieker cleaned even more
2005-02-23 21:18:24 +00:00
Volker Ruppert
4f875b94a4 - updates from SF documentation request #1144247 by Alexander Schuch
* added more instructions for first time Bochs users
  * added FreeBSD 5.2.1 installation guide
2005-02-23 18:49:50 +00:00
Stanislav Shwartsman
830ca51b91 Merge patches:
1149720 critical - fix x86-64 SYSCALL RFLAGS masking
 1149758 wrmsr efer fix
2005-02-23 18:00:07 +00:00
Stanislav Shwartsman
74821b6675 Update changes 2005-02-22 18:36:16 +00:00
Stanislav Shwartsman
e742e6b9ed Merged usermanual.patch from mailing list 2005-02-22 18:28:25 +00:00
Stanislav Shwartsman
41578589c1 Merge two patches by Avi Kivity (avik) 2005-02-22 18:24:19 +00:00
Stanislav Shwartsman
76e0f2cc95 Fixed AMD cpuid 2005-02-20 20:02:54 +00:00
Stanislav Shwartsman
3351723e70 Fixed P4 extended CPUID 2005-02-17 06:07:58 +00:00
Stanislav Shwartsman
f45316a2b1 Change possibly broken BX_MIN_BIT16S to its real value 2005-02-16 21:36:16 +00:00
Stanislav Shwartsman
2bfc842c09 CPU fixes by Kevin Lawton 2005-02-16 21:27:21 +00:00
Stanislav Shwartsman
169769504e Changes BX_PANIC to BX_INFO in some more cases (patch by Kavin Lawton) 2005-02-16 19:59:03 +00:00
Stanislav Shwartsman
91526a90b3 Merged patch
[1123895] x86-64 gdb/debugger fixes by Avi Kivity
2005-02-16 18:58:48 +00:00
Volker Ruppert
7576000637 - fixed extended memory size in kByte reported by the BIOS. If there are more
than 64 MB memory installed, the reported XMS size must be 63 MB (OS/2 Warp 3
  is expecting this)
2005-02-16 17:53:40 +00:00
Volker Ruppert
279aa9f8d9 - ignore mouse command 0xbb used by OS/2 Warp 3
- removed unnecessary newlines from messages
2005-02-16 16:37:45 +00:00
Volker Ruppert
2b196e5c61 - removed useless VLB-IDE support (ISA and PCI IDE are working okay)
- removed dangerous options from the harddrive code
2005-02-15 20:48:14 +00:00
Stanislav Shwartsman
a01347f17d Extended information for AMD and Intel processors (CPUID) 2005-02-14 21:17:20 +00:00
Stanislav Shwartsman
b69345225b Correct model_id for Pentium MMX in CPUID 2005-02-13 21:20:48 +00:00
Volker Ruppert
2e238408b1 - description of configure and bochsrc options updated (patch from SF documentation
request #1121518 by Alexander Schuch)
- obsolete VLB IDE section removed (remaining parts of the useless VLB IDE support
  will be removed soon)
2005-02-13 19:28:41 +00:00
Stanislav Shwartsman
e7e149d21a Changed PANIC message to ERROR message. This should fix an error message reported in Bug Tracker - PANIC after Reset button is pushed. 2005-02-13 18:36:52 +00:00
Volker Ruppert
561e617362 - using fixed values for the diskette parameter table instead of int vector 0x1E
fixes floppy problems in Win9x guests
2005-02-13 08:48:23 +00:00
Stanislav Shwartsman
9492942ae6 In 64-bit mode, the CS, DS, ES, and SS segment overrides are ignored. 2005-02-12 19:25:33 +00:00
Stanislav Shwartsman
799403620e Small speedup in boundaryFetch method 2005-02-12 14:00:13 +00:00
Volker Ruppert
0381ff52d3 - fixed VBE and GD54xx PCI checks (SF patch #1121164)
- fixed typo in compressed-hd message (SF patch #1121150)
2005-02-12 10:38:14 +00:00
Volker Ruppert
16f6ce5e97 - missing return value added 2005-02-12 08:59:47 +00:00
Volker Ruppert
5b57471245 - vga extension check added. Unsupported extension names now cause a panic
- vga extension option in bochsrc sample added
2005-02-10 09:48:12 +00:00
Volker Ruppert
5e420c7172 - vga extension option now controls the presence of the Cirrus extension
- Cirrus and VBE support are no longer mutually exclusive
2005-02-09 22:01:19 +00:00
Volker Ruppert
3cee8f0ef5 - more accurate speaker output using a separate thread. This is necessary since
Beep() does not return before the speaker is turned off.
2005-02-09 18:25:57 +00:00
Volker Ruppert
4bae4bf172 - the Bochs plugin names have the prefix "bx_" starting with version 2.0, so
this patch is no longer needed.
2005-02-09 11:34:05 +00:00
Volker Ruppert
3f9f94afdd - the IDE controller works fine without this patch in ISA and PCI mode, so it
can be removed now.
2005-02-09 11:29:10 +00:00
Volker Ruppert
46787b4016 - in the meantime we have added the BXSHARE variable. If we need more variables
we should implement them similar to BXSHARE. Removing this patch.
2005-02-09 11:26:34 +00:00
Stanislav Shwartsman
d955cf88fe Removed all already exists or not relevant changes from the patch
It anyway already could not be applied automatically to the source tree but this clean version of the patch will help to apply in manually to somebody who understand apic internals and could do it ...
2005-02-08 19:58:13 +00:00
Stanislav Shwartsman
c1284af614 Removed already obsolete patch.smp-pge-pic-poll
Small cleanup in apic.cc/apic.h
I would like to test patch.apic-mrieker so I need more clean apic code
2005-02-08 18:41:33 +00:00
Volker Ruppert
a57464cb54 - Busmaster DMA fuction implemented, but disabled for now. BM-DMA works in Linux,
but failes in Win98 with this code, so I decided to disable it.
- BM-DMA register read messages changed to BX_DEBUG
2005-02-08 18:32:27 +00:00
Volker Ruppert
2137cef71f - behaviour of the busmaster dma registers fixed and info messages improved
(BM-DMA feature still not implemented)
2005-02-06 13:05:20 +00:00
Volker Ruppert
8affb6d10b - fixed macros for debug output
- string memory now starts at 0xcc00 to have enough space for all debug messages
2005-02-05 23:10:52 +00:00