Commit Graph

3992 Commits

Author SHA1 Message Date
Stanislav Shwartsman
2dae51fc3f Fixed compilation error 2003-12-30 23:14:47 +00:00
Stanislav Shwartsman
52d75d7aed Fast table-based implementation of reciprocal (RCPSS/RCPPS)
This implemntation is much more clear than old one.
RSQRTSS/RSQRTPS coming soon.
2003-12-30 23:06:59 +00:00
Christophe Bothamy
e7e0b40bd1 - remove calculation on cr3 in dtranslate_linear, one of the most called functions (patch by Conn Clark) 2003-12-30 22:12:45 +00:00
Christophe Bothamy
e3bec02532 - fix bug preventing x86-64 detection 2003-12-30 14:14:28 +00:00
Daniel Gimpelevich
d5d7021e5e omit frame pointer 2003-12-30 00:40:04 +00:00
Christophe Bothamy
a3d62221ed - update workspace with new gameport class²² 2003-12-29 21:57:03 +00:00
Christophe Bothamy
b0c8fb1dcb - remove tar and zip files before making them 2003-12-29 21:53:03 +00:00
Christophe Bothamy
b57e55ca95 - fix typo 2003-12-29 21:51:53 +00:00
Christophe Bothamy
37d62ebd90 - add temporary hack for compiling with visual c++ 2003-12-29 21:48:56 +00:00
Stanislav Shwartsman
6fe8e9260b remove redundant CPU LEVEL checks for x86-64 2003-12-29 21:47:36 +00:00
Daniel Gimpelevich
fb80d47dbf *** empty log message *** 2003-12-29 21:24:35 +00:00
Stanislav Shwartsman
be9c0aeeec Enable FXSAVE/FXRESTOR instructions for BX_HACKED_CPU_LEVEL=6 also 2003-12-29 21:23:46 +00:00
Stanislav Shwartsman
b770d809d3 Clearify disagnostic messages.
Remove redundant cpu level checks for x86-64
2003-12-29 21:20:58 +00:00
Volker Ruppert
8ec786767a - parsing of bochsrc line "ne2k" rewritten. Now it is possible to override one
single setting without writing the complete line. The sequence of the arguments
  doesn't matter now.
- the dmatimer value must be valid to enable the sb16
2003-12-29 20:58:25 +00:00
Stanislav Shwartsman
7deb9491da Fixed compilation error for FPU disabled case 2003-12-29 20:26:05 +00:00
Volker Ruppert
bc3801b500 - table of configure options updated (to be completed) 2003-12-29 09:40:13 +00:00
Daniel Gimpelevich
68fd1dc95b cleanup optimizations & fix compile error 2003-12-29 07:28:28 +00:00
Volker Ruppert
c478995779 - description for bochsrc option "clock" added
- deprecated bochsrc options moved to the end of the list
- bochsrc search order description updated
2003-12-28 22:48:40 +00:00
Stanislav Shwartsman
fd60a984a0 Instructions that should not check pending FPU exceptions 2003-12-28 18:58:15 +00:00
Stanislav Shwartsman
0eb71999db Added missed 287 opcodes which should be executed as NOP in 387+ 2003-12-28 18:19:41 +00:00
Volker Ruppert
dab8f76c4e - descriptions of the options "com1" and "mouse" updated 2003-12-28 17:00:04 +00:00
Volker Ruppert
bb81e7c0dc - description of bochsrc option 'clock' added (to be completed)
- deprecated options moved to the end of the list
2003-12-28 14:32:53 +00:00
Volker Ruppert
23f30f7b26 - new features and bugfix added 2003-12-27 21:34:44 +00:00
Stanislav Shwartsman
9ccb363ec3 bochs style decode/execute of FPU instructions.
With this coding style each instruction could be implemented separatelly even not together with current Bochs FPU emulator.
Step-by-step I am going to transfer all FPU instructions from current Bochs FPU emulator to new style and remove an old bugged emulator.
Anyway, now I could implement all currently missed FPU instructions without hacking wm-fpu-emu.
2003-12-27 13:50:06 +00:00
Volker Ruppert
154d9c3bea - divider chain reset implemented (fixes bug #865354) 2003-12-27 13:43:41 +00:00
Stanislav Shwartsman
dacdaadf3d I forgot to add thos file last time 2003-12-27 09:27:26 +00:00
Volker Ruppert
0e1cac616d - missing defines BX_SUPPORT_GAME added 2003-12-26 14:18:06 +00:00
Volker Ruppert
fc1abe8423 - gameport support is now disabled by default. It can be enabled with --enable-sb16=...
or the new option --enable-gameport.
- reading gameport with joystick not present now causes a BX_DEBUG message
2003-12-26 14:15:43 +00:00
Volker Ruppert
643e7f268d - configure updated after adding gameport option 2003-12-26 13:55:31 +00:00
Volker Ruppert
6ba47a1d7a - gameport support is now disabled by default. It can be enabled with --enable-sb16=...
or the new option --enable-gameport.
- reading gameport with joystick not present now causes a BX_DEBUG message
2003-12-26 13:53:40 +00:00
Volker Ruppert
e8fcb2dd36 - unlike the OPL2, the OPL3 does not set bit 1 and 2 in the status register
- the OPL3 mode can only be enabled with command 05h sent to the second OPL chip
2003-12-26 10:06:57 +00:00
Stanislav Shwartsman
4baec805fa Fixed:
[ 725796 ] configure script bug

configure script bug
Current CVS configure script enables MMX even if FPU
is disabled.
2003-12-25 21:46:07 +00:00
Stanislav Shwartsman
fcd897836c Remove an old already committed patches 2003-12-25 20:55:23 +00:00
Volker Ruppert
b7767cc6ee - DCR loopback bit fixed: bit 3 clear means loopback mode, so subtracting 8 was
wrong. Now the bits are working right, but loopback is still not present.
- loopback should be active if DCR is in loopback mode and TCR loop mode is > 0
- reading the FIFO is only valid in loopback mode (causes a BX_ERROR for now)
2003-12-25 16:58:17 +00:00
Stanislav Shwartsman
fc1473cb8c Update changes
dos2unix cleanup
2003-12-24 20:44:39 +00:00
Stanislav Shwartsman
ab6b9c7dcb New table-based disassembler:
* Fully supports
	* MMX/XMM/3DNOW instruction sets
	* FPU instruction
	* SSE3 extensions
 currently only 16/32 bit mode bug anyway, it is much better that old one ;)
