Commit Graph

5523 Commits

Author SHA1 Message Date
Volker Ruppert
a7df662814 - only a change of the INTIN level should be handled by the I/O APIC
- removed I/O APIC IRQ0 hack from the PIC code
2006-01-08 12:01:25 +00:00
Volker Ruppert
ae96159f62 - fixed timer frequency reporting of the old PIT
- small cleanups (removed unused stuff, BX_DEBUG message for control register)
2006-01-08 09:45:11 +00:00
Volker Ruppert
886522349d - spurious interrupt detection added 2006-01-07 18:02:16 +00:00
Volker Ruppert
b9e46e8cf4 - don't panic at unknown commands (aborting the command is okay here) 2006-01-07 12:52:05 +00:00
Volker Ruppert
3d7ddc90a5 - fixed possible division by zero error if the line offset value is 0
- VGA enable register implemented (enabled by default)
2006-01-07 12:10:59 +00:00
Volker Ruppert
682fd2ffdb - fixed PIC IRQ signal handling 2006-01-05 21:57:58 +00:00
Stanislav Shwartsman
393a653fb4 Fix typo 2006-01-05 21:40:07 +00:00
Stanislav Shwartsman
b07e698b3e Initialize CPU and APIC after the bx_pc_system object 2006-01-05 21:39:11 +00:00
Volker Ruppert
cab24c37b4 - version number and strings updated 2006-01-04 18:56:59 +00:00
Volker Ruppert
54b9499e58 - ELCR setup was sent to wrong PIC 2006-01-02 22:26:27 +00:00
Volker Ruppert
97e1f39d8f - I/O APIC signal handling rewritten ("backported" from qemu)
- don't flood the logfile if APIC EOI has no effect
- fixed a warning in the APIC code
- TODO: fix IRQ 0 handling, implement ExtINT
2006-01-01 11:33:06 +00:00
Volker Ruppert
ff7f41541f - first attempt to fix the I/O APIC code
* IRQ 0, 2 and 13 are usually not connected to the I/O APIC INTIN pins
  * if the IRQ line is set to inactive, clear IRR bit (same as PIC, but that
    needs to be checked)
  * added symbols for I/O APIC input types according to the specs
  * TODO: PIC INTR is connected to INTIN0, edge/level handling in I/O APIC and
    APIC code, ...
