Bryce Denney
43c79a0c07
- added missing BX_PCI_THIS in several places
2001-05-29 07:38:22 +00:00
Todd T.Fries
e291dd17d4
demote BX_INFO to BX_ERROR
2001-05-25 22:17:51 +00:00
Todd T.Fries
9ebd237408
more output cleanup
2001-05-25 18:44:38 +00:00
Todd T.Fries
34a4fa7c67
demote INFO/PANIC to DEBUG to silence a number of w98 verbosity by default
2001-05-25 14:25:25 +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
Bryce Denney
d9d312351e
- forgot to add some returns last time
2001-05-24 18:50:59 +00:00
Bryce Denney
5d77c96ef0
- added BX_DEBUG messages here and there to help debug the ne2k code
2001-05-24 18:31:36 +00:00
Todd T.Fries
aa8081aff3
cleanup output more
2001-05-24 14:08:54 +00:00
Todd T.Fries
c8ef550530
irq9, not irq10, thanks angelos@openbsd.org
2001-05-23 19:47:14 +00:00
Todd T.Fries
cd01453c9d
cleanup output
2001-05-23 19:36:55 +00:00
Todd T.Fries
70099281ff
tweaks and if(bx_dbg.foo) BX_INFO -> BX_DEBUG ..
2001-05-23 14:31:21 +00:00
Bryce Denney
af4ccaae3e
- added I/O APIC and local APICs
...
- for more details, see BRANCH-smp-bochs
2001-05-23 07:48:11 +00:00
Bryce Denney
7f5f5e24ce
- g++ gave warning about "class eth_pktmover_c has virtual functions but
...
a non-virtual destructor" so I gave it a virtual destructor which is
empty!
2001-05-23 02:44:52 +00:00
Bryce Denney
42bc8f4f2c
- extern not needed anymore
2001-05-23 02:42:55 +00:00
Todd T.Fries
12457577c1
ne2k from angelos@OpenBSD.org
2001-05-23 00:46:47 +00:00
Bryce Denney
d7d75a7bdc
- changed some messages from BX_INFO to BX_DEBUG so that they wouldn't
...
show up by default.
2001-05-22 18:48:31 +00:00
Bryce Denney
a9b282ece5
- BX_WARN doesn't exist any more! Change them all to BX_INFO.
2001-05-20 03:27:05 +00:00
Bryce Denney
dc95af092a
- fixed missing close paren in BX_PANIC call
2001-05-20 03:18:10 +00:00
Bryce Denney
db087c7f6a
- try to avoid printing null pointers if midifil, wavefile, logfile
...
are not defined. This happens if SB16 is configured but then does
not appear in the .bochsrc.
2001-05-17 20:58:31 +00:00
Bryce Denney
416f52f3e8
- comment out 2 lines with IXOFF and TCSAFLUSH for FreeBSD, at request of
...
Maxim Sobolev who sent me patches.
2001-05-17 06:44:06 +00:00
Todd T.Fries
7ad6e82e00
merge in submission from freebsd ports
2001-05-16 17:39:07 +00:00
Todd T.Fries
a3d6cc1941
have the memory show the sim_id in the prefix, instead of adding (0) to the
...
log
2001-05-15 15:21:19 +00:00
Todd T.Fries
bdb89cd364
merge in BRANCH-io-cleanup.
...
To see the commit logs for this use either cvsweb or
cvs update -r BRANCH-io-cleanup and then 'cvs log' the various files.
In general this provides a generic interface for logging.
logfunctions:: is a class that is inherited by some classes, and also
. allocated as a standalone global called 'genlog'. All logging uses
. one of the ::info(), ::error(), ::ldebug(), ::panic() methods of this
. class through 'BX_INFO(), BX_ERROR(), BX_DEBUG(), BX_PANIC()' macros
. respectively.
.
. An example usage:
. BX_INFO(("Hello, World!\n"));
iofunctions:: is a class that is allocated once by default, and assigned
as the iofunction of each logfunctions instance. It is this class that
maintains the file descriptor and other output related code, at this
point using vfprintf(). At some future point, someone may choose to
write a gui 'console' for bochs to which messages would be redirected
simply by assigning a different iofunction class to the various logfunctions
objects.
More cleanup is coming, but this works for now. If you want to see alot
of debugging output, in main.cc, change onoff[LOGLEV_DEBUG]=0 to =1.
Comments, bugs, flames, to me: todd@fries.net
2001-05-15 14:49:57 +00:00
Todd T.Fries
9709e481da
temp fix for panic that causes OpenBSD to not boot
2001-05-08 21:19:57 +00:00
Bryce Denney
545355f9b4
- instead of complaining that "the grey delete is not on an 83-key keyboard",
...
just return the same scancode as the real delete key.
2001-05-08 20:04:13 +00:00
Bryce Denney
dfd58f5a0f
- this change should not affect functionality at all. Make IDE_DISK the
...
default for diskd, but if a cdrom is present change to a cdrom.
2001-05-08 19:55:40 +00:00
Bryce Denney
debed8cc55
- for OpenBSD, remove extern "C" { } around the includes. Apparantly
...
that is no longer needed.
2001-05-08 19:51:46 +00:00
Bryce Denney
d9af1b1eb9
- reset patch by Todd Fries
2001-05-08 17:59:38 +00:00
Bryce Denney
a7b7563e3c
- add support for split hard disk image, so that it is possible to store
...
different partitions in separate files.
2001-05-07 05:47:59 +00:00
Bryce Denney
2c60492524
- add comments that vga registers 0x3c7,0x3cb are read regularly by
...
OpenBSD. Until I see some documentation, I'd rather not ignore the
panics just yet.
2001-05-03 21:14:56 +00:00
Bryce Denney
ebc315500e
- added code to fill in CMOS registers 0x24-0x2c when diskd is present.
...
- made the code that fills 0x1b-0x23 for diskc conditional on diskc being
present; this was probably not necessary.
- added some code (still commented out) that will help in supporting a second
IDE interface.
2001-05-03 21:08:42 +00:00
Bryce Denney
10412cdf1e
- why restrict when people read the sector count? This was causing
...
unnecessary panics on openbsd when sector count was read soon after a
reset.
2001-05-03 20:40:08 +00:00
Bryce Denney
8e9caa8ddb
- implement mouse command 0xf6 set defaults
...
- fix typo in printf message
2001-05-03 17:50:50 +00:00
Bryce Denney
596679b875
- applied patch.xwin-timing by Suboner@aol.com. His comments:
...
Basicly what it does is, it help VGA16 find the syncing, because of the
technique it uses, bochs did not help it figure out the timing diffrences
with its one size fits all timing.
2001-05-03 17:00:38 +00:00
Bryce Denney
310f1ae948
- make it easy to enable mouse debug output again with macro
2001-05-03 00:42:29 +00:00
Bryce Denney
ad175e9aae
- specify where on the hard drive it fails to read or write.
2001-05-03 00:41:36 +00:00
Bryce Denney
417e4c01ec
- print which unknown hard drive command causes a panic
2001-04-10 02:33:27 +00:00
Bryce Denney
431b22c1e8
- from Don Becker: had to typecast &waveformat.wf to (LPWAVEFORMATEX) type
2001-04-10 02:29:45 +00:00
Bryce Denney
a6fef54678
- update copyright dates to 2001 for all mandrake headers
...
- for bochs files with other header, replaced with current mandrake header
2001-04-10 02:20:02 +00:00
Bryce Denney
cf780f13ce
- applied patch from Don Becker. Bypass fstat when opening WIN32 raw
...
floppy disk.
2001-04-10 02:17:43 +00:00
Bryce Denney
955b0a924f
- applied patch from Don Becker.
...
CDROM drive letter for WIN32 is no longer hardcoded.
2001-04-10 02:17:10 +00:00
Bryce Denney
add7fc9a4d
- applied patch from Greg Alexander: implement VGA enable register at 0x3c3.
2001-04-10 02:16:18 +00:00
Bryce Denney
43894ea539
- Applied patch from Roland Mainz, 4/1/2001
...
Support Sun CDROM.
2001-04-10 02:15:31 +00:00
Bryce Denney
d12a76d30b
- Applied patch: pit-panic.
...
The 82c54 model (pit.cc) implements timer modes 0, 2, and 3 in its handler
functions, without caring which timer number is involved. However, the
I/O write code that sets the mode is inconsistent.
Timer 0 can be set to modes 0,2,3 only.
Timer 1 can be set to mode 2 only.
Timer 2 can be set to mode 2,3 only.
From a quick reading of an 8254 datasheet, I can't see any reason to
restrict which timer can be in which mode, so I think it's correct to
allow ALL timers to go into ALL modes that are implemented.
2001-04-10 02:14:37 +00:00
Bryce Denney
55de7270df
- Applied patch from Greg Alexander, 12/27/2000.
...
Enable writes to the mouse output buffer and enable mouse DATA_READ command.
2001-04-10 02:12:30 +00:00
Bryce Denney
4e04f4cb58
- change all inline declarations to one of two macros: BX_C_INLINE or
...
BX_CPP_INLINE. Then in config.h.in you can define these two as you
wish.
2001-04-10 02:10:09 +00:00
Bryce Denney
b05159c112
- Applied patch from Greg Alexander, 12/22/2000.
...
Implement aborts on a few SET FEATURE commands for ATA.
2001-04-10 02:09:09 +00:00
cvs
beff63eb32
- entered original Bochs snapshot bochs-2000_0325a.tar.gz from
...
ftp.bochs.com
2001-04-10 01:04:59 +00:00