Stanislav Shwartsman
bf0fc24cd5
Fixed icache uncompetability with physical addresses > mem.len
2004-11-19 09:39:30 +00:00
Stanislav Shwartsman
645e04860e
For now : disable fetching from physical address 0xFFFFFFF0 after #RESET
...
because ICACHE do not support physical address > mem.len.
This is the first part of the fix, the rest coming soon
2004-11-18 23:16:36 +00:00
Volker Ruppert
eebdc22a1c
- applied patches included in SF documentation requests by Alexander Schuch
...
#1061680 : added more configure options, changed wxWindows to wxWidgets,
fixed some typo's
#1062638 : added more description to "The Bochs headerbar"
2004-11-18 19:35:23 +00:00
Volker Ruppert
37d4f24355
- fixed possible memory leaks and compilation warnings (patch by Frank Cornelis)
2004-11-16 20:44:48 +00:00
Stanislav Shwartsman
02fc33a86b
Fix CS.base register after #RESET
...
update changes
2004-11-16 19:19:13 +00:00
Volker Ruppert
82ea615428
- getHostMemAddr() now returns a pointer to a 4k memory array filled with 0xff
...
if an unexisting memory address is requested
- rom array initialized with 0xff
- fixed access to aliased bios rom in dbg_fetch_mem()
2004-11-16 18:50:21 +00:00
Stanislav Shwartsman
c482fbed43
Add additional debug info
2004-11-15 19:38:42 +00:00
Alexander Krisak
414adb6b69
debugger help text typo fix
2004-11-15 10:43:39 +00:00
Stanislav Shwartsman
a75280d757
Fix CS.BASE wrong value on reset
2004-11-14 21:47:58 +00:00
Stanislav Shwartsman
730b8c0243
Fix this pointers in the code
2004-11-14 21:25:42 +00:00
Stanislav Shwartsman
71c1275b21
dos2unix
2004-11-14 19:39:01 +00:00
Stanislav Shwartsman
7b62a6e206
Fix reset registers in CPU for #RESET signal
...
Extract ICACHE from cpu.h to separate icache.h
2004-11-14 19:29:34 +00:00
Volker Ruppert
229ff0195a
- 128k BIOS ROM space now aliased on memory top
2004-11-14 14:06:43 +00:00
Stanislav Shwartsman
08810d54c4
Fix fetchdecode for FPU instructions when FPU is not present
2004-11-12 16:47:35 +00:00
Volker Ruppert
d3d33d3e7a
- unaligned shadow RAM array replaced by an aligned ROM array. Shadow RAM is now
...
normal RAM and the ROMs are stored in the ROM array. TODO: alias BIOS on
memory top.
2004-11-11 20:55:29 +00:00
Volker Ruppert
15e3573301
- changes updated
2004-11-07 08:50:17 +00:00
Volker Ruppert
975cd53fa5
- vbe update code now uses the new graphics API
...
- old update code removed from display libraries sdl, wx and x
- wx.cc: fixed a warning
2004-11-06 17:03:44 +00:00
Volker Ruppert
3cad938b05
- gdbstub support turned into a runtime option (SF patch #1021740 by Charles Duffy)
...
- gdb_* options moved to the new gdbstub option
2004-11-06 10:50:03 +00:00
Stanislav Shwartsman
41daacdf80
fixed BX_CPU_THIS pointers
2004-11-05 10:13:15 +00:00
Stanislav Shwartsman
1a6656ce91
Fixed compilation warnings (g++, -Wall)
...
Improve speed and precision of FPATAN FPU instruction
2004-11-04 22:41:24 +00:00
Stanislav Shwartsman
2ce5495d38
Fixed compilation errors
2004-11-03 06:35:48 +00:00
Stanislav Shwartsman
8191201e17
If exception occured register should not be modified.
...
Fix for x86-64
2004-11-02 20:39:45 +00:00
Stanislav Shwartsman
4e3bc367b6
Fixed all JUMP near, CALL near and RET near cases
...
for problem EIP>CS.limit was not checked in real mode
2004-11-02 18:05:19 +00:00
Stanislav Shwartsman
2ed7e4eed5
EIP > CS.limit should be checked in real mode too.
...
Enable for now for JUMP instructions, still todo - CALL and RET
2004-11-02 17:31:14 +00:00
Stanislav Shwartsman
f06c8b6b95
EIP > CS.limit should not be a problem
...
Manual says that GP(0) shouldd be generated in this case ALWAYS
Fixed instructions PANIC messages to ERROR for this case
And ... do not leave PANIC messages w/o taking care that user could push CONTINUE button and program should know to continue after the PANIC code line. Mainly in rerurn instructions were several problems ...
2004-11-02 16:10:02 +00:00
Volker Ruppert
4c27efe5ea
- gdbstub support for MinGW toolchains (SF patch #970929 by Muranaka Masaki)
...
- fixed some warnings
2004-11-01 17:14:02 +00:00
Volker Ruppert
20d5fc0155
- missing status bar initialisation added in bx_dbg_main()
2004-11-01 12:53:45 +00:00
Volker Ruppert
40015e6301
- section "Supported Platforms": available display libraries added in table
...
- 'make install': table with install locations and installed files added
- section "Tracking the source with CVS" updated (SF documentation request #1055499 )
- description of configure option --enable-show-ips added (SF documentation request #1052657 )
- bochsrc option "debugger_log": example fixed
2004-10-30 16:05:44 +00:00
Stanislav Shwartsman
79bd13c46c
iret32_real implemented right for 386+, not only for Pentium CPU.
...
Removed ifdef's
2004-10-30 16:04:58 +00:00
Stanislav Shwartsman
a9022ac5cb
Fixed compilation prroblem reported in bug
...
[ bochs-Bugs-913418 ] compiler errors with --enable-external-debugger option
Remove code duplication
2004-10-29 21:15:48 +00:00
Volker Ruppert
63eae87ab2
- DESTDIR support for install_dlx added (SF patch #851332 )
...
- DESTDIR support for install_docbook completed
- install_share now installs the *.map files from the keymaps directory only
2004-10-29 17:04:02 +00:00
Volker Ruppert
14c6ac2856
- changes updated
2004-10-25 17:00:36 +00:00
Volker Ruppert
ec05b63532
- wx: building memory config dialog simplified
...
- textconfig now supports lists in a list
- network configuration divided in two menus / groupboxes
- ips setting now belongs to the clock menu / dialog
- wx.cc: center status bar items (wxMSW port only)
- wxmain.cc: obsolete stuff removed
2004-10-24 20:04:52 +00:00
Volker Ruppert
b47448c6e5
- assign guest IP address if the valid address is requested
...
- host IP address added in DHCP reply
- memcpy for default IP adresses fixed
- default lease time increased to 8 hours
2004-10-24 12:49:04 +00:00
Stanislav Shwartsman
14be5a7f01
Fix typo
2004-10-23 19:31:13 +00:00
Stanislav Shwartsman
31f5ceb522
everal fixes in disasm
2004-10-22 22:56:59 +00:00
Stanislav Shwartsman
5e23909c7c
prepations for NX bit implementation
2004-10-21 18:20:40 +00:00
Stanislav Shwartsman
95c894d403
Removed unused code
2004-10-19 20:05:07 +00:00
Volker Ruppert
75dc3bfdc6
- some compilation errors and warnings fixed
2004-10-19 17:24:59 +00:00
Stanislav Shwartsman
21f43f42fa
Some preparations and cleanups for future x86-64
2004-10-17 22:05:17 +00:00
Volker Ruppert
7be933aabd
- russian keymap for X11 added (SF patch #1048327 by Dmitry Soshnikov)
2004-10-17 17:16:43 +00:00
Volker Ruppert
7b4a245d9a
- new boot options menu for wx for 3 boot drives and the floppy bootsig check option
2004-10-17 16:25:10 +00:00
Stanislav Shwartsman
b37ae8a969
added new option --enable-show-ips to configure -> allow to enable BX_SHOW_IPS through configure script
...
fixed print prefixes in disasm -> only LOCK, REP and REPNE prefixes printed
update changes
2004-10-16 21:17:44 +00:00
Stanislav Shwartsman
75e0c5b421
Little speed optimizations in cpu_loop function
...
change apic classes to more c++ friendly
2004-10-16 19:34:17 +00:00
Volker Ruppert
fefa150bf2
- boot sequence example added
...
- some descriptions updated
2004-10-16 17:46:36 +00:00
Volker Ruppert
06b249ebc6
- boot sequence support added in the config interface and the hard drive init
...
code. Up to 3 boot drives are supported now. TODO: new boot dialog for wx.
- config.cc: missing ask formats for enum parameters added
- wxdialog.cc: tab window now uses the label instead of the ask format if defined
2004-10-16 15:44:00 +00:00
Stanislav Shwartsman
4a9bd714d8
Fix init values for system registers
2004-10-16 10:18:01 +00:00
Volker Ruppert
a15de4430b
- boot sequence with up to 3 boot devices inplemented. The sequence is stored
...
in the CMOS regs 0x3d and 0x38. TODO: change config option "boot" to use this
feature.
2004-10-15 15:37:01 +00:00
Stanislav Shwartsman
80ee150d83
Imlemented CR8 register for X86-64 mode
2004-10-13 20:58:16 +00:00
Volker Ruppert
c7f205a6e9
- udp packet checksum generation fixed
2004-10-13 19:42:25 +00:00
Volker Ruppert
bd8b677bd6
- networking modules table added
...
- new section: mounting disk images on FreeBSD (SF documentation request #1035267 )
2004-10-10 07:31:22 +00:00
Volker Ruppert
4194c22ebc
- bximage: description of the command line options added
...
- bximage, bxcommit: the link to "Bug Reports" can be found under "Feedback"
- references to bxcommit added to the other manpages
2004-10-09 15:58:47 +00:00
Volker Ruppert
64859e25d4
- added docbook installation instructions for FreeBSD (SF documentation request
...
#1035265 )
2004-10-09 08:13:35 +00:00
Stanislav Shwartsman
4f1f070c37
Fix comments for code
2004-10-08 19:29:04 +00:00
Stanislav Shwartsman
3adc5c8659
Fix lock prefix for XOR instruction in 64-bit mode
2004-10-08 19:07:18 +00:00
Volker Ruppert
31e4cb1fee
- dependencies between NE2k and PCI Pseudo-NIC removed from the config interface
...
- menu and option names for the network configuration fixed
- NIC init code passes script name to ethernet module init code
- VDE module added to the list of ethernet modules
- constant BX_PACKET_BUFSIZE moved to eth.h
2004-10-07 17:38:03 +00:00
Stanislav Shwartsman
d1af05cbe2
Fix typo in stack64
2004-10-06 20:10:01 +00:00
Stanislav Shwartsman
6a9e8e6011
Drop unnecessary warning
2004-10-05 20:25:06 +00:00
Stanislav Shwartsman
e8c1819842
Fix compilation problem caused by
...
(Cox's CPU panic debug patch from Oct 2003)
committed by Daniel Gimpelevich at 17/01/2004
2004-10-05 18:59:20 +00:00
Volker Ruppert
e2ed755b3f
- changes updated including new features added in January and February
2004-10-04 20:04:30 +00:00
Volker Ruppert
5d7cc42431
- extented floppy parameter table (floppy fix for NT4 from qemu written by Mike
...
Nordell and Derek Fawcus)
- int 13h diskette function 08h should return the pointer to the floppy parameter
table stored in int 1Eh
2004-10-04 19:31:02 +00:00
Stanislav Shwartsman
4988a098f5
Small optimizations
2004-10-03 21:52:10 +00:00
Stanislav Shwartsman
a28a2c6ce1
Added comments
2004-10-03 20:25:19 +00:00
Volker Ruppert
f93b04df0b
- the PCI Pseudo-NIC is now independent from the NE2000 NIC stuff. New symbol
...
BX_NETWORKING controls the presence of the lowlevel networking stuff.
- eth.cc: unused stuff removed
2004-10-03 20:06:12 +00:00
Stanislav Shwartsman
5139af0fd1
Fixed compilation error
2004-10-03 19:30:36 +00:00
Volker Ruppert
53d8ec7959
- fixed type problem in method OnTimer() (found with wxGTK 2.5.2)
...
- replaced obsolete method ConvertToBitmap() by wxBitmap(wxImage) constructor
- PCI config dialog must be disabled at runtime
- wxWindows has been renamed to wxWidgets, source files updated (TODO: update docs)
2004-10-03 09:11:28 +00:00
Volker Ruppert
a6d14987cd
- PCI IRQs must always be level sensitive (setup ELCR1/ELCR2 in pcibios init)
2004-10-02 12:29:54 +00:00
Volker Ruppert
36bac333c0
- DHCP extcode BOOTPOPT_REQUESTED_IP_ADDRESS now supported
2004-10-01 17:14:46 +00:00
Stanislav Shwartsman
aeed65fb40
update closed bugs list
2004-09-30 17:34:14 +00:00
Stanislav Shwartsman
a21018e1db
Fixed bug
...
[ 766020 ] info registers / dump_cpu get old eflags
2004-09-30 16:50:03 +00:00
Volker Ruppert
0732c5e698
- fixed credits in VESA/VBE section for win32
...
- removed vgafont section (no longer required in Bochs 2.1)
2004-09-29 16:48:56 +00:00
Volker Ruppert
cb95c4bcac
- parse_line_formatted(): handling of romimage and optromimage options rewritten
...
- bx_write_configuration(): enclose romimage filenames in double quotes
- error message for unknown sb16 option parameters added
- vgaromimage warning changed
2004-09-28 17:37:52 +00:00
Stanislav Shwartsman
c9bc4eaf02
1. add comments to CPUID instruction
...
2. small cleanup
2004-09-26 20:29:04 +00:00
Volker Ruppert
f23ce2c99b
- instructions to setup Bochs VBE in Windows guest OS added
2004-09-26 19:20:21 +00:00
Volker Ruppert
60305ec9fb
- packet send / receive log messages changed to BX_DEBUG
...
- unused symbols *_VIRTUAL_HW_ADDR removed
- indent mode in function tun_alloc() fixed
2004-09-26 15:38:24 +00:00
Volker Ruppert
b5e4d0666b
- temporary pci irq initialisation removed from pci devices (now done in the
...
PCI BIOS)
2004-09-25 22:15:02 +00:00
Volker Ruppert
0fd0fc7384
- pci irq initialisation added (TODO: initialize pci memory + i/o space)
2004-09-25 17:23:06 +00:00
Stanislav Shwartsman
3f096fdb9f
Fix FISTTP instruction opcode table
2004-09-21 21:19:59 +00:00
Stanislav Shwartsman
eb2b8a3afc
Ability to enable PNI
2004-09-21 21:07:39 +00:00
Stanislav Shwartsman
040be015d8
1. Added required GP(0) exception when setting conficting flags in CR0
...
2. APIC disabled compilation error fixed
2004-09-21 20:19:19 +00:00
Volker Ruppert
c36d0c38e7
- fixed crash after debugger command 'show "call"' (mingw doesn't like %ll and
...
%*s in one statement)
- defined platform dependant symbol FMT_TICK for cpu ticks output to logfile and
debugger console
- fixed indent mode in function bx_dbg_symbolic_output()
2004-09-19 18:38:09 +00:00
Volker Ruppert
e322e49c70
- fixed error message after invalid show command
...
- fixed 2 warnings
2004-09-19 07:56:49 +00:00
Stanislav Shwartsman
2d44108b13
dos2unix
2004-09-18 14:16:59 +00:00
Volker Ruppert
8d72800b09
- don't modify the destination MAC address if it's the broadcast address (tap and tuntap)
...
- definition of the broadcast MAC address moved to eth.h
- removed eth_tap.cc description from eth_tuntap.cc
- disabled eth_tap.cc packet logging
2004-09-18 12:35:13 +00:00
Stanislav Shwartsman
b6657b1322
NX feature still not implemented in Bochs.
...
The change forces CPUID do not report bit 20 (NX bit support)
May be some OS that really checks it will boot better now
2004-09-17 21:01:50 +00:00
Stanislav Shwartsman
255a96175b
typo fix
2004-09-17 20:59:09 +00:00
Stanislav Shwartsman
760a195c9d
* Fix LOCK prefix handling for x86-64
...
* Split BT*_EvGv functions to 3 different function according to exec mode
2004-09-17 20:47:19 +00:00
Volker Ruppert
c3cdd7ef21
- applied some changes from patch #966105 (bugfixes, message type changes)
...
- report irq line change similar to other pci devices
2004-09-16 18:34:10 +00:00
Stanislav Shwartsman
c780a15e6f
dos2unix for apic.h
2004-09-15 22:02:19 +00:00
Stanislav Shwartsman
bbd55fe16f
Merge and commit patch.apic-zwane from CVS patches directory.
...
the patch release notes by Zwane:
o Define symbols for constants like
o APIC arbitration
o Processor priority
o Various interrupt delivery fixes
o Focus processor checking
o ExtINT delivery
I need to release this now so that i don't fall too far behind CVS, when
it was part of the bochs-smp patch it could boot 2.4.18 4way. Apologies
for the whitespace changes.
Also remove patch.apic-ppr-zwane patch because it already included in
patch.apic-zwane.
I hope it will help to boot x86-64 or cmp systems required missed APIC
features !
2004-09-15 21:48:57 +00:00
Stanislav Shwartsman
283f9ae5d2
Simplify cpu.h
...
Speedup FYL2X and FYL2XP1 instructions
2004-09-14 20:19:54 +00:00
Stanislav Shwartsman
6cdb42d909
Little bit optimize memory access functions. Now values are calculated only if they actually needed.
2004-09-13 20:48:11 +00:00
Volker Ruppert
6663dec9d1
- changes updated
2004-09-13 19:51:44 +00:00
Volker Ruppert
b3d0c18838
- int 15 / ah=87h should not clear cr0 when setting bit 0 (SF patch #969967
...
by Ben Lunt)
2004-09-13 17:54:53 +00:00
Volker Ruppert
ff1c5578a5
- pci irq routing: unregister the old IRQ before registering the new one
...
- lower the IRQ line before unregistering it
2004-09-12 18:04:18 +00:00
Volker Ruppert
5e47de7968
- missing extension ".exe" added for "make install" on cygwin
...
- compile niclist.exe on cygwin if networking is enabled
2004-09-12 11:25:01 +00:00
Volker Ruppert
1663f995e0
- support for GNU/kFreeBSD and GNU/kNetBSD added in lowlevel iodev code (cdrom,
...
ne2k, sb16, etc.) (SF patch #1021758 from Robert Millan)
2004-09-11 15:39:53 +00:00
Volker Ruppert
f1816bb226
- DHCP extcode BOOTPOPT_IP_ADDRESS_LEASE_TIME now supported
...
- DHCP reply parameter BOOTPOPT_ROUTER_OPTION implemented
- vnet host name for DHCP added
- more accurate send / receive timing
- improved error messages
- vnet description in bochsrc sample added (SF patch #888426 )
2004-09-11 11:26:41 +00:00
Volker Ruppert
11c81a46eb
- temporary PCI IRQ initialisation fixed (should be done by the PCI BIOS)
2004-09-10 11:54:46 +00:00
Volker Ruppert
88efb988ac
- looks like <sys/io.h> isn't standardised. Now check for glibc-based systems
...
(info from Robert Millan)
2004-09-07 18:31:38 +00:00
Volker Ruppert
c516c8838f
- patch applied to CVS
2004-09-07 18:06:43 +00:00
Volker Ruppert
0819a15cd4
- applied patch.guess-flp-img-size (SF patch #567595 ) by Tal Benavidor with some
...
changes (moved to config.cc, use stat(), support more types)
- bochs.h: unused floppy stuff removed
- bochsrc sample: updated 'floppya' description
2004-09-07 18:02:29 +00:00
Stanislav Shwartsman
fc631037ff
remove obsolete comments from fetchdecode
2004-09-06 20:22:39 +00:00
Volker Ruppert
00bf370db2
- some compilation fixes for the raw serial support
2004-09-05 21:09:46 +00:00
Volker Ruppert
9956e47f3e
- modified the bios / vgabios panic handling. BX_PANIC messages sent by the bios
...
now appear correctly as the Bochs panic message. Now we can get rid of messages
with the line number in the source file.
- updated / fixed description in biosdev.cc
2004-09-05 17:57:22 +00:00
Volker Ruppert
8d585dc813
- removed lowlevel includes from iodev.h and device headers to reduce dependencies
...
- fixed some warnings
2004-09-05 10:30:19 +00:00
Stanislav Shwartsman
ce459276c3
Fixed problem in previous commit ...
2004-09-04 20:19:39 +00:00
Stanislav Shwartsman
3916754e30
speedup and cleanup
2004-09-04 19:37:37 +00:00
Stanislav Shwartsman
6dc8a1cafd
Very small code cleanup
2004-09-04 18:22:22 +00:00
Stanislav Shwartsman
193c7332aa
1. Small optimization for lazy_flags.cc
...
2. Merge patch 1013516
Avoid invalidate_prefetch_q on enter, leave and cpuid
2004-09-04 10:21:28 +00:00
Volker Ruppert
defdbda939
- applied patch #690400 (GZIP variable in Makefile renamed)
...
- applied patch 1021767 (sb16ctrl.c now compiles on all unix platforms)
2004-09-04 08:24:40 +00:00
Volker Ruppert
e5761d230c
- calculate checksum of expansion rom (must be 0)
2004-09-03 19:52:24 +00:00
Stanislav Shwartsman
929bfb9756
the patch already in CVS
2004-09-03 19:16:45 +00:00
Volker Ruppert
03b5797db9
- rom image size check (multiple 512) enabled again
...
- rom checksum test added (TODO: checksum test in rombios)
2004-09-02 18:24:50 +00:00
Volker Ruppert
c5ba313fd1
- changed the size of the vgabios files to exactly 32k with a checksum at the
...
last byte. This change is required for a correct checksum in the rom scan loop.
2004-09-02 17:14:34 +00:00
Volker Ruppert
9a6a7ec2fd
- rom address space check added to avoid overlapping rom images
...
- vgaromimage option now compatible with the other rom options. Old style syntax
(without 'file=...") is still supported.
- load order for the rom images fixed (system, vga, other)
- rom images sizes not multiple 512 cause a BX_INFO for now. The original check
will be enabled after updating the vgabios files
- optromimage error messages fixed
- some updates of the bochsrc sample
2004-09-01 18:12:23 +00:00
Stanislav Shwartsman
75006eed8a
Fix MUL/IMUL instructions flags handling
2004-08-31 19:43:58 +00:00
Stanislav Shwartsman
016207b222
Commented problematic check in misc_mem.cc
...
Implemnted lazy-flags and undocumented flags handling for IMUL instructions
2004-08-30 21:47:24 +00:00
Volker Ruppert
14d5b69d96
- win32dialog: set / restore cdrom path only if changed in the dialog
...
- insert cdrom now loads the media before trying to read a sector (Win NT/2k/XP)
2004-08-30 10:47:09 +00:00
Volker Ruppert
b82f00e1f2
- command line options for bximage added. Non-interactive mode can be enabled
...
now if all required parameters are present in the command line.
2004-08-29 19:31:09 +00:00
Volker Ruppert
a75d9f173d
- mem_write: missing return statement added
...
- small fixes in bitblt functions (colorinvert, patterncopy)
2004-08-28 15:31:33 +00:00
Stanislav Shwartsman
77b3886f8b
Cleanup and optimize
2004-08-28 08:41:46 +00:00
Stanislav Shwartsman
8953bfaffb
Fixed flags handling for SHLD and rotate instrructions
2004-08-27 20:13:32 +00:00
Stanislav Shwartsman
27897c925e
Fix undocumented flags handling for SHL instruction
...
remove invalidate_prefetch_q from CPUID
2004-08-27 18:43:23 +00:00
Volker Ruppert
12be3b4805
- receive timer added to simulate a delay between send and receive packets
...
- CVS ID line added
2004-08-27 08:23:50 +00:00
Stanislav Shwartsman
f2294e7c29
LAZY-FLAGS for MUL instructions
...
undocumented flags handling for MUL instructions
2004-08-26 20:37:50 +00:00
Volker Ruppert
986f879a85
- transparent colorexpand support improved (colorinvert, patterncopy)
...
- old-style update code no longer necessary
2004-08-26 16:20:50 +00:00
Volker Ruppert
1b2769e73a
- added some sanity checks in function load_ROM()
...
- removed unused and obsolete stuff from the memory code
2004-08-26 07:58:33 +00:00
Volker Ruppert
11e46d89f7
- changes updated
2004-08-24 15:19:26 +00:00
Volker Ruppert
9a3a22b1ae
- CDROM_MODE_SENSE now returns the medium type if a medium is present (patch from Ben Lunt)
2004-08-24 15:15:19 +00:00
Volker Ruppert
420bebc476
- converted GIF images to PNG format
...
- fixed URL
2004-08-24 12:23:35 +00:00
Volker Ruppert
157df28775
- fixed win32 version of bximage (was able to create flat hd's only)
...
- fixed summary information for compilation on msys/mingw and cygwin
2004-08-24 11:42:18 +00:00
Volker Ruppert
03b9d07d52
- unused vga function dump_status() rewritten for the use with the debugger ("info vga")
2004-08-24 10:15:56 +00:00
Volker Ruppert
09043def10
- fixed possible segfault if the LFB is accessed and VBE is disabled
...
- if USB is disabled in bochsrc the old VBE interface can be enabled, too
2004-08-23 18:47:25 +00:00
Volker Ruppert
8f15a12248
- extended read TOC support for WinXP (SF patch #961665 from Ben Lunt)
...
- return multisession info for image files on win32 (copied from harddrv.cc)
2004-08-23 09:39:45 +00:00
Volker Ruppert
6cd025da81
- the user documentation has replaced this file in release packages
2004-08-23 08:39:12 +00:00
Volker Ruppert
2d695b4d74
- variable bUseASPI must be a member of the cdrom object
...
- report WNASPI32.DLL version (some versions are not working properly)
- new variable isWindowsXP added (for future enhancements)
- PVR address in TOC for image files fixed (SF patch #977900 from Ben Lunt)
- converted tabs to spaces in modified sections
2004-08-22 16:23:35 +00:00
Volker Ruppert
0ae22a3daf
- changes updated
2004-08-22 16:23:07 +00:00
Volker Ruppert
b5c7ab5880
- fixed BX_INFO for win32 specific options
2004-08-22 16:22:09 +00:00
Volker Ruppert
96632e9941
- patch applied to CVS
2004-08-21 13:36:41 +00:00
Volker Ruppert
b4fbbe3af1
- implement int15, ah=83 Start/Stop Wait Timer (patch.rombios.markevich from Kory Markevich)
...
- applied patch from sava (t.ebisawa / http://ebisa.hp.infoseek.co.jp/bochs/arcs/bochs-2.1.1-jpfix-20040214.zip )
* int09_handler: pusha before int15, ah=4f
(for "jis_a01" japanese keybord driver, which breaks some registers)
* int15_function: add new functions int15_function32, int15_function_mouse
(to avoid stack overflow ... DOS/Win9x works better)
* int16, ah=00/01/10/11 ignore special key code (F0)
- set missing return value and flag for unimplemented EISA BIOS
2004-08-21 13:33:28 +00:00
Volker Ruppert
9e7f88e848
- changes updated
2004-08-21 08:16:42 +00:00
Volker Ruppert
5090dd444f
- added stub for command 0xaf (get controller version) (patch from Ben Lunt)
2004-08-21 08:15:42 +00:00
Stanislav Shwartsman
77581c34d2
Update closed bugs list
2004-08-20 18:44:35 +00:00
Volker Ruppert
4130dae772
- Redhat 5.0 installation files are no longer necessary since booting from
...
cdrom works fine in the meantime
2004-08-20 16:55:04 +00:00
Volker Ruppert
31948c30e1
- Bochs doesn't support EISA, so I think it's okay to generate a debug message at this point.
2004-08-20 10:07:49 +00:00
Volker Ruppert
b203db61d1
- interrupt vector 0x79 is fixed now, the others changes were already present.
2004-08-20 10:05:18 +00:00
Volker Ruppert
40e576cbb3
- A20 gate control implemented (int 15h, ah = 24h)
...
- debug message for unsupported EISA bus features added (int 15h, ah = d8h)
- moving rom scan loop to a separate function saves space in the main post code
(TODO: add code for rom checksum)
- interrupt vector 0x79 set to 0 (TODO: some other vectors seem to be 0, too)
2004-08-20 10:02:04 +00:00
Volker Ruppert
ca95fc885c
- gate A20 control implemented (int 15h, ah = 24h)
...
- debug message for unsupported EISA bus features added (int 15h, ah = d8h)
- moving rom scan loop to a separate function saves space in the main post code
(TODO: add code for rom checksum)
- interrupt vector 0x79 set to 0 (TODO: some other vectors seem to be 0, too)
2004-08-20 09:59:49 +00:00
Volker Ruppert
f7668681bd
- SF patch for large disk support applied
2004-08-19 19:44:44 +00:00
Volker Ruppert
99a42a8dbc
- applied SF patch #838601 : support for > 2 GB disk size with MSVC++
...
- support for non-standard disk sizes 1.68 MB and 1.72 MB in bximage
- large disk support also works now if compiled in msys/mingw
2004-08-19 19:42:22 +00:00
Volker Ruppert
c57ffcb654
- a modified version of this patch is present in CVS now
2004-08-19 16:04:45 +00:00
Volker Ruppert
f9a7c1b6c2
- bximage on win32 now can create compressed flat hard drive image files up to
...
32GiB (NTFS only) - based on a patch from Hartmut Birr
2004-08-19 16:03:03 +00:00
Stanislav Shwartsman
fcc54c7f82
Add missed flags modification
2004-08-18 21:38:50 +00:00
Stanislav Shwartsman
1f5aa2696f
Fix compilation errors ;)
2004-08-18 21:29:07 +00:00
Stanislav Shwartsman
8c618be951
Fix comments
2004-08-18 20:49:31 +00:00
Stanislav Shwartsman
b370a417a4
Optimize lazy-flags for ADC and SBB instructions
2004-08-18 20:47:35 +00:00
Stanislav Shwartsman
5268c1cd22
Update changes
2004-08-18 19:37:18 +00:00
Stanislav Shwartsman
729e0abd2a
Fixed bug [ 912496 ] IDIV can cause simulator divide error
2004-08-18 19:27:52 +00:00
Volker Ruppert
91ac899439
- applied SF patch #867045 from m_suzu_abc@yahoo.co.jp
...
* fixed compiler errors to build on VC++
* removed /GX from CXXFLAGS since C++ exception is not used
2004-08-18 11:52:25 +00:00
Volker Ruppert
0b31945d64
- enable/disable mouse capture fixed for a 2-button mouse (part #1 of SF patch #1005422 )
...
- mouse messages for the status bar fixed
2004-08-18 09:03:48 +00:00
Volker Ruppert
f10bc6199a
- changes already applied to main CVS
2004-08-18 08:09:15 +00:00
Volker Ruppert
338b7c5504
- this is not the behaviour of real hardware
2004-08-18 08:06:08 +00:00
Volker Ruppert
a83cb03fb3
- this patch would revert a bugfix, does not fix a bug
2004-08-18 08:03:49 +00:00
Volker Ruppert
f64a3b152b
- very old patch - noone else reported this problem
2004-08-18 08:02:07 +00:00
Volker Ruppert
6cb7548bdc
- patch applied to main CVS
2004-08-17 18:41:26 +00:00
Stanislav Shwartsman
571617bcda
Optimize lazy flags for NEG instruction
...
Removed duplicate flags modification in CMPXCHG instruction
2004-08-17 17:34:47 +00:00
Stanislav Shwartsman
231cd533c6
1. Update changes
...
2. Fix lazy_flags duplicate instruction patterns
2004-08-16 20:18:01 +00:00
Volker Ruppert
f06b1bf577
- extended bitblt mode solidfill implemented
...
- svga_patterncopy() fixed
- svga_pitch change fixed
- forward write to MMIO address 0x13 to graphics controller register 0x2b
2004-08-16 15:23:19 +00:00
Volker Ruppert
45ccb97021
- CL-GD 54xx SVGA emulation added (SF patch #869822 from m_suzu_abc@yahoo.co.jp)
...
- changes to the original svga_cirrus patch:
* PCI memory/mmio PnP support, some emulation and compile fixes
* ported write mode 4 + 5 and some bufixes from cirrus vga in qemu
* new graphics API, hardware cursor support, configure option added (Robin Kay)
* partial support for transparent bitblt and bitblt write mask
2004-08-16 08:07:23 +00:00
Stanislav Shwartsman
c2b7f183af
more correct implementation
2004-08-15 20:31:27 +00:00
Stanislav Shwartsman
eefdcece6f
Speed-up BTC instruction
...
Speed-up SAR instruction with implementing lazy-flags for it
2004-08-15 20:12:05 +00:00
Volker Ruppert
98ef1412c3
- new graphics update API implemented (patch from Robin Kay)
...
Description from the author:
This API allows framebuffer device plugins to draw directly on to the
GUI's tile buffer and hence eliminates the need to memcpy(3C) tiles to
an intermediate buffer. Functions like update_hardware_cursor function
are rendered unnecessary as framebuffer device plugins can now draw the
full range of host colours. svga_cirrus will fallback to calling
graphics_tile_update without a hardware cursor if the GUI doesn't support
the new API. This patch includes implementations of graphics_tile_info,
graphics_tile_get, and graphics_tile_update_in_place (the new API) for SDL
and X11.
- new graphics update API implemented in wx and rfb
- common update functions for guis without support for the new API added (should
be removed after implementing the new API in all display libraries)
2004-08-15 19:27:15 +00:00
Stanislav Shwartsman
12b68ede54
XADD and ADD instructions have same flags modification rules - remove redundant switch case
2004-08-14 20:44:48 +00:00
Stanislav Shwartsman
88a19a8594
Speedup lazy-flags for NEG instruction
2004-08-14 20:09:22 +00:00
Stanislav Shwartsman
1b7b791493
Speedup lazy-flags for INC and DEC instructions
2004-08-14 20:00:24 +00:00
Stanislav Shwartsman
1732e54baa
Fixed undocumented flags handling for some instructions.
...
Bugfix for CF flag handling for SHL64 instruction
2004-08-14 19:34:02 +00:00
Stanislav Shwartsman
a70ce6459f
Update changes
2004-08-13 20:13:30 +00:00
Stanislav Shwartsman
a1f830d429
Implemented FAST lazy flags version for logic instructions.
...
Small code cleanup/simplification for others.
2004-08-13 20:00:03 +00:00
Volker Ruppert
b820eae6d0
- patch updated
2004-08-13 15:13:14 +00:00
Stanislav Shwartsman
5de51f67d9
Prepare lazy flags macroses for more efficient lazy flags handling
2004-08-11 21:26:23 +00:00
Volker Ruppert
1b9de4c7f2
- undocumented feature 'read all mask bits' added
...
- master/slave handling in read/write handlers simplified
2004-08-11 11:48:55 +00:00
Volker Ruppert
f6f6568adf
- configure / compile fixes for Solaris SunPro (patch from Robin Kay)
2004-08-11 11:09:01 +00:00
Volker Ruppert
56d4df397e
- patch updated (see description)
2004-08-11 10:35:33 +00:00
Volker Ruppert
21e03c2145
- patch updated
2004-08-10 09:02:38 +00:00
Stanislav Shwartsman
8f0cf91fff
This commit is the first commit in long series of changes the have several purposes:
...
1. Review and commit patch
[ 896733 ] Lazy flags, for more instructions, only 1 src op
May be partially, but I hope to get all ideas from patch in
2. Get Bochs speedup after lazy flags optimization
3. Most important for me: improve correctness of emulation by handling several
undocumented EFLAGS modifications. And finally pass
UFLAGS - Undefined Flags Test v 3.0
Copyright (C) Potemkin's Hackers Group (PHG) 1989,1995
The test still fails on > 50% of its checks.
2004-08-09 21:28:47 +00:00
Volker Ruppert
d06c80cee3
- changed all iodev config macros to BX_SUPPORT_xxx
...
- removed incorrect SDL/ prefix from include paths (patch from Robin KAY)
2004-08-06 15:49:55 +00:00
Volker Ruppert
bf20e99f4c
- remove only CR or LF from the end of a bochsrc line
2004-08-01 19:17:18 +00:00
Volker Ruppert
4fc67c3aac
- patch updated
2004-08-01 08:25:26 +00:00
Stanislav Shwartsman
a7eef1d526
Significanly improve accuracy of FYL2X and FYL2XP1
...
Optimize FMUL instructions
2004-07-31 20:19:38 +00:00
Stanislav Shwartsman
789ed4da04
Removed debug print
2004-07-29 20:30:14 +00:00
Stanislav Shwartsman
f9bd2b74be
1. Fixed bug in FSUB instruction
...
2. Fixed bug
[ 989478 ] I-Cache and undefined Instruktions
The L4 microkernel uses an undefined instruction to
trap for a special requests into the kernel (LOCK NOP).
The handler fixes this up and gives the user a special
code page with syscall stubs. If you're not using the
I-Cache optimization everthing works find on bochs. But
if you enable the I-Cache (--enable-icache), then the
undefined opcode exception is thrown only once for ever
virtual address it occurs. See the demodisk of the
L4KA::pistachio
(http://www.l4ka.org/projects/pistachio/download.php ).
In this case the pingpong benchmark of this demo is of
interest. Everything runs fine until the program tries
to spawn a new task for its measurements. This new task
shares the code of the creating program. But the new
task stops executing at the undefined instruction
explained above and no exception is thrown.
2004-07-29 20:15:19 +00:00
Volker Ruppert
f1a0f56d55
- support for serial port modes added. The mode defines what to do with the
...
data written to the port and where to get the data read from it. Available
modes are 'null' (no input/output), 'file' (output to a file specified as
the 'dev' parameter), 'term' (serial terminal) and 'raw' (use the real serial
port - under construction for win32).
- descriptions for serial and parallel options in bochsrc sample updated
2004-07-28 19:36:42 +00:00
Stanislav Shwartsman
158ba92f2e
Fixed MOV opcode 0xA3, had wrong operand size (h.johansson) - disasm
2004-07-28 19:02:40 +00:00
Volker Ruppert
1c3d8436c6
- compilation fixes for ne2k with pci disabled (patch from suzu)
2004-07-26 16:04:31 +00:00
Volker Ruppert
f735e74de4
- patch updated
2004-07-25 18:03:13 +00:00
Stanislav Shwartsman
8d1989fb25
Fix exceptions mismatch in FXTRACT instruction
2004-07-24 19:26:50 +00:00
Volker Ruppert
89f4d0b7d0
- 16-bit read access now enabled for the attribute controller
...
- vbe: setup of vga compatible registers modified: 2 CRTC registers removed (now
done in LGPL'd VGABIOS) and 2 sequencer controller registers added
- obsolete comments removed
2004-07-24 18:12:00 +00:00
Volker Ruppert
6784f00723
- VBE 4 bpp support added, VBE mode 0x0102 works much better now in WHATVGA
2004-07-21 20:39:54 +00:00
Volker Ruppert
f24f8a4c77
- VGA memory now registered using DEV_register_memory_handlers (static VGA
...
memory handling in memory.cc removed)
- CRTC write protection implemented
- 16-bit read access to some VGA registers added
- memory handler code now conciders the status of the A20 line
2004-07-18 19:40:51 +00:00
Volker Ruppert
6628e25371
- option 'newharddrivesupport' removed from configuration menus and bx_write_configuration()
2004-07-18 17:18:19 +00:00
Stanislav Shwartsman
35741f5cbd
Fix configure script for Peter Tattam
2004-07-15 19:57:31 +00:00
Stanislav Shwartsman
50aaf8ec6f
Implemented FFREEP 287+ compatability instruction
2004-07-15 19:45:33 +00:00
Volker Ruppert
1ae1930be2
- replaced old style i/o and irq register mechanism by the new one for pci devices
2004-07-13 17:45:34 +00:00
Stanislav Shwartsman
79b1cfdc1c
removed unused code
2004-07-12 19:20:55 +00:00
Volker Ruppert
295dd25e10
- pci core: write access to base address registers disabled
2004-07-12 18:16:16 +00:00
Volker Ruppert
a17fb79623
- removed old style i/o and irq register mechanism
...
- i/o access mask fixed
2004-07-12 17:34:28 +00:00
Volker Ruppert
c9a113d623
- new functions for pci base address handling for memory and i/o space
2004-07-11 20:38:48 +00:00
Volker Ruppert
e7bb4ddead
- new features added
2004-07-10 11:07:31 +00:00
Volker Ruppert
94a736e1dc
- pci options now available in start menu
...
- removed unnecessary ne2k option handling
- names and lables for usb options improved
- don't allow editing of disabled options
2004-07-10 11:05:29 +00:00
Volker Ruppert
816795805e
- wx: new dialog for the pci configuration added
...
- fixed dependencies between ne2k and pnic options
2004-07-09 21:40:49 +00:00
Volker Ruppert
f5225d7592
- check pci slot configuration at first reset() call
2004-07-09 16:25:42 +00:00
Stanislav Shwartsman
ddc6c33887
BX_PANIC replaced by BX_INFO
2004-07-08 20:15:23 +00:00
Volker Ruppert
4623108de3
- level sensitive irq mode implemented (update IRR after EOI)
2004-07-08 18:45:03 +00:00
Volker Ruppert
242b9a2c3a
- level sensitive irq mode prepared
...
- pci reset mechanism implemented
- obsolete ResetSignal stuff removed
- ioapic: irq handling functions renamed to raise_irq/lower_irq
- pic: fixed two warnings
2004-07-06 19:59:10 +00:00
Volker Ruppert
0a5606bc84
- pci irq sharing with irq routing registers implemented (untested: two pci
...
devices with irq required)
2004-07-05 18:42:48 +00:00
Volker Ruppert
c6834907ad
- pci irq routing fixed and initialization added (BUG: ne2k-pci only works with
...
irq 11 in Win95)
- bios: irq routing table fixed and updated for 5 slots
- ne2k: unnecessary reset call in init() removed
- usb: don't execute reset if disabled
2004-07-04 17:10:05 +00:00
Stanislav Shwartsman
02dec84af9
Fix FXSAVE/FXRSTOR instructions exceptions handling
2004-07-03 11:02:43 +00:00
Volker Ruppert
7e2af124bd
- load ne2k plugin after pci plugins
...
- pci2isa is now a core plugin (if enabled)
- fixed double reset calls of optional device plugins (bx_reset_plugins() is
already doing it)
2004-07-03 08:20:19 +00:00
Volker Ruppert
cd70a80644
- save new pci slot configuration option
...
- all parallel and serial options are saved now
2004-07-02 23:18:21 +00:00
Stanislav Shwartsman
cc61e5d5d5
Leave aligment in floatx80 reg to compiler.
...
CPU code no longer assume that floatx80 register is 16-byte aligned
2004-07-02 20:24:47 +00:00
Volker Ruppert
8edad22893
- pci irq routing implemented (used by ne2k-pci)
...
- ne2k: fixed word writes to page 0 reg 0x0f
2004-07-01 22:18:20 +00:00
Volker Ruppert
ae180cc46a
- pci slot register mechanism added
...
* up to 5 slots can be specified with the 'i440fxsupport' config option
* the pci slot number are hardwired to pci device numbers
* the 'devfunc' value is returned the calling device (useful for multi-function
devices)
* the core of the i440FX chipset is hardwired to pci device 1 + 2; usb is still
optional and appears at device 1, function 2
- ne2k: enable pci features if connected to a pci slot
- ne2k: asic data port supports 32-bit access if ne2k-pci is active
- pci2isa: improved error messages for ELCR1 and ELCR2
2004-06-29 19:24:34 +00:00
Volker Ruppert
2b16344b70
- NE2000 PCI support added (device appears as a RealTec 8029)
...
* PCI initialization and configuration space handling added
* ASIC data port now supports 32-bit r/w if PCI is present
* PCI device will be enabled if the requested base address is >= 0x1000
- ne2k: 8390 command register is now present on all pages
- ne2k: some panics changed to errors, debug messages improved
- PCI host bridge is now a core plugin (if enabled) and initialized earlier
2004-06-27 18:23:00 +00:00
Stanislav Shwartsman
26664e8044
optimize
2004-06-26 12:35:48 +00:00
Stanislav Shwartsman
4b4538619e
Fix compilation error
2004-06-26 07:06:23 +00:00
Stanislav Shwartsman
becac7f01d
Fixed denirmal arguments for FADD/FSUB instructions
2004-06-25 20:02:41 +00:00
Stanislav Shwartsman
2a0a361298
Implemented precision lost up indication in floating point status word
2004-06-25 18:51:28 +00:00
Stanislav Shwartsman
dfd17222b0
Changed MMX regs access macros to avoid code duplication in MMX register declaration
2004-06-23 21:59:24 +00:00
Volker Ruppert
24d1d540df
- adding stanard IDE i/o ports in PCI configuration space not necessary
...
- behaviour of some PCI configuration registers fixed
2004-06-22 19:34:55 +00:00
Stanislav Shwartsman
1a1e237599
return back copyright info
2004-06-22 19:10:06 +00:00
Stanislav Shwartsman
afecedcb1b
improve occuracy of FYL2XP1 instruction
2004-06-22 18:58:33 +00:00
Stanislav Shwartsman
a8353dd450
Fixed typo
2004-06-21 19:36:04 +00:00
Christophe Bothamy
28f70482f0
- fix for crash when PCINic is compiled in but no ne2k line present in conf file.
...
Thanks to Ari Entlich
2004-06-21 10:52:50 +00:00
Christophe Bothamy
b69d0f43e7
- apply patch by Newt : adds escaped characters to string tokens and
...
semicolon delimited commands to the debugger language
2004-06-21 10:45:38 +00:00
Christophe Bothamy
ba13a484b5
- replace ResetCpu and ResetSystem by Reset(BX_RESET_SOFTWARE) and Reset(BX_RESET_HARDWARE)
2004-06-21 10:39:24 +00:00
Volker Ruppert
a0704b481e
- new features added
2004-06-20 18:30:18 +00:00
Volker Ruppert
1f33aa72b8
- APM and system shutdown support for 16-bit real mode and 32-bit protected mode
...
(patch from Fabrice Bellard)
2004-06-20 18:28:40 +00:00
Stanislav Shwartsman
a7cad86666
clean code
2004-06-19 19:16:02 +00:00
Stanislav Shwartsman
5873b26a82
Speed up compilation process.
...
bochs.h already not include iodev.h which reduces compilation dependences for almost all cpu and fpu files, now cpu files will not be recompiled if iodev includes was changed
2004-06-19 15:20:15 +00:00
Volker Ruppert
163a93b120
- fixes for MSVC (from suzu's svga_cirrus patch)
2004-06-19 11:13:21 +00:00
Stanislav Shwartsman
66904b7848
Fix typo
2004-06-18 18:11:42 +00:00
Stanislav Shwartsman
17e28e0f66
Fix merge error
...
Update CHANGES
2004-06-18 15:14:50 +00:00
Stanislav Shwartsman
cfa2da1ba7
Delete unused files
2004-06-18 14:21:25 +00:00
Stanislav Shwartsman
5c5b556f24
Merge softfloat-fpu-implementation_ver4_branch branch
2004-06-18 14:11:11 +00:00
Volker Ruppert
32a36a3ca7
- patch updated
2004-06-11 19:01:27 +00:00
Volker Ruppert
70d445111a
- patch updated
2004-06-10 19:36:06 +00:00
Volker Ruppert
ef2922a702
- patch updated (see description)
2004-06-10 08:00:40 +00:00
Volker Ruppert
c8a57ae33c
- pci_ide: fixed pointer to device object if SMF = 1
...
- pcivga: fixed memory access flag in PCI command register
2004-06-09 22:05:28 +00:00
Volker Ruppert
bf243f892a
- added PCI IDE controller (dummy device - busmaster feature not present yet)
2004-06-09 20:55:58 +00:00