2005-12-31 14:46:21 +00:00
Volker Ruppert
03d665ddbc - updates for release 2.2.5 2005-12-31 09:32:42 +00:00
Volker Ruppert
a7bae15b9d - updates for release 2.2.5 2005-12-30 17:41:28 +00:00
Volker Ruppert
a7d098d118 - regenerated for release 2.2.5 2005-12-30 08:36:07 +00:00
Volker Ruppert
ab8b637508 - updates for release 2.2.5 2005-12-30 08:35:01 +00:00
Volker Ruppert
90b08d7240 - changes updated 2005-12-29 22:12:01 +00:00
Volker Ruppert
d1570c38d8 - fixed documentation links 2005-12-29 20:08:42 +00:00
Volker Ruppert
8486c8c075 - manual page viewer warning fixed
- small updates in the ata device descriptions
- mention floppy image autodetection in bochsrc manpage
- USB status update
2005-12-29 19:51:00 +00:00
Volker Ruppert
990fdd3ec9 - LGPL'd VGABIOS updated to version 0.5d (minor bugfixes) 2005-12-29 09:37:12 +00:00
Stanislav Shwartsman
6ff8fccfc4 Fixed cross-segment boundary check, when instruction ends on the segment boundary it should generate GP(0) 2005-12-28 19:18:50 +00:00
Volker Ruppert
28853fe54c - calculate BIOS ROM start address from image size if no address parameter is
used or address is set to 0.
2005-12-27 16:59:27 +00:00
Volker Ruppert
00eabeb2de - seek function added in lowlevel cdrom code (reads a block at specified address) 2005-12-27 13:21:25 +00:00
Volker Ruppert
e350c8cb5c - added Slovenian keymap contributed by Mitja Ursic 2005-12-26 21:20:42 +00:00
Stanislav Shwartsman
56cd41ec95 Fix CHANGES 2005-12-26 21:05:44 +00:00
Stanislav Shwartsman
9e4a3675d3 Cleanup APIC code
Fixed APIC timer problem (too many registered timers) reported by Brendan
2005-12-26 19:42:09 +00:00
Stanislav Shwartsman
ed577ee22e Update CHANGES 2005-12-26 19:08:03 +00:00
Volker Ruppert
1890507b7d - disable USB runtime options if USB support is disabled 2005-12-26 18:10:21 +00:00
Volker Ruppert
d86c22fa20 - check if CMOS plugin has been loaded before calling save_image() (fixes double
panic if Bochs fails early)
2005-12-26 17:16:32 +00:00
Volker Ruppert
a9b2c4c858 - enabled USB in shortcut scripts for the most popular platforms 2005-12-26 16:47:51 +00:00
Volker Ruppert
b2e19d7e09 - APM function 0x05 (cpu idle) implemented (tested with Win98)
- unused commented stuff removed
2005-12-26 10:36:52 +00:00
Volker Ruppert
81dd23c68f - create SMP specific tables dynamicly ("backported" from qemu - already mentioned
in our TODO list items 9.1 and 9.2)
2005-12-25 19:30:48 +00:00
Volker Ruppert
682895ca77 - fixed error handling for the read ID command (bad drive, media not present)
- the seek command is always executed (doesn't set the EC bit)
2005-12-25 12:03:14 +00:00
Volker Ruppert
ae37bb9815 - fixed disk size reporting > 64 GB (SF patch #1389776) 2005-12-25 09:11:59 +00:00
Volker Ruppert
7f714b568a - read support for 8029 ID and config registers added 2005-12-24 22:35:04 +00:00
Alexander Krisak
9f1888d523 *** empty log message *** 2005-12-24 16:07:47 +00:00
Stanislav Shwartsman
279c67ae37 Fix debug message 2005-12-23 14:24:47 +00:00
Stanislav Shwartsman
276c006129 Merge new disasm module with x96-64 support 2005-12-23 14:15:13 +00:00
Volker Ruppert
520da21dcf - fixed device type checks (must be compared with FDRIVE_NONE now)
- fixed motor off condition for recalibrate and seek
2005-12-23 12:21:09 +00:00
Volker Ruppert
dd384f68ed - report checksum error only if the original Bochs BIOS is used
- prepared dynamicly created SMP tables (should be at F000:B000, so we can get
  rid of the SMP specific BIOS images)
- MSVC warning fixed
2005-12-19 20:48:51 +00:00
Stanislav Shwartsman
dfc633ef0a New debug function in cpu 2005-12-19 17:58:08 +00:00
Stanislav Shwartsman
cd2a8da34c Add more debugging/instrumentation functionality 2005-12-14 20:05:40 +00:00
Volker Ruppert
e09bf42881 - fixed compiling with configure option combination '--enable-sb16 --disable-gameport' 2005-12-13 20:54:21 +00:00
Stanislav Shwartsman
8627bc1596 Fixed bug from prev commit 2005-12-13 20:42:22 +00:00
Stanislav Shwartsman
90059c8faa Non-functional changes, little bit optimize ioapic code 2005-12-13 20:27:23 +00:00
Alexander Krisak
99fae60a0e Small icache optimization 2005-12-13 14:18:34 +00:00
Stanislav Shwartsman
5f339a5fd8 Small debug fixes 2005-12-12 22:01:22 +00:00
Stanislav Shwartsman
70cc5a7fb0 Fix incorrect commit 2005-12-12 19:54:48 +00:00
Stanislav Shwartsman
f863d1e902 Generate #GP exception instead of #TS when TSS selector points to bad TSS 2005-12-12 19:44:06 +00:00
Stanislav Shwartsman
1f2cde53f0 Fix arbitration of local apic when issuing lowest priority interrupt or arbitrating between different local apics. APR (arbitration priority register) should be used for lowest priority interrupt delivery and available to user software and ARB_ID should be software transparent APIC internal 2005-12-11 21:58:53 +00:00