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
Volker Ruppert
328bd4fb84
- fixed the behaviour of some floppy commands (Windows 95 driver works now)
...
* diskette controller data register returns last result if no new data
is available
* reset will be activated when the reset bit is changed to normal operation
* reset sets the error bits in status register 0
* write access to port 0x3f4 will cause a BX_ERROR now
* unsupported and invalid floppy commands are setting the error status bit
'invalid command' - BX_PANIC not necessary
* flag FS_MS_DIO is not set while a floppy command is pending
* floppy command 'specify': cause a BX_ERROR when non-DMA mode is selected
* floppy command 'sense interrupt status' returns an error is no interrupt
is pending
* floppy command 'read ID' sets the 'busy' flag and returns no data if the
motor is not on
* removed SIMX86 section (not defined in bochs)
* define variable 'sTemp' for win32 only
2001-12-27 09:30:31 +00:00
Volker Ruppert
84f0593409
- added variable 'pending_irq' (needed for 'sense interrupt status'
2001-12-27 09:28:53 +00:00
Volker Ruppert
87e705a553
- implementation of transfer type 0 (verify) - dma write without writing to memory
2001-12-26 14:56:15 +00:00
Volker Ruppert
3492a93d8f
- write wave and midi data in binary mode
...
- adlib registers enabled (OPL emulation still not complete)
- fixed a warning in function opl_data()
- write current time into sb16 logfile
2001-12-22 13:30:10 +00:00
Christophe Bothamy
0f6a92235a
- updated keyboard with mf1, mf2 and mf3 scancodes set handling
...
- Added scancode translation table and BX_KEY to scancode table
- completed BX_KEYS list
2001-12-22 00:00:33 +00:00
Bryce Denney
cbd68598a3
- apply patch.memleaks-tominac from Darko Tominac <darko.tominac@zg.tel.hr>
...
which fixes some potential memory leaks
2001-12-21 19:33:18 +00:00
Volker Ruppert
f004e340e8
- asic_write: dma write size and remote bytes fixed (thanks to Mike Lerwill)
...
- read_handler: fixed a warning
2001-12-21 11:56:52 +00:00
Volker Ruppert
ecabb60da8
- chipmem read/write limit and dma write size fixed - Windows 95 driver works now
2001-12-20 19:44:16 +00:00
Volker Ruppert
384d4f1cce
- added Windows(tm) keys to the German keymap
2001-12-19 19:15:12 +00:00