2003-12-24 20:32:59 +00:00
Volker Ruppert
3ab624f2bd - new features added 2003-12-23 21:40:02 +00:00
Volker Ruppert
815a083f86 - special rule for the gameport plugin on win32 added 2003-12-21 22:36:37 +00:00
Volker Ruppert
f0b06b6da8 - real gameport access implemented for the win32 platform 2003-12-21 17:24:45 +00:00
Volker Ruppert
e7879f6c73 - mixer register behaviour fixes (old registers are bitmapped to the ones)
- mixer reset sets default values
- mixer log messages fixed and improved
2003-12-20 17:04:08 +00:00
Volker Ruppert
f731c1774c - DEV_set_media_status() not necessary in gui floppy handlers when using the
win32 floppy dialog
- report geometry with BX_INFO after inserting new floppy media
2003-12-18 20:04:49 +00:00
Volker Ruppert
623ba8b00d - INT 16h function 05h implemented (grabbed from patch #707931) 2003-12-18 16:49:22 +00:00
Daniel Gimpelevich
0bf35c8f7b add new fixed bug report 2003-12-16 07:35:55 +00:00
Volker Ruppert
360caceb6f - stretching of the simulation window in graphics mode disabled. For now stretching
is only used by text mode CO40 (40x25).
- variables hFont and FontId are only required if Windows fonts are used in text mode
2003-12-14 09:51:58 +00:00
Christophe Bothamy
22eaef9b8a - add new fixed bug report 2003-12-11 13:07:22 +00:00
Christophe Bothamy
da735350a6 - update command to make the source .tar.gz 2003-12-11 13:06:45 +00:00
Volker Ruppert
0569c80236 - initialize structure 'stat_buf' if using raw device access on win32 (grabbed
from bug report #857235)
2003-12-10 22:14:01 +00:00
Christophe Bothamy
7dd1b63f7a - regen from configure.in rev1.233 2003-12-10 21:03:29 +00:00
Christophe Bothamy
fa449cacfd - update vcpp workspace with bx_debug directory 2003-12-10 21:03:28 +00:00
Christophe Bothamy
c191c1c518 - use cc2cpp before and cpp2cc after making the win32 source snapshot 2003-12-10 20:11:01 +00:00
Daniel Gimpelevich
42bf7e7595 add new patch applied, clean up table 2003-12-09 00:58:04 +00:00
Daniel Gimpelevich
854f360f9f Partially applied patches 856506 and 856510. 2003-12-08 23:49:48 +00:00
Christophe Bothamy
22f3930b81 - apply patch from Frank Cornelis to have bcc able to compile gcc-3.2-preprocessed rombios.c 2003-12-08 20:35:20 +00:00
Daniel Gimpelevich
878134572a Applied patch to remove 0xfff0 legacy port. 2003-12-08 19:36:23 +00:00
Christophe Bothamy
b7e20e0eb8 - add new patch applied 2003-12-07 23:54:46 +00:00
Christophe Bothamy
83ff38223b - update release process info, mainly win32 2003-12-07 23:53:28 +00:00
Christophe Bothamy
aa0c3447b1 - add @EXE@ extensions for installed binaries 2003-12-07 23:47:44 +00:00
Christophe Bothamy
aac6373669 - exclude CVS and .cvsignore when making win32_snap zip file 2003-12-07 23:44:10 +00:00
Christophe Bothamy
6ef1e12eac - create full directory when installing 2003-12-07 23:36:58 +00:00
Christophe Bothamy
c7fcb049c9 - fix comments 2003-12-07 23:35:48 +00:00
Christophe Bothamy
966e37f067 - fix compilation problem on vcpp when debugger is enabled 2003-12-07 23:34:48 +00:00
Christophe Bothamy
9bf270b1af - vcpp does not have hash_map.h : fixes a compilation problem with debugger enabled 2003-12-07 23:32:45 +00:00
Christophe Bothamy
89c6db7c9e - apply [ 847822 ] Bochs crash when exmining memory that crosses page boundary
fix by ortal at jungo dot com
2003-12-07 22:29:14 +00:00
Christophe Bothamy
2e7780cfdf - update date of last prerelease 2003-12-07 22:25:47 +00:00
Stanislav Shwartsman
185ba44bbe update changes 2003-12-07 19:21:14 +00:00
Volker Ruppert
a0b896dc22 - determine media geometry on Linux and win32 host 2003-12-07 15:59:32 +00:00
Volker Ruppert
a7565b1e06 - CHANGES updated 2003-12-06 14:00:22 +00:00
Volker Ruppert
6113bf4d89 - evaluate_media(): code for character or block devices simplified (TODO: determine
media size)
2003-12-06 13:59:30 +00:00
Volker Ruppert
df8604baee - applied patch #850236: fixed direct device access to DVD's on win32 2003-11-30 20:54:42 +00:00
Daniel Gimpelevich
fff74a6f83 Fixed incompatibility with gcc3.3, I think. 2003-11-28 15:07:29 +00:00
Daniel Gimpelevich
fc025ac0c7 renamed to bx_debug 2003-11-28 14:59:45 +00:00
Christophe Bothamy
c95a329afb - preparing 2.1pre2 release 2003-11-27 01:36:55 +00:00
Christophe Bothamy
5224313f56 - add two sf bugs fixed 2003-11-27 00:46:09 +00:00
Christophe Bothamy
9d38eca4c5 - recompile rombios.c rev1.102 2003-11-27 00:35:24 +00:00
Christophe Bothamy
ea8fd6a431 - update with new file list (a file was removed from fpu) 2003-11-26 22:31:54 +00:00
Christophe Bothamy
0d281a9cca - initialize ata controller state even if master/slave device is not
present. This would prevent the simulation from running on windows
  if no slave device was present on the ata0 interface.
2003-11-25 23:00:06 +00:00
Christophe Bothamy
89821fcd81 - remove hlt from BX_PANIC function, because the user can choose to
continue after a panic.
- add the hlt instruction in int18 handler. This should stop the
  simulation if the boot disk can not be read
2003-11-25 22:56:11 +00:00
Christophe Bothamy
e9efb9aed0 - stop execution with an 'hlt' if the bios can not read the boot disk 2003-11-25 22:46:20 +00:00
Christophe Bothamy
acf790e096 - remove unwanted "exit" 2003-11-25 22:42:58 +00:00
Christophe Bothamy
003e56f81a - moving --enable-sb16=win at the end of parameters seems to
be a workaround for the "invalid parameter" bug
2003-11-25 22:42:21 +00:00
Stanislav Shwartsman
902f655bb7 Fixed compilation error 2003-11-25 19:34:34 +00:00
Volker Ruppert
335507ac38 - evaluate_media(): floppy type handling for images rewritten. The function now
fails if the image size is too large for the selected type.
- evaluate_media(): enclose path names in single quotes in BX_INFOs
2003-11-23 21:54:59 +00:00
Zwane Mwaikambo
b152c966fc remove 'const' from bx_local_apic_c::get_type declaration, fix for wrong
class member being called in bx_generic_apic_c::deliver
2003-11-23 02:44:15 +00:00
Zwane Mwaikambo
8ca600665e Fix 3DNow compilation 2003-11-22 22:39:55 +00:00
Volker Ruppert
e827d430f2 - don't try to insert the floppy media if the path name is "none"
- evaluate_media(): new variable 'raw_floppy' indicates raw floppy access on win32
- evaluate_media(): try to read the first sector determine the presence of the
  floppy media (raw access on win32)
2003-11-22 18:22:45 +00:00
Stanislav Shwartsman
b17671f5ef Fixed compilation error 2003-11-19 20:57:13 +00:00
Stanislav Shwartsman
a6c1bdbbb2 Optimization of RCPSS/RCPPS functions 2003-11-19 20:27:58 +00:00
Daniel Gimpelevich
9e6e7609e3 Rewrote Alt/Ctrl/Shift key handling & added SysRq/Ctrl-Break. Needs further testing!! 2003-11-17 04:21:16 +00:00
Volker Ruppert
c1989c68da - removed unused stuff 2003-11-16 08:21:10 +00:00
Volker Ruppert
5cd8ea6be1 - split the fprintf() call in the writelog() function. This is a workaround for
a bug in cygwin and mingw/msys (loglevel was always 0)
- DSP test register implemented
2003-11-15 14:56:30 +00:00
Christophe Bothamy
93ff40743f - recompiled with rombios.c rev1.100 2003-11-15 00:03:57 +00:00
Christophe Bothamy
0276bfdef7 - add fix to get v2os to boot : preserve eax top 16bits on int1A function B101 call 2003-11-15 00:00:37 +00:00
Volker Ruppert
31fcbd1bad - DSP command 0xE0 returns bitwise NOT of data byte
- SB16 returns DSP version 4.05 (4.11 is SB16 SCSI-2)
2003-11-14 19:00:32 +00:00
Volker Ruppert
fa59ac787b - CHANGES updated 2003-11-14 15:43:58 +00:00
Volker Ruppert
bc19ad6c26 - applied patch #838401: fixed redrawing of toolbar if the host environment is
at high load
2003-11-14 15:43:12 +00:00
Christophe Bothamy
1409913502 - do not copy CVS directories when running "make install" 2003-11-14 00:38:54 +00:00
Stanislav Shwartsman
cdb68ff8c8 Reverting back the changes in data_xfer16.cc
Add/Fix bx_info messages in proc_ctrl.cc
2003-11-13 21:57:13 +00:00
Stanislav Shwartsman
d51aece0c1 Change BX_PANIC messages to BX_INFO when behaviour is accepted with Intel/AMD docs.
Instructions MOV_CxRx and MOV_RxCx are not supported in v8086 mode according to Intel manuals.
Also these instructions are treated as register-to-register regardless to MODRM byte fields (according to AMD manuals)
Also commit fix for MOV_EwSw by Kevin
2003-11-13 21:17:31 +00:00
Volker Ruppert
7e19d19b54 - don't panic at controller command 0xa0 (keyboard BIOS name) 2003-11-11 18:18:36 +00:00
Volker Ruppert
4c8015f84b - biossums added to make target 'clean' 2003-11-11 18:18:11 +00:00
Volker Ruppert
633373b3eb - CHANGES updated 2003-11-09 15:12:34 +00:00
Volker Ruppert
6866ca21d6 - serial FIFO support (UART type 16550A) implemented 2003-11-09 00:14:43 +00:00
Daniel Gimpelevich
8d963231d3 Added support for all bits per pixel values. 2003-11-08 06:46:03 +00:00
Christophe Bothamy
f7db74b2f8 - exlude CVS directories when making source package 2003-11-07 23:08:01 +00:00
Christophe Bothamy
740d0806f5 - fix bug that corrupts disk data when using a redolog. 2003-11-07 22:59:05 +00:00
Stanislav Shwartsman
ac50ab3760 Implemented RCPSS/RCPPS SSE instructions 2003-11-07 20:53:27 +00:00
Volker Ruppert
c99cd71125 - don't print the VBE disable info if the status is unchanged 2003-11-06 18:48:01 +00:00
Christophe Bothamy
42cd5f2699 - update with vgabios v0.4c 2003-11-06 00:17:35 +00:00
Volker Ruppert
b034b7f331 - applied patch #834962: dimension update to the same size but different bpp
now works on win32
2003-11-05 17:25:29 +00:00
Christophe Bothamy
a7ea447861 - update with vgabios v0.4b 2003-11-04 23:08:48 +00:00
Volker Ruppert
597c2834ca - CRTC initialisation fixed (bug found with valgrind) 2003-11-02 16:34:10 +00:00
Volker Ruppert
568cd93523 - detect_serial: detection simplified using IER and IIR
- detect_parport: save base address and timeout using push/pop
2003-11-02 12:40:51 +00:00
Christophe Bothamy
6860d5617b - add new author 2003-11-02 10:23:59 +00:00
Volker Ruppert
9e5592ef96 - removed option --enable-port-e9-hack (it is already enabled by default)
- removed option --enable-sse=2 (SSE support requires cpu level 6)
2003-11-02 09:41:55 +00:00
Daniel Gimpelevich
219269b08b Fixed problem where gui code was writing to nonexistent memory on host.
Carbon gui now compatible with VBE.
TODO: support for pixel depths != 8
2003-11-02 04:05:02 +00:00
Stanislav Shwartsman
e8961bb65d dos2unix fpu_compare
update changes file
2003-11-01 18:45:16 +00:00
Stanislav Shwartsman
66549cc16b Implemented FCMOVcc instructions.
Removed undocumented FPU opcodes, they are not supported by real CPUs
2003-11-01 18:36:19 +00:00
Volker Ruppert
6c398a7170 - the CRT controller works the same way in color and monochrome emulation modes
- use the same text mode update code for color and monochrome modes (vga mode 0x07
  now works with the Elpin BIOS)
2003-11-01 10:28:40 +00:00
Daniel Gimpelevich
7ca818e043 *** empty log message *** 2003-10-31 20:50:04 +00:00
Volker Ruppert
7f5b3e6575 - missing end tag </para> added
- fixed 2 typos
2003-10-31 18:23:38 +00:00
Volker Ruppert
2ef7ec8973 - new function raise_interrupt() manages the serial interrupt reasons
- the line status register only causes an interrupt if an error occurs
- missing initial baurate value added (using 115200)
- baudrate divisor value checks fixed
2003-10-31 17:23:56 +00:00
Volker Ruppert
5616d81a67 - removed unnecessary comments 2003-10-31 15:49:29 +00:00
Christophe Bothamy
61dc5119ec - add sections on new harddisk modes 2003-10-31 13:54:01 +00:00
Stanislav Shwartsman
885dd35d19 clear unused code 2003-10-31 11:06:23 +00:00
Christophe Bothamy
2eee53c41a - fix typos
- cleanup "How to make a disk image" section
- update "undoable" "growing" "volatile" disk image sections
2003-10-30 10:14:07 +00:00
Volker Ruppert
2fc0b134ed - interrupt and i/o port initialization moved into the initialization loop
- new function lower_interrupt() lowers the irq line if no interrupts are pending
- IER write code: missing conditions for lower_interrupt() added
- symbol BX_SERIAL_CONFDEV removed (now using BX_N_SERIAL_PORTS)
2003-10-29 21:00:04 +00:00
Volker Ruppert
5540cd5664 - printer sends ACK after init
- irq number added to BX_INFO in init()
2003-10-29 17:29:26 +00:00
Christophe Bothamy
5cee585e26 - remove sections added to the user doc 2003-10-29 01:15:13 +00:00
Christophe Bothamy
39db299002 - remove references to zlib compressed disk images.
Gzipped disk images are too slow to be useful anyway.
  Proper read/write compressed disk image support
  will be implemented after 2.1
2003-10-29 01:13:16 +00:00
Christophe Bothamy
3ff351f4fc - remove references to zlib compressed disk images.
Gzipped disk images are too slow to be useful anyway.
  Proper read/write compressed disk image support
  will be implemented after 2.1
2003-10-29 01:04:27 +00:00
Christophe Bothamy
50b768228c - add start of disk modes documentation.
- remove references to zlib compressed disk images
2003-10-29 01:00:28 +00:00
Volker Ruppert
fbba69380b - MCR bit 3 (OUT2) controls the serial interrupt generation, but has no effect
on the IIR (only depends on the IER).
- IER write code rewritten. The "THR empty" interrupt will be generated immediately
  after enabling this interrupt reason.
2003-10-28 18:40:00 +00:00
Volker Ruppert
78e2cc110d - CHANGES updated 2003-10-26 10:01:37 +00:00
Volker Ruppert
f46ff184f6 - applied patch #724466 (libtool needs --mode=compile and --mode=link to work
without warnings)
2003-10-26 10:00:20 +00:00
Volker Ruppert
d179cd7fdb - applied patch #830079: fixed bochs's application error if unsupported key
pressed and added supported keys that was already assigned BX_KEY_xxx code
2003-10-25 17:37:58 +00:00
Stanislav Shwartsman
a9a7fa3ed6 Fixed status bar position bug 2003-10-25 11:57:42 +00:00
Stanislav Shwartsman
2f20c087c3 Remove code duplication from FXRSTOR functioN 2003-10-25 10:32:54 +00:00
Stanislav Shwartsman
4e74efdf0c Fast fxsave/fxrstor 2003-10-24 20:44:43 +00:00
Stanislav Shwartsman
ac739aa8b7 Fixed possible compilation problem 2003-10-24 20:06:12 +00:00
Stanislav Shwartsman
05c2a19e05 'changes' file updated 2003-10-24 18:44:24 +00:00
Stanislav Shwartsman
ac20b6405a - FXSAVE/FXRSTOR instructions should be available in P6 mode
- Added second UD2 opcode to fetchdecode
- Added RDPMC instruction to fetchdecode
- 'changes' updated
2003-10-24 18:34:16 +00:00
Volker Ruppert
78f99bdd72 - replaced hardcoded ask dialog return values by enum values (already defined in
siminterface.h)
2003-10-24 15:39:57 +00:00
Daniel Gimpelevich
5586f6054b *** empty log message *** 2003-10-24 11:16:25 +00:00
Volker Ruppert
e5fc2e06d9 - dimension_update(): unnecessary size check removed
- fixed some warnings
2003-10-19 17:23:25 +00:00
Volker Ruppert
23285d87ac - statusbar at the bottom of the simulation window added
- mouse enable/disable messages moved to the new statusbar
2003-10-19 08:24:12 +00:00
Christophe Bothamy
3dd4b321b7 - make now runs biossums on generated bios files 2003-10-17 12:01:28 +00:00
Christophe Bothamy
0798cad04d - add biossums utility, to set various checksums in bios files, written by Eike W. 2003-10-17 11:59:57 +00:00
Christophe Bothamy
01f2d9978b - add small document about biossums, written by Eike W. 2003-10-17 11:57:55 +00:00
Volker Ruppert
5be03ffb09 - int 0x16 function 0x0A implemented (GET KEYBOARD ID)
- int 0x16 functions 0x10/0x11 fixed (don't change the ascii code to 0xE0)
2003-10-16 19:31:33 +00:00
Volker Ruppert
33847825a2 - TTY_HACK feature removed. It no longer compiles and it has been replaced by
the SERIAL_ENABLE feature.
- rx_timer value for data sizes other than 8 fixed
- initial comment updated
2003-10-12 10:51:58 +00:00
Volker Ruppert
428c5209b5 - fixed 2 warnings 2003-10-11 10:43:52 +00:00
Volker Ruppert
3268858f2c - workaround for a bug in the win32 isspace() function. Some special characters
are detected as spaces (Bochs panics when parsing the keymap file). This problem
  doesn't appear when argument is unsigned.
2003-10-11 10:43:24 +00:00
Stanislav Shwartsman
d5210af668 Two new bx_instrumentation callbacks 2003-10-09 19:05:13 +00:00
Daniel Gimpelevich
227933bc11 Fix ATA/Serial ioport conflict 2003-10-07 01:44:34 +00:00
Daniel Gimpelevich
296dbe928a Fix ATA/Serial ioport conflict 2003-10-07 00:21:10 +00:00
Daniel Gimpelevich
d920233498 I hope this will make it compile under MinGW. Thanx 2003-10-06 21:36:13 +00:00
Stanislav Shwartsman
e57662214a Change BX_PANIC to BX_INFO when behaviour exactly matches Intel docs 2003-10-06 10:01:12 +00:00
Daniel Gimpelevich
c249cc8709 Update to coincide with Volker's adjustment to VGA-BIOS upstream. 2003-10-05 23:15:45 +00:00
Stanislav Shwartsman
25d04e2b4f Remove unused "dummy" parameters for some functions 2003-10-05 12:26:11 +00:00
Stanislav Shwartsman
9690ed763b // is not allowed in pure-C 2003-10-05 12:14:02 +00:00
Stanislav Shwartsman
b0e65474e6 Update 2.0.2 to 2.1 changes 2003-10-05 10:09:59 +00:00
Stanislav Shwartsman
149f8aef82 dos2unix fix 2003-10-05 10:05:05 +00:00
Stanislav Shwartsman
8bf447d0cd Implement a few 3DNOW instructions 2003-10-05 09:51:26 +00:00
Stanislav Shwartsman
3084a41abf Changes BX_PANIC to BX_INFO if Bochs behavour is exactly matches Intel docs 2003-10-04 20:48:13 +00:00
Stanislav Shwartsman
1e996cc329 According to Intel documentation instructions ARPL,LAR,LSL,SLDT/LLDT,
STR/LTR,VERR/VERW are not recognized in v8086 or real mode and should
generate #UD exception
2003-10-04 20:22:24 +00:00
Stanislav Shwartsman
da01aea269 Remove code duplication and unused params/variables 2003-10-04 16:47:57 +00:00
Daniel Gimpelevich
abc180a397 fix oversight and prepare for change in vgabios 2003-10-04 15:58:21 +00:00
Stanislav Shwartsman
40184c9187 FPU code simplification 2003-10-04 12:52:29 +00:00
Stanislav Shwartsman
b091e00899 Exclude INTERNAL FPU errors handling outside of standart FPU exceptions
handler
CVS ----------------------------------------------------------------------
2003-10-04 12:32:56 +00:00
Stanislav Shwartsman
03b41ad14f Small i387 structure size optimization 2003-10-04 11:04:10 +00:00
Volker Ruppert
9304bcbcfa - bxcommit tool added to the list of files 2003-10-03 22:38:57 +00:00
Daniel Gimpelevich
6e68a4e232 *** empty log message *** 2003-10-03 20:58:23 +00:00
Stanislav Shwartsman
76330672eb FPU version change 2003-10-03 17:40:26 +00:00
Stanislav Shwartsman
c90f0f6f94 Move div_small to another fil 2003-10-03 17:39:04 +00:00
Daniel Gimpelevich
d0c10dd46b *** empty log message *** 2003-10-02 11:33:42 +00:00
Bryce Denney
4449dfb605 - update version number to 2.1.something 2003-10-02 10:43:57 +00:00
Bryce Denney
60b1ebb670 - REALLY add bxcommit this time (I hadn't saved the workspace before) 2003-10-02 10:23:54 +00:00
Bryce Denney
c43234e813 - exclude unistd when compiling in MSVC++ 2003-10-02 10:22:46 +00:00
Bryce Denney
cfdb8f5f4a - add bxcommit 2003-10-02 10:21:35 +00:00
Bryce Denney
443c138d3f - add bxcommit when creating VC++ workspace 2003-10-02 10:21:19 +00:00
Daniel Gimpelevich
92565df2b6 *** empty log message *** 2003-10-02 09:27:41 +00:00
Christophe Bothamy
6df9d54240 - regen from configure.in rev1.228 2003-10-02 07:40:42 +00:00
Christophe Bothamy
e856e9c46e - fix utc time for bsd, that also works for linux.
Patch by Daniel Gimpelevich
2003-10-02 07:38:00 +00:00
Bryce Denney
c55a676ec0 remove fpu/fpu.cpp
add iodev/slowdown_timer.cpp
add iodev/extfpuirq.cpp
add iodev/gameport.cpp
add iodev/virt_timer.cpp
add iodev/vmware3.cpp
add cpu/fpu.cpp
add cpu/cpuid.cpp
add gui/win32dialog.cpp
2003-10-01 02:38:56 +00:00
Bryce Denney
4dfa240068 remove fpu/fpu.cpp
add iodev/slowdown_timer.cpp
add iodev/extfpuirq.cpp
add iodev/gameport.cpp
add iodev/virt_timer.cpp
add iodev/vmware3.cpp
add cpu/fpu.cpp
add cpu/cpuid.cpp
add gui/win32dialog.cpp
2003-10-01 02:18:58 +00:00
Bryce Denney
a4a5b0f677 - bump up version number to 2.1.pre1 2003-10-01 02:11:40 +00:00
Bryce Denney
fdeff47720 - add typecast to Bit64s to get around VC++ fatal error 2003-10-01 02:06:14 +00:00
Bryce Denney
4064403f3a - remove include of unistd.h so that it will compile in VC++. I fully
expect it to come back next time we change lexer.l, so this is only a
  temporary solution to the problem.
2003-10-01 02:02:46 +00:00
Bryce Denney
32a0e4ca6d - force BX_HAVE_USLEEP to 0 when cross compiling for VC++ 2003-10-01 02:01:33 +00:00
Bryce Denney
8676f35b76 - docs seem to be installed in share/doc/bochs now 2003-10-01 02:00:11 +00:00
Stanislav Shwartsman
2496156f2f removed unused file
----------------------------------------------------------------------
2003-09-27 21:07:02 +00:00
Stanislav Shwartsman
b50fb9e76e code simplification before FPU development
print if Bochs supports 3DNOW to log file
2003-09-27 20:58:46 +00:00
Stanislav Shwartsman
56beb4110c Little code optimization 2003-09-26 19:20:17 +00:00
Stanislav Shwartsman
15e84d0f5d dos2unix fixes 2003-09-26 16:07:38 +00:00
Stanislav Shwartsman
789db2603e Added P4 support to CPUID instruction
Extracted CPUIS instructions to separate file
2003-09-26 15:32:41 +00:00
Christophe Bothamy
27b8d78e2d - add parameter to set the redolog name for 'volatile' and 'undoable' disks 2003-09-22 23:32:24 +00:00
Volker Ruppert
f3942a424b - HandleAskParamString(): show the default filename in the open/save dialog box 2003-09-19 17:04:45 +00:00
Volker Ruppert
f68e9b1ce9 - the floppy device type now appears in the win32 floppy dialog box (read-only) 2003-09-18 17:37:46 +00:00
Volker Ruppert
110ecb526b - initialize the MemoryBitmap using bx_gui->clear_screen()
- if the stretch factor is 1 the function BitBlt() now repaints the screen
- the function show_headerbar() now adjusts the screen sizes if necessary
2003-09-17 19:47:41 +00:00
Christophe Bothamy
95b002087f - remove unwanted if (...) added in rev1.109 2003-09-17 12:19:34 +00:00
Christophe Bothamy
92f4a281b0 - fix compile problem when configured with --disable-cdrom (patch by Jamie Baxter) 2003-09-17 12:02:54 +00:00
Volker Ruppert
77a08c5167 - initial value of parameter 'time0' set to 1 (localtime) 2003-09-15 17:05:33 +00:00
Volker Ruppert
d04a74c7a2 - more accurate emulation of the serial transmit registers (THR/TSR)
- tx_timer value for data sizes other than 8 fixed
- MCR bit 3 (OUT2) controls the serial interrupt generation
2003-09-14 20:16:25 +00:00
Volker Ruppert
51bdc30323 - forward declaration of class DebugLogDialog is necessary for wx with debugger
- DebugLogDialog::CheckLogLength(): fixed a warning
2003-09-13 16:49:09 +00:00
Volker Ruppert
890e9a2746 - 3 generated files added to target 'dist-clean' 2003-09-11 20:44:35 +00:00
Volker Ruppert
88667a4759 - removed obsolete symbols (hard disk and cdrom names, dynamic translation)
- symbol BX_PROVIDE_BIOS_HOOKS removed and "romimage" description updated
- symbol BX_SUPPORT_VGA removed (VGA support is always present)
2003-09-10 16:34:56 +00:00
Volker Ruppert
a08289a7fa - button "Advanced" removed and description changed 2003-09-09 16:41:25 +00:00
Volker Ruppert
91ae49551a - the sb16 midimode, wavemode and loglevel are now using the spin control flag
(maximum values of these options fixed).
- sort order of the array 'sb16_init_list' changed
- array 'other_init_list2' is only needed by wx
2003-09-06 11:17:03 +00:00
Christophe Bothamy
5f8213251c - implement option to set clock from utc time, on supported platforms 2003-09-05 23:17:51 +00:00
Christophe Bothamy
d983849b1f - regen from configure.in rev1.226 2003-09-05 23:10:00 +00:00
Christophe Bothamy
6a4e0e11ce - add checks for localtime(), timezone and daylight 2003-09-05 23:03:38 +00:00
Volker Ruppert
84c1e3ed15 - bx_param_num_c: new flag USE_SPIN_CONTROL controls whether a spin control should
be used instead of a simple text control (implemented in wx)
- the new flag USE_SPIN_CONTROL is used by the memory size and the irq parameters
- special bx_list_c for the "Other options" menu in the wx configuration added
2003-09-05 22:07:54 +00:00
Volker Ruppert
3d341c9776 - MemoryConfigDialog replaced by a new one based on ParamDialog
- ParamDialog: border size of all dialog items set to 2
- labels for the memory parameters added
2003-09-04 16:58:27 +00:00
Volker Ruppert
ec7067b72a - wx.o does not depend on wxdialog.h 2003-09-03 20:28:15 +00:00
Volker Ruppert
e7e5f1b518 - bx_param_c: formerly unused member 'runtime_param' now indicates parameters
available at runtime
- wx: 'runtime' flag added to ParamDialog. If this flag is set, all options
  with the flag 'runtime_param' clear will be disabled.
- only the runtime options for cdrom's are now enabled in the ATA dialogs at runtime
- the options 'keyboard paste delay', 'mouse' and 'vga update interval' are now
  available at runtime
- wxdialog.h: unnecessary comments removed
2003-09-02 19:34:48 +00:00
Stanislav Shwartsman
bf2e0a109d Fixed compilation error (occures when fpu disabled) 2003-09-01 19:05:10 +00:00
Volker Ruppert
f6c70e5add - new function "Create Image" added in the floppy dialog (grabbed from wxdialog.cc)
- parameter for owner window added to function AskFilename()
2003-09-01 17:47:57 +00:00
Volker Ruppert
0c535f30ea - changes updated 2003-08-31 17:12:58 +00:00
Volker Ruppert
0540946030 - the floppy dialog now uses the label for the "browse" dialog if it exists 2003-08-31 17:12:20 +00:00
Volker Ruppert
3c2403ee53 - specifying the parameter separator (comma + space) with set_format() no longer
necessary (now done in textconfig.cc)
- missing parameter descriptions added, others improved (used by wx for tooltips)
2003-08-31 10:53:59 +00:00
Volker Ruppert
a0bb1e0b5c - bx_list_c::text_print() now uses a comma and a space as the parameter separator
if the flag SERIES_ASK is set
- bx_param_enum_c::text_print(): use the value already stored in variable 'choice'
2003-08-31 08:34:29 +00:00
Volker Ruppert
dc5fe76ecc - ParamDialog: the parameter description is now used for tooltips 2003-08-30 17:58:30 +00:00
Volker Ruppert
0903de7acd - floppy dialog now uses get_label() for the window title. If no label exists,
get_name() is used.
2003-08-30 17:13:06 +00:00
Volker Ruppert
57a11c5a79 - new function set_label() now used for floppy, ata, usb and clock parameters
- unimplemented bochsrc option "system_clock_sync" removed (replaced by "clock: sync=...")
2003-08-30 13:10:51 +00:00
Volker Ruppert
3d28df0b78 - new methods set_label() and get_label() for text menus and gui dialogs
- ParamDialog now uses get_label() instead of get_ask_format()
2003-08-30 11:21:56 +00:00
Volker Ruppert
29a1f1a0f8 - OnShowKeyboard(): don't show the dialog if the simulation isn't running 2003-08-30 11:21:29 +00:00
Stanislav Shwartsman
7f570b0150 Added PNI new streaming extensions instructions
PNI could be enabled by setting BX_SUPPORT_PNI in config.h
After the feature will be fully validation I'll also add configure option.

The implemntation is ~complete. I've missed only three FPU new opcodes of FUSTTP instruction and MONITOR/WAIT instructions.

Enjoy ! ;)
2003-08-29 21:20:52 +00:00
Volker Ruppert
c2ea352a04 - cmos image option moved to the "Other options" dialog (cmos dialog removed)
- disable the items "Configuration interface" and "Display library" for now.
  The config interface "wx" is already active and a change is not supported yet.
2003-08-29 18:57:40 +00:00
Volker Ruppert
7a3a6efe63 - ParamDialog::EnableChanged(): EnumChanged() must be called if the parameter
type is BXT_PARAM_ENUM
2003-08-28 20:04:22 +00:00
Stanislav Shwartsman
0de550d517 Remove already committed to the main code 64bit FPU patch
Remove already obsolete invlpg patch. The feature already implemented and in quite different way.
2003-08-28 19:46:05 +00:00
Stanislav Shwartsman
254ad17328 Changes method of resolving opcode/attributes from group table
New method more flexible and easy to understanding.
Reorganizing fetchdecode code and make it more easy and understandable
2003-08-28 19:25:23 +00:00
Christophe Bothamy
9c9b054ef9 - regen from configure.in rev1.225 2003-08-28 00:15:50 +00:00
Christophe Bothamy
cf70d952bc - reset also on other triple fault 2003-08-28 00:10:40 +00:00
Christophe Bothamy
5a944bc59b - add option to enable/disable reset on triple fault 2003-08-28 00:10:10 +00:00
Christophe Bothamy
fde8bda1be - update after running "libtoolize --force --copy", with libtool 1.5 2003-08-28 00:09:21 +00:00
Christophe Bothamy
e6d4e77ecf - import new asm patch by Conn Clark 2003-08-27 23:43:23 +00:00
Volker Ruppert
16f092644c - filename "bochsrc.bxrc" added to the search list (win32 only)
- changed some parameter names and descriptions
- some unnecessary set_format() calls removed
- old commented stuff removed
2003-08-27 17:52:02 +00:00
Christophe Bothamy
a6f0158745 - add possibility to have both sync method active at the same time 2003-08-26 20:24:36 +00:00
Christophe Bothamy
04199f821c - add new changes 2003-08-26 20:19:40 +00:00
Volker Ruppert
6f9bd7fe9c - ParamDialog: missing range check for numerical parameters added
- the message boxes are now centered in the parent dialog box
2003-08-26 17:25:26 +00:00
Volker Ruppert
5972db38f7 - new keyboard options menu
- default output of bx_param_enum_c::text_print() fixed
- unused stuff removed
2003-08-25 18:36:09 +00:00
Volker Ruppert
ca60988fd9 - wx: NetConfigDialog replaced by a new version using ParamDialog
- parameter for the ethernet module must be of type bx_param_enum_c, since we
  have a list of valid modules
2003-08-25 16:46:18 +00:00
Volker Ruppert
63e67d7bcc - ParamDialog: support for bx_param_string_c::RAW_BYTES added (grabbed from textconfig.cc)
- bx_param_string_c: new methods get_separator() and get_maxsize()
2003-08-25 15:21:19 +00:00
Christophe Bothamy
9f31872f4b - implement reset on triple fault
- old behavior (panic) can be used by setting BX_RESET_ON_TRIPLE_FAULT to 0 in config.h
2003-08-24 23:39:33 +00:00
Christophe Bothamy
6977467ed7 - fix flaw in IO bitmap permission handling (anonymous patch)
From the author (see bug #663320) :
  In the code there is a check to verify that an IO bitmap
  is defined (io_base > BX_CPU_THIS_PTR
  tr.cache.u.tss386.limit_scaled) but there is no check if
  an accessed IO port's address actually falls within the
  defined limit of the TSS segment. So if I define an IO
  bitmap with 100 entries, port 101 may or may not be
  allowed depending on whatever bytes follow the TSS in
  memory
2003-08-24 23:14:52 +00:00
Christophe Bothamy
6c66a9a9a9 - write cmd 0x70 (seek) should not set drq. (fix by Mathis) 2003-08-24 22:44:44 +00:00
Christophe Bothamy
68f3624f66 - fix compile and segfault problems when configuring debugger and smp 2003-08-24 10:30:07 +00:00
Volker Ruppert
d29016ff20 - loader hack definitions moved from bochs.h to siminterface.h
- ParamDialog::EnumChanged(): hard disk mode item added, loader hack stuff added
- dependent_list for the ne2k options added
2003-08-24 10:08:49 +00:00
Volker Ruppert
b78c910e8f - obsolete harddisk and cdrom dialogs removed
- wx.cc must not include wxdialog.h
2003-08-23 17:53:27 +00:00
Volker Ruppert
be5bd5dca4 - wx: most of the config dialogs are now generated from a parameter list
- new bx_list_c for keyboard options (used in wx, TODO in textconfig)
- new flag USE_BOX_TITLE controls the usage of the list name for the group box label
- wxdialog.cc: unused variable removed
2003-08-23 15:28:06 +00:00