Gregory Alexander
eca4aa0720
Fixed the PIT gate and improved the PIT printing options.
2002-02-21 19:22:42 +00:00
Christophe Bothamy
7b6f19f1d2
- small bug fix in ATAPI command 0x42 (read sub-channel).
2002-02-12 16:03:00 +00:00
Volker Ruppert
e321b7bc9b
- old IRQ handling functions are disabled now
2002-02-11 08:50:28 +00:00
Volker Ruppert
30ea11e08d
- reset function clears DMA and IRQ line
2002-02-09 13:22:43 +00:00
Gregory Alexander
cfab846fe1
More #define changes.
2002-02-08 22:27:51 +00:00
Gregory Alexander
49e715178d
More updates to the realtime PIT code.
2002-02-08 05:18:14 +00:00
Gregory Alexander
6b0dca1508
Fix using 1/4 speed.
2002-02-08 02:57:27 +00:00
Gregory Alexander
57273620e6
Added an experimental realtime PIT to the mix.
...
This is basically the opposite of the slowdown timer. Instead
of trying to keep the PIT ticks in sync with bochs time, we
keep them in sync with REAL time. This is bad because it creates
unreproducible fails, but it's good if you want to run bochs at
maximum speed on your machine. However, bochs will take all of
the available resources from the machine also.
DO NOT use this with the slowdown timer. Results would be
unpredictable.
2002-02-07 21:22:55 +00:00
Volker Ruppert
ba58065da8
- call dimension_update() only after a dimension change
...
(patch from Dave Poirier <eks@void-core.2y.net>)
2002-02-07 19:04:30 +00:00
Christophe Bothamy
716e461c9d
- enabled dword IO. Tiny performance increase
2002-02-07 17:43:06 +00:00
Bryce Denney
db0a934ae3
- move include cdrom_beos.h to top of file where it belongs
2002-02-07 17:38:33 +00:00
Bryce Denney
8fe590fb2b
- removed a dependency on /usr/include/math.h. System headers should never
...
be in the list! Oops.
2002-02-07 17:18:44 +00:00
Volker Ruppert
ca5a805aff
- behaviour of floppy command 'sense interrupt status' after reset fixed
...
(DLX linux boots again)
- new function raise_interrupt() sets variables and calls raise_irq()
2002-02-06 18:51:48 +00:00
Volker Ruppert
1d9861fc59
- implementation of the text mode snapshot function
2002-02-04 20:31:35 +00:00
Volker Ruppert
2d5a9bd459
- new sense key SENSE_UNIT_ATTENTION for media change
...
- set sense key and raise an interrupt after inserting cdrom media
- atapi command 'eject disk' implemented
2002-02-03 20:49:44 +00:00
Volker Ruppert
84b649831e
- new cdrom button in the headerbar
...
- changing cdrom media in a Bochs session now possible
- don't eject cdrom when the guest OS has locked the drive
2002-02-01 16:46:27 +00:00
Gregory Alexander
dcdc5b2624
Minor fix to raise/lower irq code.
2002-01-31 17:26:26 +00:00
Gregory Alexander
05983c7a48
Changes to the pit wrapper code that should help synchronization some.
2002-01-31 17:18:38 +00:00
Gregory Alexander
26e6452142
Preparing for another pit time sync upgrade.
2002-01-31 16:52:00 +00:00
Volker Ruppert
0b6ab60780
- IOAPIC calls added in functions raise_irq() and lower_irq() (untested)
2002-01-30 18:33:41 +00:00
Christophe Bothamy
ac91aa0d3c
. changes to enable El-Torito boot. It is disabled by default in rombios.c
2002-01-30 10:30:52 +00:00
Volker Ruppert
ad072e2bc6
- implementation of the edge triggered IRQ mode
...
- new functions raise_irq() and lower_irq()
- all trigger_irq() / untrigger_irq() calls are replaced by the new functions
- REMARK: timer IRQ handling is not correct but it works
- TODO: IOAPIC IRQ handling needs to be changed
2002-01-29 17:20:12 +00:00
Volker Ruppert
2933948216
- set the media status for the siminterface to 'ejected' if cdrom is not present
2002-01-27 21:58:41 +00:00
Volker Ruppert
e472507616
- set_media_status() sets the media state for the simulation interface too
2002-01-27 21:56:53 +00:00
Volker Ruppert
4ed537308c
- read access to the status registers clears the IRQs
2002-01-27 00:41:38 +00:00
Volker Ruppert
4d4be62283
- specific EOI doesn't clear the IRR bit
...
- service_master_pic() / service_slave_pic() do clear the IRR bit
- new IRQ signal handling prepared
2002-01-26 12:03:55 +00:00
Volker Ruppert
6461cb2ab9
- new IRQ signal handling prepared
2002-01-26 12:03:10 +00:00
Volker Ruppert
7aac4bfb3d
- reading status register C clears the IRQ
...
- use BX_CMOS_THIS instead of class_ptr-> (the way other devices do)
2002-01-26 10:00:08 +00:00
Volker Ruppert
81bbbd27b2
- clear DSP.irqpending only if the value of mixer register 0x82 is 0
...
- use conversion type %d for logfile (Cygwin doesn't know %i)
2002-01-25 20:31:42 +00:00
Volker Ruppert
70ac9ca440
- clear IRQ if no unmasked interrupts are pending
2002-01-25 20:31:00 +00:00
Volker Ruppert
dde7bd3a61
- CGA mode 320x200 implemented - thanks to Sebastien Béchet
...
<bechets@ifsic.univ-rennes1.fr>
2002-01-24 20:30:45 +00:00
Volker Ruppert
a373e8dc12
- software reset doesn't clear selected data rate
...
- IRQ is cleared when the result phase is complete
2002-01-23 20:23:07 +00:00
Volker Ruppert
d22d280571
- interrupt handling improved (only loopback works for now)
...
- interrupt reasons modem status change and receiver line status change added
- number of data bits is considered now
- REMARK: Windows 95 driver still makes trouble
- TODO: real serial communication, FIFO, second serial port
2002-01-20 16:35:32 +00:00
Volker Ruppert
a9c1b785f0
- when checking the presence if diskd, check the presence of diskc, too
...
- clear IRQ after reading status register 0x1f7
- unused variable 'alloc_length' removed
- some messages fixed
2002-01-20 12:38:35 +00:00
Volker Ruppert
2d48b07d80
- unnecessary BX_PANICs removed, some others changed to BX_ERROR
2002-01-20 00:28:09 +00:00
Volker Ruppert
d07f5a13ad
- new function control_HRQ() changes the state of HRQ / cascade DRQ if necessary
...
- calling control_HRQ() in function DRQ() and after a write access to DMA mask
or request register
2002-01-18 16:33:47 +00:00
Volker Ruppert
1073eaf524
- sending data to printer causes a BX_ERROR when offline
...
- untrigger_irq() seems to be necessary, so I add it again
2002-01-18 16:33:07 +00:00
Volker Ruppert
2892dbdb08
- track0 bit added to the result of the 'get status' command
...
- length of 'configure' floppy command fixed
- busy flag is set until the result of a read/write command is complete
- read/write access to unsupported address causes a BX_ERROR, not a BX_PANIC
- commented BX_INFO statements removed
2002-01-17 21:20:12 +00:00
Volker Ruppert
aa4b1dd80f
- service_slave_pic() checks the special mask of slave not master
2002-01-15 20:42:51 +00:00
Volker Ruppert
b061db9cd7
- mixer reset does not reset the IRQ/DMA settings
...
(Linux OSS driver resets the mixer after configuring IRQ/DMA)
- write timer ticks into logfile, not the localtime
2002-01-13 17:07:14 +00:00
Volker Ruppert
6d0adac941
- address decrement feature added
...
- set TC in autoinit mode too
- set mask bit on TC if not in autoinit mode
2002-01-13 17:06:33 +00:00
Volker Ruppert
26a2731a19
- return value of MCR fixed
...
- unnecessary untrigger_irq() calls removed
2002-01-08 20:31:14 +00:00
Volker Ruppert
395ef2f5c7
- obsolete variable 'alt_pressed' removed
2002-01-08 19:00:06 +00:00
Volker Ruppert
f9fdee7ed5
- 16-bit DMA mode fixed (VOC file output works)
2002-01-05 10:30:24 +00:00
Volker Ruppert
4b759265e9
- deassert HRQ if no DRQ is pending
...
- fixed boundary check for 16-bit DMA
- removed unnecessary comments
2002-01-05 10:28:49 +00:00
Volker Ruppert
45f11e30b2
- implementation of cascade mode (channel 4)
2002-01-02 10:00:54 +00:00
Volker Ruppert
df10d56fe4
- recognize edge/level bit in ICW1, messages updated
2001-12-31 08:38:08 +00:00
Volker Ruppert
d6a1ec5fd9
- removed unnecessary untrigger_irq() call
2001-12-31 08:36:48 +00:00
Volker Ruppert
d5b13d3131
- second set of changes to bochs floppy support.
...
* floppy command 'format track' implemented
* read and write operations with MT=0 are working now
(function 'increment_sector()' updated)
* result code of floppy command 'get status' fixed
* flag FS_MS_DIO is not set while the 'configure' floppy command is pending
2001-12-28 16:38:13 +00:00
Volker Ruppert
a8e9c246c7
- variables for 'format track' and MT=0 support added
2001-12-28 16:36:45 +00:00