Bryce Denney
7fdc7303c2
- add "void reset(unsigned type)" method to every I/O device.
...
Some devices already had one. Some I had to add an empty one.
I did a little cleaning of init() methods to make them more uniform
but generally I left them alone.
- I also put these exact diffs into a patch "patch.iodev-add-reset"
in case I want to revert these changes for some reason, for example
if they break an old patch. It should be deleted after a while.
2002-08-27 19:54:46 +00:00
Gregory Alexander
055d8fa719
Fix a warning.
2002-02-21 21:16:06 +00:00
Gregory Alexander
2e632a4294
BIG fix for initial counts of zero.
2002-02-21 20:56:18 +00:00
Gregory Alexander
eca4aa0720
Fixed the PIT gate and improved the PIT printing options.
2002-02-21 19:22:42 +00:00
Bryce Denney
daf2a9fb55
- add RCS Id to header of every file. This makes it easier to know what's
...
going on when someone sends in a modified file.
2001-10-03 13:10:38 +00:00
Gregory Alexander
67f4ebe68d
Changed OUT to OUTpin.
...
Modified Files:
pit82c54.cc pit82c54.h
2001-09-29 15:31:13 +00:00
Bryce Denney
a4ca526eee
- add preprocessor tricks that undefine the OUT symbol if it's already
...
been defined elsewhere. This had to be done in the old pit as well,
so it's not a new problem by any means.
2001-09-24 02:14:05 +00:00
Gregory Alexander
728252e212
Fixed a small problem in the latching code in the new pit.
...
Personal note: case...BREAK;
This makes OpenBSD and QNX a little happier.
Added debug messages.
Modified Files:
bochs.h iodev/pit82c54.cc
2001-09-05 14:41:55 +00:00
Gregory Alexander
9aa7a88028
Lots of timer stuff.
...
Fixed a "feature" in pc_system.cc with setting timers to small values
that can cause bochs to hang.
Significantly improved the performance of the new PIT.
It's probably ready to become the default now.
Added a preliminary implementation of the slowdown timer
that Bryce and I had talked about.
2001-08-18 03:28:23 +00:00
Bryce Denney
4f10d657ce
- last function never returned a value
2001-08-14 04:56:11 +00:00
Bryce Denney
f229ae1afd
- a right shift by 12 was accidently written as one greater than instead of two
2001-08-14 04:53:32 +00:00
Gregory Alexander
fc0ee2dc3e
Added compiler define to use the new PIT.
...
Also added a hack to keep the OpenBSD timer problem from filling the log.
The new PIT seems to work, but until some
enhancements are made to the way the timers
and devices.cc work, it'll be slower than
the old one.
2001-07-01 20:49:46 +00:00
Gregory Alexander
85b5157a7e
Added significant improvements to the new pit. It's about ready for use.
...
The only big thing it's lacking right now is testing, which is a
little difficult to do, considering the new interface. Oh, well.
2001-06-27 22:25:24 +00:00
Gregory Alexander
d243a4d6cd
Updated pit, fixed a compile problem under AIX.
2001-06-12 23:55:53 +00:00
Gregory Alexander
3c2384b270
Include new PIT .h file.
2001-06-11 03:11:40 +00:00
Gregory Alexander
3a58858042
Added a .h file for the pit.
2001-06-11 00:16:24 +00:00
Gregory Alexander
af1b064007
Added a few access functions to pit, also changed
...
the constructor to an init function so that it can
be called at any time.
2001-06-10 23:53:09 +00:00
Bryce Denney
8d3c28d3de
- added comment clarifying that Greg wrote it, and that it's not linked
...
with the rest of Bochs yet.
2001-05-25 13:11:52 +00:00
Bryce Denney
ccee158458
- changed format of log functions to use BX_ERROR instead of errmsg
2001-05-24 22:20:41 +00:00
Bryce Denney
eacb6e5ccb
- this is Greg Alexander's PIT patch from sourceforge, from
...
2001-05-23 14:35 (maybe EDT?)
2001-05-24 21:44:14 +00:00