1
0
Fork 0
Commit graph

40 commits

Author SHA1 Message Date
Sebastian Strohhäcker
3b2a10e63b timer fix for 1000 Miglia (hal)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2680
2006-08-03 19:36:12 +00:00
Peter Veenstra
06297a72ae Don't raise irq 0 when programming a new timer instantatanously. Take in account that the hardware requires some time to be setup as well.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2669
2006-07-10 09:27:37 +00:00
Peter Veenstra
4775cd6f42 Synchronize timer on repeated events to compensate for lost accuracy.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2628
2006-05-19 10:34:02 +00:00
Peter Veenstra
8ece9230da timer mode 0 counter after passing terminal count update by h-a-l-9000.(Fixes Archon Ultra and The Horde)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2624
2006-05-18 11:25:46 +00:00
Peter Veenstra
49870fee9c Implement counter status.(h-a-l-9000)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2592
2006-04-11 12:02:09 +00:00
Peter Veenstra
da5641fc2f Revert former fix so that panic works again. (DSTROY still works as well). Makes no sense though.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2525
2006-02-27 20:16:49 +00:00
Peter Veenstra
df67775306 time passes on and on....
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2480
2006-02-09 11:47:57 +00:00
Peter Veenstra
bc49a1ce91 Fix timers. Timer irq will now be removed if a mode 0 is programmed (fixes DSTROY). Added some explanation on why this should happen. Changed the old check to use to old timer mode instead of the new mode.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2261
2005-08-07 17:33:15 +00:00
Peter Veenstra
d382abd209 New configuration layer. Runtime changing of settings.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2160
2005-03-25 11:52:32 +00:00
Peter Veenstra
2094d8b985 Year update
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2106
2005-02-10 10:21:12 +00:00
Peter Veenstra
2ae5a14bcf Handle mode 0 differently
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2054
2004-11-13 11:59:46 +00:00
Sjoerd van der Berg
dfbb195418 changes for improved timing event system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1968
2004-09-10 22:15:20 +00:00
Sjoerd van der Berg
d94017a7b1 Add checking if an irq needs to be raised immediatly when programming new timer
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1945
2004-09-07 11:28:27 +00:00
Sjoerd van der Berg
f20a8594a8 Don't reset the current timer when programming a new unless it's a mode 0 timer
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1934
2004-08-31 15:56:10 +00:00
Peter Veenstra
ca409fd57c Typo in preamble
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1899
2004-08-04 09:12:57 +00:00
Sjoerd van der Berg
13d4604573 Check that timers don't get 0 microseconds intervals
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1847
2004-06-20 17:01:58 +00:00
Sjoerd van der Berg
3e6947cb87 Add reading of timer 1 and give it the value xt bios gives it
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1835
2004-06-17 07:27:55 +00:00
Sjoerd van der Berg
9cd769b878 New io handler functions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1758
2004-04-03 19:35:34 +00:00
Peter Veenstra
11b3ee2999 added basic BCD counting
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1695
2004-03-03 12:37:12 +00:00
Sjoerd van der Berg
44464a2a53 Changed event and ticker handlers.
Removed the micro timers.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1657
2004-02-07 18:37:16 +00:00
Peter Veenstra
76460ed400 Chuck Yeager timer inits (Srecko)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1551
2004-01-10 11:43:41 +00:00
Peter Veenstra
c36318f721 correct all unintentional changes
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1314
2003-10-14 08:38:36 +00:00
Ulf Wohlers
5e13e5c0e4 argh, committed good file...
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1313
2003-10-13 22:01:07 +00:00
Ulf Wohlers
55591a56da no message
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1312
2003-10-13 19:44:47 +00:00
Peter Veenstra
eba92fc10a fixed crashes in MadTv1 (reading from pit 2 without being latched first)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1217
2003-09-01 20:16:59 +00:00
Sjoerd van der Berg
feb42742ac Moved some timer tick handling to PIC
Changed pic_runqueue a bit for new pic scheduling handling.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1160
2003-07-26 10:45:11 +00:00
Sjoerd van der Berg
75c8236f5b don't exit on unhandled pit commands
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1091
2003-07-06 15:31:47 +00:00
Sjoerd van der Berg
b222a9576a Warning clean up
Removing some old unused routines
Addind some newlines after some files.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1077
2003-06-19 17:12:50 +00:00
Peter Veenstra
bbb7cf45b0 updated loggingsystem
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@989
2003-05-04 19:19:09 +00:00
Sjoerd van der Berg
bb30f7f309 Fixed mixup with LSB and MSB when reading timer latch.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@949
2003-04-20 10:44:15 +00:00
Sjoerd van der Berg
9a34d7bd32 Fixes to pit timer mode 0
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@783
2003-03-22 08:52:20 +00:00
Sjoerd van der Berg
1e853d8dc6 Some support for special latch command.
Fix to mode 0 timers.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@760
2003-03-13 21:20:22 +00:00
Peter Veenstra
f79eaaba75 updates for new logging system
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@695
2003-02-27 19:56:22 +00:00
Sjoerd van der Berg
6e61c2621a Changed it so pit counters count down and correct latching of mode 3 timers.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@572
2002-12-16 09:31:38 +00:00
Peter Veenstra
7e0be98e8c VSC doesn't all the casts
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@544
2002-11-28 18:22:12 +00:00
Sjoerd van der Berg
64540317fa New timer code and timer event handling
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@517
2002-11-17 11:17:30 +00:00
Peter Veenstra
d0fc1da99b added support for a config class/file. System not initialized perfect yet!
(env is not fixed)


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@289
2002-09-17 20:07:25 +00:00
Sjoerd van der Berg
3edbb75c02 Back to old timer code, removed timeragain variable
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@276
2002-09-16 13:14:13 +00:00
Sjoerd van der Berg
0809de690d New timer code, now avarages time index requests.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@262
2002-09-06 20:03:37 +00:00
Sjoerd van der Berg
42e5d0b779 First CVS upload.
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@80
2002-07-27 13:08:48 +00:00