Jonathan Campbell
ba48a170bf
Fix timer handling to make IRQ 0 an edge trigger interrupt. Add code to PIC emulation to process said interrupts as edge trigger, do not signal the IRQ unless PIC_DeActivateIRQ() is called, then PIC_ActivateIRQ(). For some reason, this also seems to fix the audio in Tyrian 2000, though the audio still sounds a tiny bit crackly
2025-03-02 11:49:46 -08:00
Jonathan Campbell
6eb895b7ff
Use long double for PIC tick and fullindex if available for extra precision
2022-06-08 22:50:10 -07:00
Allofich
9294d450ec
SVN r4412
...
Update copyright.
2021-03-06 21:18:08 +09:00
rderooy
608a657b50
Update copyright year for dosbox and dosbox-x assets and update FSF address
2020-06-25 08:42:32 +02:00
Allofich
d84a812743
SVN r4183 (second half)
...
Update year
2019-06-03 23:01:41 +09:00
Allofich
05619dd023
SVN r4183 (first half)
...
Update address of FSF
2019-06-03 22:54:46 +09:00
Jonathan Campbell
56da8f99a1
PIC: Offer a way for callbacks to retrieve what time they were meant to be called at
2018-12-05 21:52:30 -08:00
Jonathan Campbell
33c9f28096
Turn IRQ hacks into a bitfield, to allow multiple hacks
2018-08-15 13:41:17 -07:00
Jonathan Campbell
53dec70e75
more
2018-06-02 02:00:58 -07:00
Jonathan Campbell
f00bf2726e
CPU cycles count typedef
2018-05-25 19:09:15 -07:00
Jonathan Campbell
2a57c7db5e
PIC event change to typedef, which by default is double. float and double these days on x86 provide roughly the same performance
2018-05-25 09:05:35 -07:00
Jonathan Campbell
4eb7d99867
Sound Blaster IRQ hack (and PIC IRQ hack in general). A new option "irq
...
hack" has been added to deal with a handful of DOS games/demos with
flawed Sound Blaster interrupt service routines. Currently, the only
hack available is to specify that the Sound Blaster IRQ should fire only
when CPU segment registers CS and DS match. The reason for this hack is
1993 demo "Saga" by Dust. The demo's Sound Blaster IRQ handler uses DS
to refer to local storage in the code segment but it does not load DS to
make the access valid. Sooner or later, the ISR is triggered when
DS != CS (usually when the demo is busy drawing on the screen), and the
Sound Blaster IRQ handler hangs. Enabling this hack ensure the buggy ISR
does not hang.
2015-12-23 17:04:15 -08:00
Jonathan Campbell
ec7aec4d98
run the source code through dos2unix. it seems to help with applying
...
patches.
2015-08-16 02:00:24 -07:00
Jonathan Campbell
21614b8c3f
toss out my copy, integrate tawoongs's daum branch code into mine,
...
remove what won't compile, begin work.
2013-10-14 05:07:26 -07:00
root
f331824031
port from svn
2013-07-07 20:39:49 -07:00