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
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
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
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
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
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
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
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
a75d9f173d
- mem_write: missing return statement added
...
- small fixes in bitblt functions (colorinvert, patterncopy)
2004-08-28 15:31:33 +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
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
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
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
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
5090dd444f
- added stub for command 0xaf (get controller version) (patch from Ben Lunt)
2004-08-21 08:15:42 +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
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
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
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
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
Volker Ruppert
1c3d8436c6
- compilation fixes for ne2k with pci disabled (patch from suzu)
2004-07-26 16:04:31 +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
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
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
f5225d7592
- check pci slot configuration at first reset() call
2004-07-09 16:25:42 +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
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
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
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
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
ba13a484b5
- replace ResetCpu and ResetSystem by Reset(BX_RESET_SOFTWARE) and Reset(BX_RESET_HARDWARE)
2004-06-21 10:39:24 +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
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
Volker Ruppert
36d7f60c21
- VBE LFB memory now registered using DEV_register_memory_handlers (static LFB
...
memory handling in memory.cc removed)
- type of memory handlers changed to bx_bool
- misc_mem.cc: fixed a warning
2004-06-06 17:01:19 +00:00
Volker Ruppert
9d01ce4bfc
- raw floppy access now supported in Win 9x (patch from Ben Lunt)
2004-05-31 14:47:12 +00:00
Stanislav Shwartsman
835bb8936a
Fixed bug
...
[ 962919 ] Mac: iodev/cdrom.cc disordered
2004-05-30 19:20:53 +00:00
Volker Ruppert
a2d6bfc786
- raw serial receive support for win32 added. It is disabled for now because it
...
doesn't work properly (lost data at 300 baud).
2004-05-13 16:23:15 +00:00
Volker Ruppert
7cd2f11e79
- VBE 8 bit DAC support added
2004-05-04 20:41:53 +00:00
Christophe Bothamy
381d2ce460
- apply [ 903465 ] SEGV in iodev/ne2k.cc line 1211 on Alpha architecture by Christian Lestrade
2004-05-01 14:05:07 +00:00
Volker Ruppert
02f326264e
- charmap address for block numbers > 0 fixed
...
- some BX_INFO and BX_DEBUG messages changed
2004-04-25 07:16:09 +00:00
Volker Ruppert
ac6bed9a17
- vga code prepared for the split screen feature in text mode
...
- display library sdl: text mode split screen implemented
2004-04-09 15:04:54 +00:00
Christophe Bothamy
f9b37fac62
- implement cpu reset on write to bit0 of port 0x92
2004-04-08 21:23:41 +00:00
Christophe Bothamy
ed87e6aed1
- call bx_pc_system.ResetCpus on system reset (command 0xfe)
...
- implement reset through bx_pc_system.ResetCpus on write output port bit0
2004-04-08 21:21:22 +00:00
Volker Ruppert
e14918637a
- serial_raw: return value of get_modem_status() changed
...
- serial_raw: data type of the receive function is now 'int' again (negative
return values will be serial events)
2004-03-28 12:41:12 +00:00
Michael Brown
134c10635f
Up to API version 1.1. IRQ support added.
2004-03-26 03:22:46 +00:00
Michael Brown
a31026261b
Correct PCI class to "Network Controller"
2004-03-24 18:16:27 +00:00
Volker Ruppert
47a9c75235
- some data types changed
2004-03-20 12:42:13 +00:00
Volker Ruppert
33cb0be81f
- log prefix for serial_raw fixed
...
- clear modem lines and break condition in constructor
- clear comm error and close event object after sending data
- ready_receive() now depends on the number of received bytes (receiver thread
not present yet)
2004-03-17 17:08:57 +00:00
Volker Ruppert
8a9b4a1429
- cleaned up rx_timer() (raw serial support doesn't need the select function
2004-03-13 17:17:16 +00:00
Volker Ruppert
222cf871fd
- serial_raw for win32: transmit data implemented
2004-03-12 14:33:22 +00:00
Volker Ruppert
87853190b5
- bit number of the loopback switch fixed
2004-03-09 22:17:33 +00:00
Volker Ruppert
677574bfa8
- break signal handling in loopback mode added
...
- change the raw serial settings when entering or leaving loopback mode
- write handler: new bit values now stored in local variables
- serial_raw: fixed a warning
2004-03-09 21:58:37 +00:00
Volker Ruppert
2243d9a612
- serial_raw: new methods set_modem_control(), get_modem_status() and setup_port()
...
- serial_raw for win32: set/clear break, set modem control and get modem status implemented
2004-03-08 21:51:19 +00:00
Volker Ruppert
5c9c57a60a
- don't enable vbe if already active
...
- value of flag vbe_get_capabilities fixed
2004-03-02 16:29:27 +00:00
Volker Ruppert
7fc70c8327
- fixed compile error in serial destructor
2004-02-28 22:06:36 +00:00
Volker Ruppert
8ba9c91d55
- prepared raw serial support for win32 (DCB settings)
...
- serial_raw: new method set_break()
- delete raw serials object in destructor
2004-02-28 21:28:28 +00:00
Volker Ruppert
9c9aebcf3d
- serial port code now compiles on Linux with USE_RAW_SERIAL = 1
...
- LCR write code rewritten
- only call set_baudrate() when DLAB has changed to 0
2004-02-28 13:10:57 +00:00
Volker Ruppert
7f9edd09c8
- convert the display library option string (options separated with commas) to an
...
array of strings in vga init
- added sdl specific option "fullscreen" (startup in fullscreen mode)
2004-02-24 19:21:48 +00:00
Volker Ruppert
d5f337e1ef
- prepared implementation of display library specific options
...
- fixed bug #890734 (commas in strings enclosed with double quotes)
2004-02-22 18:51:38 +00:00
Volker Ruppert
d748f22ed0
- new gui function get_capabilities() returns the maximum values for xres, yres
...
and bpp (done for the x display library)
- new switch VBE_DISPI_GETCAPS. The xres, yres and bpp registers return the gui
capabilities if enabled.
- VBE_DISPI_ID3 defined
2004-02-22 13:03:02 +00:00
Daniel Gimpelevich
905af2fee2
Fixed softfloat compilation error.
2004-02-18 20:10:19 +00:00
Daniel Gimpelevich
c870561fd5
Fixed xlC compilation error.
2004-02-18 18:54:21 +00:00
Volker Ruppert
b04a62bfda
- fixed libtool compile warnings
2004-02-18 18:24:18 +00:00
Volker Ruppert
5d2376d93d
- 3rd mouse button now supported by the win32 display library
2004-02-15 00:03:16 +00:00
Daniel Gimpelevich
69a6ede259
Fixed Mac conflict with softfloat.
2004-02-14 06:33:29 +00:00
Christophe Bothamy
713db869f6
- implement atapi command 'CD-ROM capabilities & mech. status default values'
...
it helps during OS/2 install from cdrom.
2004-02-13 00:42:31 +00:00
Daniel Gimpelevich
292c271034
PNIC now works with plugins
2004-02-10 23:47:31 +00:00
Daniel Gimpelevich
5366cc369e
Added Brian Huffman's Sound for OSX code with a couple of tweaks.
2004-02-09 22:23:53 +00:00
Volker Ruppert
e7b558894c
- harddisk/cdrom i/o light implemented. The light is turned off 0.5 seconds after
...
the last read/write operation.
2004-02-09 18:59:50 +00:00
Volker Ruppert
d78f3da836
- win32 statusbar now shows active items with light green background
...
- harddisk/cdrom status light feature prepared
2004-02-08 18:38:26 +00:00
Volker Ruppert
107c109d04
- win32 statusbar now shows all inactive items grayed
...
- update floppy items in statusbar on status change only
- initialize statusbar and set all items inactive before the simulation starts
2004-02-08 10:25:50 +00:00
Volker Ruppert
f5c165e32a
- statusbar items for floppy and keyboard added (win32 gui only). TODO: implement
...
statusbar in other display libraries and add items for harddisk/cdrom and network.
2004-02-07 14:34:35 +00:00
Daniel Gimpelevich
126971af49
Made to compile on MacOS9
2004-02-06 22:28:00 +00:00
Volker Ruppert
e379a9c2cc
- speaker stub added (fixes possible segfault if the speaker plugin is not present)
...
- fixed some warnings
2004-02-02 21:47:26 +00:00
Christophe Bothamy
d6fb513243
- changed "console" to "speaker". Speaker can be compiled as plugin.
...
speaker calls corresponding beeper methods in gui.
2004-02-01 23:42:04 +00:00
Michael Brown
b29e94b334
Fixed segfault on attempt to build with PNIC support.
2004-01-29 17:33:45 +00:00
Volker Ruppert
ac28f72551
- multiple parallel port support added (2 ports are available now)
...
- parport irq is now only registered in irq mode
- bx_reset_options() updated for multiple parallel and serial ports
2004-01-27 21:38:51 +00:00
Christophe Bothamy
df2030c60b
- completely desactivate code for compressed hd for now.
...
this fixes bug #883239
2004-01-26 00:55:23 +00:00
Volker Ruppert
b2b9d5bd53
- com port number added to all debug/info/error/panic messages
2004-01-25 13:01:29 +00:00
Volker Ruppert
897695270b
- notify the display library if the bpp value changes (switching from VBE to VGA mode)
2004-01-24 20:50:45 +00:00
Christophe Bothamy
d62e9c7a4c
- fix out of bound index on COW_images array, as suggested by Sharvil Nanavati
2004-01-19 23:25:47 +00:00
Christophe Bothamy
2117cdae7d
- apply patches from Ben Lunt :
...
* do not panic when "calibrate drive" is issued to non disk
* warn that "set tranfert mode" command not supported
2004-01-19 21:48:07 +00:00
Volker Ruppert
c1808b14f4
- allow 16 bit writes to page 0 (patch from Kenneth Stailey)
2004-01-19 17:53:53 +00:00
Christophe Bothamy
3436662995
- fix for vmware3 cow disk on big-endian platforms
2004-01-18 16:39:02 +00:00
Volker Ruppert
264029fdee
- raw serial support prepared for 4 ports
...
- fixes for compiling on win32
- unnecessary includes removed
- description updated
- converted tabs to spaces
2004-01-18 11:58:07 +00:00
Daniel Gimpelevich
f11fdab54b
Added preliminary hack to use TUN mode instead of TAP.
...
Still doesn't work, though.
2004-01-18 06:15:38 +00:00
Volker Ruppert
92c0f1e300
- fixes to make serial_raw stuff compile (still a dummy)
2004-01-18 01:30:14 +00:00
Volker Ruppert
24bee7ee43
- multiple serial port support completed (4 port are available now)
...
- rx_fifo_enq() call fixed
- unnecessary BX_INFO removed
2004-01-18 00:18:44 +00:00
Volker Ruppert
8b640bface
- serial read/write and timer handlers prepared for 4 ports
...
- new function triggeredTimerID() returns the active ID in timer handler
2004-01-17 15:51:09 +00:00
Daniel Gimpelevich
63e4f9d270
Now allows compiling tuntap on MacOSX.
...
Couldn't configure the interface to work, though.
2004-01-17 11:47:12 +00:00
Daniel Gimpelevich
d0dae6dae1
Applied Russ Cox's tuntap patch and updated docs.
2004-01-17 02:13:37 +00:00
Volker Ruppert
3b17e2daa0
- the console beep currently works on Linux only and cannot be a plugin yet
...
- Bochs license and RCS ID added
2004-01-16 18:18:38 +00:00
Daniel Gimpelevich
6708807b38
Applied SF patch #694889 .
2004-01-16 16:30:46 +00:00
Daniel Gimpelevich
9915fca4e9
Applied SF patch #874816 .
2004-01-16 15:53:44 +00:00
Daniel Gimpelevich
b84ad185f5
Updated to 2003-11-27.
2004-01-16 15:15:49 +00:00
Daniel Gimpelevich
873651063e
Added support for Virtual Distributed Ethernet.
2004-01-16 14:44:38 +00:00
Daniel Gimpelevich
96142f8465
Fixed DLL-related crash.
2004-01-15 18:00:36 +00:00
Daniel Gimpelevich
6c26e6a65f
Introduced Frank Cornelis's PCIDEV patch.
2004-01-15 02:08:37 +00:00
Michael Brown
299947f64f
Added the PCI Pseudo-NIC (pnic). Mainly useful for running Etherboot
...
inside Bochs.
2004-01-13 19:21:21 +00:00
Volker Ruppert
2127a3925b
- re-implemented old VBE interface for backward compatibility (USB must be disabled)
2003-12-31 10:33:27 +00:00
Christophe Bothamy
37d62ebd90
- add temporary hack for compiling with visual c++
2003-12-29 21:48:56 +00:00
Volker Ruppert
154d9c3bea
- divider chain reset implemented (fixes bug #865354 )
2003-12-27 13:43:41 +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
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
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
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
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
Daniel Gimpelevich
854f360f9f
Partially applied patches 856506 and 856510.
2003-12-08 23:49:48 +00:00
Daniel Gimpelevich
878134572a
Applied patch to remove 0xfff0 legacy port.
2003-12-08 19:36:23 +00:00
Volker Ruppert
a0b896dc22
- determine media geometry on Linux and win32 host
2003-12-07 15:59:32 +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
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
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
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
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
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
7e19d19b54
- don't panic at controller command 0xa0 (keyboard BIOS name)
2003-11-11 18:18:36 +00:00
Volker Ruppert
6866ca21d6
- serial FIFO support (UART type 16550A) implemented
2003-11-09 00:14:43 +00:00
Christophe Bothamy
740d0806f5
- fix bug that corrupts disk data when using a redolog.
2003-11-07 22:59:05 +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
Volker Ruppert
597c2834ca
- CRTC initialisation fixed (bug found with valgrind)
2003-11-02 16:34:10 +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
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
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
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
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
f46ff184f6
- applied patch #724466 (libtool needs --mode=compile and --mode=link to work
...
without warnings)
2003-10-26 10:00:20 +00:00
Daniel Gimpelevich
5586f6054b
*** empty log message ***
2003-10-24 11:16:25 +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
Daniel Gimpelevich
c249cc8709
Update to coincide with Volker's adjustment to VGA-BIOS upstream.
2003-10-05 23:15:45 +00:00
Daniel Gimpelevich
abc180a397
fix oversight and prepare for change in vgabios
2003-10-04 15:58:21 +00:00
Daniel Gimpelevich
d0c10dd46b
*** empty log message ***
2003-10-02 11:33: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
fdeff47720
- add typecast to Bit64s to get around VC++ fatal error
2003-10-01 02:06:14 +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
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
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
Christophe Bothamy
5f8213251c
- implement option to set clock from utc time, on supported platforms
2003-09-05 23:17:51 +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
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
Christophe Bothamy
6c66a9a9a9
- write cmd 0x70 (seek) should not set drq. (fix by Mathis)
2003-08-24 22:44:44 +00:00
Volker Ruppert
4e10730479
- missing return value added in function start_cdrom()
2003-08-21 18:27:01 +00:00
Jeroen Janssen
5a023a8ad5
applied slowdown timer crosscompile fix
2003-08-20 06:26:27 +00:00
Christophe Bothamy
832ef1209f
- apply .bochsrc, cdrom, serial and ethernet patches for NetBSD
...
(patches by fredb, uebayasi and david laight)
2003-08-19 00:37:03 +00:00
Christophe Bothamy
e555765d75
- add a "clock: sync=[none|slowdown|realtime], time0=[timeValue|local|utc]"
...
- pit: and time0: options are still supported but deprecated
- warn when parsing deprecated directives
- fix wrong number of ata_device_translation_names
- still to do:
- setting time0 to utc is not yet supported
- the man page, user guide and .bochsrc still need to be updated
with the new options
2003-08-19 00:10:39 +00:00
Stanislav Shwartsman
60ca3ac674
;; is not so necessary ;)
2003-08-15 13:18:53 +00:00
Alexander Krisak
396d948d1b
Applied Andrew's Zabolotny patch which gives posibility for program to popup debugger by writing 'D' character to 0x8900 port
2003-08-10 17:19:49 +00:00
Alexander Krisak
d03e9381a0
Fixed broken build, reported by Jeroen Janssen
2003-08-05 09:19:36 +00:00
Alexander Krisak
45df735c30
Apply Vitaly's Vorobyov debugger patch
2003-08-04 16:03:09 +00:00
Stanislav Shwartsman
2c3753e6c2
dos2unix fix
2003-08-04 13:27:39 +00:00
Stanislav Shwartsman
4ba856a52b
Committed syntax error fixes from Vitaly Vorobyov.
...
Syntax error fixes:
[x] fixed error with array bounds in virt_timer.cc
[x] fixed error with returning value from void functions
[x] fixed const class member initialization (according C++ standard)
[x] for-loop local variable declaration moved out of loop
(for VC 6.0 compliance)
Removed already committed patch from Dirk Thierbach
Replaced the patch from Vitaly Vorobyov by set of splitted patches.
Now any of his patches could be committed separatelly from others !
2003-08-03 17:04:02 +00:00
Christophe Bothamy
974d3538a1
- change disk image mode name "growable" to the more accurate "growing"
2003-08-01 01:20:00 +00:00
Volker Ruppert
df2d388fa4
- io_len mask fixed and unnecessary io_len checks removed from the remaining
...
devices except pciusb
2003-07-31 19:51:42 +00:00
Volker Ruppert
37f3ea02b0
- new accesss mask must be checked in the i/o read/write register function.
...
This is necessary for devices with different i/o port masks.
- BX_MAX_IO_DEVICES increased to 30
- io_len mask fixed and unnecessary io_len checks removed in
* biosdev.cc
* cmos.cc
* dma.cc
2003-07-31 15:29:34 +00:00
Volker Ruppert
bcdcf42bdd
- io_len mask in i/o register functions implemented (1 = 8bit, 2 = 16bit, 4 = 32bit).
...
Unallowed cases are now handled in devices.cc and cause a BX_ERROR.
- io_len mask fixed and unnecessary io_len checks removed in
* devices.cc
* extfpuirq.cc
* gameport.cc
* ne2k.cc
* pit.cc
* pit_wrap.cc (i/o register function calls replaced by DEV_* macro calls)
- TODO: implement this in all other devices
2003-07-31 12:04:48 +00:00
Volker Ruppert
c496962184
- the NE2000 driver for MS-DOS writes a 16 bit value to page 0 reg 5. Now the
...
low-byte is written to this register and the high-byte is ignored.
2003-07-30 10:45:13 +00:00
Volker Ruppert
6723fc80a5
- the shutdown port now works if the debugger is enabled, too
2003-07-29 18:17:33 +00:00
Volker Ruppert
99a7d850b3
- byte writes to the first register of an ATA channel are ignored now (BX_PANIC
...
replaced by BX_ERROR)
2003-07-29 16:08:54 +00:00
Volker Ruppert
451ab1a4e1
- read/write access to the ports 0x03f6 and 0x03f7 no longer causes a panic
...
if all ATA channels are disabled (fixes SF bug #741433 )
2003-07-28 18:52:14 +00:00
Volker Ruppert
4a4e90d96e
- missing #if BX_SUPPORT_VBE added in i/o write handler
2003-07-27 17:50:43 +00:00
Volker Ruppert
1155b63564
- undocumented feature (???): blinking feature exists in graphics modes, too.
...
The colors 0..7 appear in high intensity and the colors 8..15 blink using
low / high intensity. Blinking is not present in Bochs yet. For now, the 3rd
bit of the attribute will be inverted.
- attribute controller mode control register: only a change of the internal
palette size bit should force a redraw
- skip screen update if video is disabled
2003-07-19 21:44:37 +00:00
Volker Ruppert
687b8281cc
- these attribute controller registers now force a redraw: mode control, color
...
plane enable and color select
- a screen update is necessary after updating the charmap
- lots of missing parentheses added (found after disabling VGA_TRACE_FEATURE)
- BX_DEBUG and BX_INFO messages improved
2003-07-18 18:31:50 +00:00
Volker Ruppert
592d7a7207
- a palette entry change must force a redraw in VBE mode, too
...
- update function: the 'for' loop now initializes and increments the variables
xti and yti
- VBE: banked writes are now ignored in LFB mode, LFB writes are ignored in
banked mode (based on SF patch #742782 )
2003-07-17 07:55:56 +00:00
Volker Ruppert
a016eff261
- VBE LFB flag added
...
- VBE set bank now ignored in LFB mode
2003-07-16 17:56:25 +00:00
Volker Ruppert
4e63eca16c
- vbe_mem_write(): offset calculation fixed
...
- calculation of the VBE virtual height for >8bpp fixed
- visible screen size must be recalculated after changing the virtual width
- modify standard VGA register when enabling a VBE mode (some test applications
expect this behaviour)
- BX_INFO messages in the VBE code fixed
2003-07-15 13:05:20 +00:00
Volker Ruppert
7bf059fcea
- function put_scancode() removed. It is no longer necessary, since all display
...
libraries are now using DEV_kbd_gen_scancode() to send key events to the
emulated keyboard.
- argument name of DEV_kbd_gen_scancode() renamed to 'key'
2003-07-13 19:51:21 +00:00
Volker Ruppert
e073214525
- new function getBXKeyName() returns the name of a BX_KEY symbol
...
(used by BX_DEBUG message in the keyboard code)
- despription of keymap.cc updated
2003-07-12 08:17:10 +00:00
Volker Ruppert
5c11b64bdf
- support for 15 bpp modes added in the vga code and the sdl display library
...
- sdl: in function graphics_tile_update() vga_bpp handled in a case structure
2003-07-09 20:15:38 +00:00
Volker Ruppert
125e3479e6
- fixes for cross-compilation (building win32 binary on linux)
...
* configure.in: readline check is only necessary if the debugger is enabled
(patch from Jeroen Janssen)
* iodev/Makefile.in: dependencies updated after adding gameport device
2003-07-05 05:31:40 +00:00