Commit Graph

1104 Commits

Author SHA1 Message Date
Bryce Denney
1e46afa918 - Dave applied these patches 2001-12-02 04:16:16 +00:00
instinc
3bd36d7220 added the trace-reg-on and trace-reg-off commands 2001-11-28 18:40:02 +00:00
instinc
2be059ee4f added the trace-reg-on and trace-reg-off command 2001-11-28 18:39:19 +00:00
instinc
170eed5b66 added the trace-reg-on and trace-reg-off command
updated the register trace to bypass the lazy flags behaviour
2001-11-28 18:38:32 +00:00
instinc
0a87115340 added trace-reg-on and trace-reg-off commands 2001-11-28 18:37:12 +00:00
Bryce Denney
22de9ce18e - patch from Dave Poirier, sent to list Nov 27 2001-11-28 18:19:21 +00:00
Bryce Denney
c95bdd6a35 - patch from Dave Poirier, sent to list Nov 27 2001-11-28 18:13:30 +00:00
Bryce Denney
6a03773831 - I've had several reports of how to reproduce the 'slave OCW3 not implemented'
condition, so I've removed it now.
2001-11-27 18:15:39 +00:00
Volker Ruppert
e8ae65d473 - move the #ifdef statement after the BX_KEY_RELEASED definition 2001-11-27 09:51:37 +00:00
Volker Ruppert
6e28bf9738 - patch for international keyboard support based on patch.kbd-dieter 2001-11-26 21:30:49 +00:00
Volker Ruppert
2102016517 - MF-II identification and some missing keys added 2001-11-26 09:55:30 +00:00
Volker Ruppert
b15f487153 - some missing BX_KEY definitions added 2001-11-26 09:54:12 +00:00
Volker Ruppert
db4401adb8 - serial functions added, MF-II keyboard functions added, parport updates 2001-11-26 07:26:55 +00:00
Volker Ruppert
840ee719e5 - exchange the scancode of "Numlock" and "Pause", numlock works again 2001-11-26 07:24:16 +00:00
Volker Ruppert
74541540e9 - event handler recognizes the extended keycode flag 2001-11-23 18:03:23 +00:00
Bryce Denney
67fb4242e4 - latest attempt at putting buildroot back into the rpm spec file.
Still failing.
2001-11-21 04:13:05 +00:00
Bryce Denney
26b2c0254c - this revision is based on a patch from Cliff Hones <cliff@aonix.co.uk>.
Cliff added to bios_printf the ability to print onto the console.  Bryce made
  some further changes.  Now when a panic occurs, the message is reported both
  to the Bochs log file and to the screen, and then it goes into an infinite
  busy loop.  Why an inf loop?  If I do a HLT in BIOS code, current bochs
  versions will panic immediately and the user will never see the real panic
  message.  I have mostly tested the new panic behavior by booting nonbootable
  and nonreadable disks.
2001-11-21 02:33:05 +00:00
Bryce Denney
21e102208d - add instructions for getting CDROM to work in DOS 2001-11-21 02:13:47 +00:00
Bryce Denney
003f8dc7e0 - update vga screen when you enter the logfunctions::ask() function. This is
useful because sometimes useful messages are printed on the screen just
  before a panic.  It's also potentially dangerous if the vga update function
  calls ask() again...so I added a re-entry check.
2001-11-21 00:25:15 +00:00
Bryce Denney
f003961953 - explictly turn off readline. Then if you add --enable-debugger, it will
not try to use readline, even when the configure system is able to find it.
2001-11-21 00:16:17 +00:00
Bryce Denney
c10e29e402 - mkfontdir was running in the wrong directory. Added "/misc" to the path. 2001-11-20 05:57:18 +00:00
Bryce Denney
5820c9de92 - this patch is from Dieter Mittelmaier <dieter.mittelmaier@freenet.de>
He sent it to me on July 4, and I've been far too slow getting it
  checked in.
2001-11-19 18:36:35 +00:00
Bryce Denney
c7e0891d57 - I applied this patch.
The master PIC ignores commands 0xc0-0xc7.  This change just makes the slave
  PIC ignore these same commands.  It does not implement the commands.
2001-11-19 14:42:25 +00:00
Bryce Denney
e5a992a796 - master PIC ignores commands 0xc0-0xc7. This change just makes the slave
PIC ignore these same commands.  It does not implement the commands.
2001-11-19 14:41:03 +00:00
Bryce Denney
a17559cd15 - add pic fix patch from Jonathan Hunt <jhuntnz@users.sourceforge.net> 2001-11-19 14:38:48 +00:00
Bryce Denney
1e6aecc86a - add example line in bochsrc that will use Christophe Bothamy LGPL vga bios.
It is commented out so that it doesn't conflict with the Elpin bios line.
2001-11-19 14:36:26 +00:00
Bryce Denney
77cdb18620 - add LGPL bios by Christophe Bothamy <cbbochs@free.fr>. When new versions
are released, I will remove VGABIOS-cbothamy-0.2a and add a file with
  the other version number.  I decided not to use the "-latest" naming
  scheme because there is no synchronization between bochs releases and
  LGPL VGA BIOS releases.  Anything that's called "latest" is bound to
  go obsolete eventually.
2001-11-19 14:35:05 +00:00
Bryce Denney
90320590ad - oops I forgot --with-amigaos. 2001-11-19 04:17:47 +00:00
Bryce Denney
c37e0c9ba2 - hacked this patch a bit. I've been mostly testing the new code by
booting nonbootable and nonreadable floppy disks.
2001-11-18 16:56:52 +00:00
Bryce Denney
fad446ef63 - fix bug I created in rev 1.15 which caused all boot problems to be
reported as "not a bootable disk" even if it was "not a readable disk".
2001-11-18 16:40:26 +00:00
Bryce Denney
976e0b67d9 - clarify panic message. It panics if HLT is executed from segment 0xf000,
in other words from ROM BIOS code.
2001-11-18 16:32:40 +00:00
Volker Ruppert
0e87d7cfdc - the patch is checked in, but PCI is still incomplete 2001-11-18 13:34:42 +00:00
Bryce Denney
5dffdf207b - add patch from Cliff Hones. he says it doesn't quite work, but I asked
for it anyway.
2001-11-18 06:31:56 +00:00
Bryce Denney
c5df95c4c1 - mention 1.3, but there is no changelog yet 2001-11-18 05:07:39 +00:00
Bryce Denney
dd1b64b5cb - don't make all on install_win32 target, since the makefile is built for
nmake and the install_win32 target is intended for cygwin.
- work around some bug with unix2dos that doesn't let it read from
  absolute path (?)
2001-11-18 02:32:59 +00:00
Bryce Denney
32d888e7e6 - update for 1.3.pre1 2001-11-18 01:44:39 +00:00
Bryce Denney
8a00171179 - checked in cmpxchg8b patch from Michael Hohmuth <hohmuth@innocent.com> 2001-11-17 22:22:03 +00:00
Bryce Denney
75f5d636ca - use chmod and be sure that the vga.pcf font is installed so that it
is readable by all
2001-11-17 22:13:38 +00:00
Bryce Denney
33da4882f2 - clean up compile section and add subsections with platform specific hints 2001-11-17 22:04:33 +00:00
Bryce Denney
9111c33167 - add amigaos configure shortcut script 2001-11-17 21:36:58 +00:00
Volker Ruppert
6333bcd2a4 - changed some panics to errors, register behaviour and messages fixed 2001-11-17 18:10:54 +00:00
Bryce Denney
e17ad6f50b - clarify that sending parallel port output to raw dev is unix only
- remove Id tag in bximage example, since it gets replaced with the
  Id of the whole file.
2001-11-17 17:20:29 +00:00
Bryce Denney
1fbdc6544f - move cvs write info into the real docbook 2001-11-17 17:16:35 +00:00
Bryce Denney
5080a0e755 - rename mailing list link 2001-11-17 17:16:12 +00:00
Bryce Denney
94ad83d9ad - include ../include/defs.sgm
- add vasudeva as editor
- add section about setting up cvs write access
- add fixmes on most other sections
2001-11-17 17:15:38 +00:00
Bryce Denney
8a4eb1f3e0 - add vasudeva as editor 2001-11-17 17:14:42 +00:00
Bryce Denney
c1273a5974 - add vasudeva as editor
- add tip about using winimage
2001-11-17 17:14:28 +00:00
Volker Ruppert
820ca4b2a6 - cygwin compilation error fixed 2001-11-16 23:10:59 +00:00
Bryce Denney
d1bd5f8e7c - add cdrom and sb16 since .conf.win32-vcpp has those too 2001-11-16 14:23:17 +00:00
Volker Ruppert
3f35c13958 Printer response works again if the config option is "enabled=0" or fopen() fails. 2001-11-15 23:35:26 +00:00
Bryce Denney
d95d2235c4 - more hints about mounting disk images 2001-11-15 22:15:07 +00:00
Bryce Denney
7f70b4ffd5 - finish up cvs write instructions 2001-11-15 17:44:50 +00:00
Bryce Denney
0435f4cace - adding instructions for cvs write access 2001-11-15 17:38:52 +00:00
Bryce Denney
980643e0fb - add CMPXCHG8B patch from Michael Hohmuth <hohmuth@innocent.com> 2001-11-15 16:53:24 +00:00
Bryce Denney
a617b4e739 - added Greg Alexander's "how to make a disk image" 2001-11-14 14:42:04 +00:00
Bryce Denney
892badb077 - add SMP simulation instructions 2001-11-14 04:37:24 +00:00
Bryce Denney
2478decb1e - add link to mailing list archives 2001-11-14 04:18:24 +00:00
Bryce Denney
4ddbf9381a - fix up mailing list section so that it describes both bochs-announce
and bochs-developers, and who should use which list.
2001-11-14 04:08:10 +00:00
Bryce Denney
6a9b5c513d - move "Supported Platforms" into the Intro section 2001-11-14 02:43:45 +00:00
Bryce Denney
f07023c86a - add Features table at end of Introduction section 2001-11-14 02:40:55 +00:00
Bryce Denney
497e4a5227 - fix up configure options table 2001-11-14 01:45:47 +00:00
Bryce Denney
fea759a204 - apply patch.pci from Volker Ruppert. See
[ #481546 ] pci patch (Volker Ruppert) for any followups.
2001-11-14 01:39:22 +00:00
Bryce Denney
f1dad2cf92 - PCI patch from Volker Ruppert from October 27, 2001 2001-11-14 01:35:27 +00:00
Bryce Denney
6b291faebc - applied this patch 2001-11-14 01:29:20 +00:00
Bryce Denney
ed45dddd21 - Volker Ruppert's fix to keyboard typematic rate 2001-11-14 01:28:53 +00:00
Bryce Denney
aa13968341 - more improvements from Volker.
- fopen with "wb" so that win32 doesn't translate CRLF
    - add initmode setting
    - fix bug, fill in behavior in write handler
    - now it works for him with DOS, Linux, and Windows guests
2001-11-14 00:29:20 +00:00
Bryce Denney
efc5708ddf - "const char" fixes from Volker 2001-11-14 00:23:08 +00:00
Bryce Denney
b4bdc25b3f - touch up bochs history
- change "ch07" to "mailinglist" so that we can renumber easily
- add current information on who maintains different bochs ports, and pleas
  for help on the ones with no maintainer.  Removed FreeDOS--it's not
  a host OS.  Maybe this fits in a list of guest OSes, but for now it
  goes in the trash.
2001-11-13 07:00:09 +00:00
Bryce Denney
4f50e37b7f - add shortcut for bochs developers mailing list 2001-11-13 06:57:33 +00:00
Bryce Denney
918a32a67a - patch from Mike Rieker <mrieker@o3one.org> associated with this bug rpt:
[ #480422 ] gdt 'accessed' bit
2001-11-13 05:11:41 +00:00
Bryce Denney
5edbdc5741 - copied Volker's instructions on mounting a disk image in Linux from
misc.txt into the user guide.
2001-11-13 00:01:57 +00:00
vasudeva
9ad7fe1c69 Removed to-do reference to mailing list in Chapter 5: Using Bochs.Converted reference in Chapter 2: FAQ into cross-reference to new Chapter 7.Created Chapter 7 for mailing list subscription instructions. 2001-11-12 21:51:10 +00:00
Bryce Denney
7296b909b6 - update so that it applies cleanly to current CVS 2001-11-12 18:42:14 +00:00
Bryce Denney
315dd94b24 - add patch from
[ #451612 ] text modes with 8x8 characters
  it was gzipped and had dos format newlines
2001-11-12 18:41:41 +00:00
Bryce Denney
5d4b874014 - correction to color #6 based on followups to
[ #466403 ] make text colors more accurate
2001-11-12 18:33:28 +00:00
Bryce Denney
5585e0cb30 - fixes based on Roland Mainz's patch.mainz-2001-10-05. 2001-11-12 18:28:07 +00:00
Bryce Denney
980670a26a - document how to use raw floppy on unix and winNT, win2k 2001-11-12 18:22:19 +00:00
Bryce Denney
7b3980d9df - apply patch.rfb-mouse by MURANAKA Masaki (monaka@users.sf.net)
see this source forge bug for details:
  [ #457968 ] Strange mouse motion on RFB
2001-11-12 17:56:47 +00:00
Bryce Denney
9788c1b6cc - add a retry loop in RFB code, so that if port 5900 is not available
it can try 5901, etc.  On linux, if a server bound to port 5900 exits
  without closing the socket, you can't re-bind to the socket for a few
  minutes.
2001-11-12 16:45:28 +00:00
Bryce Denney
2cc4dbf1a2 - this patch was submitted along with bug report
[ #457968 ] Strange mouse motion on RFB
2001-11-12 16:06:26 +00:00
Bryce Denney
3934cd370c - change a few "char"s to "const char", from Roland Mainz compile patch 2001-11-12 03:34:45 +00:00
Bryce Denney
94ba0f4ca4 - remove some "#if BX_DEBUG" lines. What are these anyway? They've
probably been treated as ifdef instead, but a sun compiler doesn't like
  them.  Anyway, they were being used around a check for irq_num > 15.
  This bounds check seems ok to do all the time, so I just removed the
  #if BX_DEBUG lines and corresponding #endifs.
2001-11-12 03:29:18 +00:00
Bryce Denney
f95a8f1885 - bugfix for typematic info, from Volker Ruppert 2001-11-12 03:22:11 +00:00
Bryce Denney
463f10831c - applied on september 29, 2001 2001-11-12 02:57:25 +00:00
Bryce Denney
0c0724be10 - already applied and works great AFAIK 2001-11-12 02:56:34 +00:00
Bryce Denney
2437357119 - this was checked in on october 2, 2001 and has caused no trouble yet 2001-11-12 02:50:07 +00:00
Bryce Denney
8520d6111e - applied november 11, 2001. Well, I applied it, hacked it to move it all
into gui/ and then checked it in.
2001-11-12 02:47:14 +00:00
Bryce Denney
e0ba5edbba - already applied, and hasn't caused any trouble so far 2001-11-12 02:46:09 +00:00
Bryce Denney
4576357f8e - applied october 9, 2001 2001-11-12 02:42:38 +00:00
Bryce Denney
5914336a30 - applied this patch October 7, 2001. I only made a patch at all to make
it easy to revert it all at once.
2001-11-12 02:41:38 +00:00
Bryce Denney
0303cb924e - applied this patch on 2001/09/19 2001-11-12 02:40:06 +00:00
Bryce Denney
c5a79e84e6 - I applied this patch and checked it in today. 2001-11-12 02:36:41 +00:00
Bryce Denney
c52fbaa3a7 - allow configuration of the parallel port in .bochsrc and the config
interface menus.  Parallel port #1 is implemented, and I left stubs for
  parallel port #2 in case we want to ever add it.  If the parallel port
  is enabled, the init method of parallel.cc does an fopen() on the output
  file.  If disabled, or if the fopen fails, the file handler remains
  NULL and no characters are printed.  There is no attempt to enable/disable
  the operation of the parallel port, only the output to a file.
2001-11-12 02:35:09 +00:00
Bryce Denney
1d94019ce0 - add comments saying who wrote most of this file
- add fflush after every character written to output file
2001-11-12 01:45:21 +00:00
Bryce Denney
c685af1bdc - in sync with rombios.c 1.20. The change is from patch.parport by
Volker Ruppert which fixes parallel port access.
2001-11-12 01:34:20 +00:00
Bryce Denney
a2efc4c5de - commit patch.parport from Volker Ruppert. I tested it by running
"copy FILE prn" in a freedos image.
2001-11-12 01:33:01 +00:00
Bryce Denney
4b60b69bf4 - fail fast if you try --enable-idle-hack with any gui except for X11. 2001-11-12 00:49:57 +00:00
Bryce Denney
e0b4801b1f - commit Roland Mainz's idle hack as a configure option. To try it,
configure with --enable-idle-hack.  I have moved most of the code into
  x.cc since it is X windows specific.
2001-11-12 00:45:09 +00:00
Bryce Denney
50f84e5947 - add configure switch called --enable-idle-hack that turns on
Roland Mainz's idle patch.
2001-11-12 00:43:59 +00:00
Bryce Denney
1a77f3bedd - parallel port patch from Volker Ruppert 2001-11-11 22:55:02 +00:00
Bryce Denney
0d632755fe - in read_toc, make all platforms use the same code if using_file==1. 2001-11-11 14:41:53 +00:00
Bryce Denney
fa88fc2083 - do environment variable substitutions on any strings in the .bochsrc 2001-11-11 05:44:40 +00:00
Bryce Denney
7c92e20272 - add test for getenv 2001-11-11 05:43:12 +00:00
Bryce Denney
b0f829ecda - fix silly output problem that caused it to print "0 megs" all the time 2001-11-11 05:07:05 +00:00
Bryce Denney
c100b382fe - in task_switch when it tried to ensure that the old TSS was paged in,
it actually used the new TSS address, fixed.
- add a debug line that says what CR3 is changed to
2001-11-11 04:57:05 +00:00
Bryce Denney
93913d3606 - fix output of info gdt for TSSes 2001-11-11 04:55:14 +00:00
Bryce Denney
88893a868d - Committed patch.pic-slave-special-mask to fix bug
[ #468340 ] pic:slave: OCW3 not implemented

  The service_master_pic() method supported special mask mode but
  service_slave_pic() did not.  I added the code to service_slave_pic().  I
  have no clear way to test that this is actually working right.  If I can put
  a gdb breakpoint in the pic.cc code and then step through and watch it work,
  I'll be more confident.
2001-11-11 00:45:42 +00:00
Bryce Denney
30abf51d43 - patch for bug #468340: pic:slave: OCW3 not implemented.
The service_master_pic() method supported special mask mode but
  service_slave_pic() did not.  I added the code to service_slave_pic().  I
  have no clear way to test that this is actually working right.  If I can put
  a gdb breakpoint in the pic.cc code and then step through and watch it work,
  I'll be more confident.
2001-11-11 00:43:52 +00:00
Bryce Denney
b4aa45671b - Applied patch from Santiago Bazerque. See this bug report:
[ #463018 ] retf not removing parameters sometimes
2001-11-10 23:00:55 +00:00
Bryce Denney
1064a2e2c8 - this script works on openbsd if you remove the "-av" args from cp
and change >& to >, so I did.
2001-11-10 04:09:16 +00:00
Bryce Denney
9293dc29b8 - don't give up if install_fonts fails. It can fail just because you
aren't root.
2001-11-10 04:00:52 +00:00
Bryce Denney
5d13ab349c - don't do chown in install process because it prevents normal users from
installing it in their own dir
2001-11-10 04:00:10 +00:00
Bryce Denney
473e3f1c88 - I have tried to make the --prefix argument to configure control
everything about the installation path.  There should be no more
  hardcoded references to /usr/local/bochs.  Instead, there are
  references to @prefix@ which get replaced by the configure script
  with the real prefix.
2001-11-10 03:48:22 +00:00
Bryce Denney
9a04460e23 - I got rid of the buildroot because now the Bochs related scripts know
what directory they were installed in.  For example bochs-dlx and
  bochs-docs, etc. have the $prefix substituted into them, so if the
  prefix is /var/tmp/rpm-buildroot/usr/bochs then they will not work
  right.
2001-11-10 03:39:55 +00:00
Bryce Denney
a235489642 - fix segfault I introduced by making the previous revision too hastily 2001-11-10 03:12:44 +00:00
Bryce Denney
68fcae6259 - I'm going to install into /usr so the files must be listed in /usr too. 2001-11-10 02:06:26 +00:00
Bryce Denney
44fe9318ec - change "rm" to "rm -f". What a dumb problem. 2001-11-10 01:41:36 +00:00
Bryce Denney
97d25485be - I'm told that packages should install into /usr/bochs instead of
/usr/local/bochs.
2001-11-10 01:36:33 +00:00
Bryce Denney
e1968fb8e3 - put RCD Id on bxversion.
- in bochs-docs, bochs-dlx replace /usr/local with the $(prefix) so that
  the scripts can work wherever they are installed
2001-11-10 01:35:58 +00:00
Bryce Denney
b33e0800e0 - copy README and testform.txt to your .bochs directory too 2001-11-10 01:05:23 +00:00
Bryce Denney
0a5e2d6d1d - gzip the DLX hard disk image when you install
- set safe permissions on dlxlinux files and directory when you install
2001-11-10 01:04:39 +00:00
Bryce Denney
ac7c4bfbb1 - give it a style sheet similar to the rest of the site, fix broken links, etc. 2001-11-10 00:53:43 +00:00
Bryce Denney
ee01324835 - since I can't generate PDF and PS, just make links to HTML docs 2001-11-10 00:47:03 +00:00
Bryce Denney
c4aeeeac90 - teeny: add <screen> tag to make some list prettier 2001-11-10 00:41:25 +00:00
Bryce Denney
b902802933 - don't pretend we can change IPS at runtime--at present we can't. 2001-11-10 00:40:40 +00:00
Bryce Denney
3e45a81ae4 - now hd10meg.img can be stored gzipped in dlxlinux directory 2001-11-10 00:05:52 +00:00
Bryce Denney
7b7722d9c4 - improved bochs-dlx script by Rob Lemley that copies dlx stuff into the
user's home directory the first time they run bochs-dlx and runs it
  from there.  This avoids the need for a world-writable directory installed
  by the RPM.
2001-11-09 23:56:29 +00:00
Bryce Denney
1e3f0cff19 - added configuration button contributed by
Volker Ruppert <Volker.Ruppert@t-online.de>
  instead of borrowing the snapshot button for the config interface.
2001-11-09 22:17:33 +00:00
Bryce Denney
228de6942d - fill in section on bochsrc. The material is mostly copied from
the doc/man/bochsrc.1 that Tim put together for bochs 1.2.
2001-11-08 06:44:23 +00:00
Bryce Denney
ee3604b954 *** empty log message *** 2001-11-07 14:19:54 +00:00
Todd T.Fries
25db9d70b3 this is from ece lca <ecelca@yahoo.com>:
I compiled Bochs on Linux and installed a linux
in it, but when I ping a machine on my LAN, I get
packet loss. Sometimes as much as 70% is lost.
So I read ne2k.cc, Linux 8390 driver and 8390 chip
specification. I find that 8390 command register START
bit is misused in ne2k.cc. According to the chip
specification, even if START=0, the chip does not stop
working.
2001-11-06 20:30:09 +00:00
Todd T.Fries
68309b59b6 fixes from Frode Vatvedt Fjeld. Thanks! 2001-11-06 17:14:34 +00:00
Todd T.Fries
7439c61161 allow to compile with SMP 2001-11-06 15:41:34 +00:00
Todd T.Fries
0761193c5a remove '^M' chars that somehow showed up
I am reporting and disabling this PANIC.  The report is this commit message,
and the test case is win98.
2001-11-05 17:37:16 +00:00
Bryce Denney
590eca9438 - oops, the niclist target was compiling bximage instead. Now it should
really compile niclist.
2001-11-04 06:33:19 +00:00
Bryce Denney
5db284d049 - add WinMe install tips 2001-10-31 20:53:18 +00:00
Bryce Denney
84ba2ba30c - add Greg's instructions on mtools, and Volker's tips on mounting a
disk image on the loop device in linux.
2001-10-31 19:49:22 +00:00
Bryce Denney
6d3e646fba - add empty misc.txt 2001-10-31 19:42:15 +00:00
Bryce Denney
fa027a3807 - Albert's fix to bug #452275 2001-10-31 19:30:45 +00:00
Bryce Denney
4dee72195f - if winpcap library not found, print the url where you can get it. 2001-10-31 16:54:10 +00:00
Bryce Denney
44c3419cb7 - from Psyon, later on October 18, 2001:
Ok, This one gives a descriptin of the adapters now also.  Like this:

  Description
    \Device\Packet_BLAH

  and you would put \Device\Packet_BLAH in .bochsrc

  It only works with Visual C++ in debug mode for some reason... Ill get it
  figured out I guess.
2001-10-31 16:03:23 +00:00
Bryce Denney
b81bb2b696 - from Psyon on October 18:
Here, this compiles and works for me in CygWin... but Im still having
  troubles making it work when compiled with cl.exe
2001-10-31 16:01:29 +00:00
Gregory Alexander
98b68ec140 Changed the error for missing fonts to point to the documentation.
Modified Files:
 	x.cc
2001-10-11 13:03:35 +00:00
Gregory Alexander
f952b17c62 Trying to improve interactive performance.
Changed frequency on timer in pit_wrap.
Changed time quantum on slowdown_timer.

 Modified Files:
 	pit_wrap.cc slowdown_timer.cc
2001-10-11 13:01:27 +00:00
Bryce Denney
b86dbe1f3c - committed patches/patch.no-busy-in-tr-cache. I'm leaving the patch
lying around for a while in case it needs to be reverted.
2001-10-09 21:15:14 +00:00
Bryce Denney
0c19a77c95 - This patch fixes a bug reported by Peter Lammich,
[ #461730 ] IRETD causes problems if NT-flag is set
2001-10-09 21:13:30 +00:00
Bryce Denney
605a28df66 - add panic to warn people of incomplete IRET32 emulation, and encourage
people to report if they hit this panic.
2001-10-09 13:45:17 +00:00
Bryce Denney
70069a4ad8 - also compile niclist when NE2000 is enabled 2001-10-09 13:41:01 +00:00
Bryce Denney
75a1d092f6 - I was dismayed to find that stack_return_from_v86 was terribly incomplete.
It did an exception, and then the real code seemed to be commented out
  with an #if 0...#endif.  I put a panic there, asking people to please
  report how they arrived at that condition, and enabled the #if 0 code.
  This was pointed out by luca abeni <l_abeni@hotmail.com>.
2001-10-09 12:23:15 +00:00
Bryce Denney
27042d347c - add niclist to workspace 2001-10-09 04:39:52 +00:00
Bryce Denney
2d976fb371 - fixed a minor problem I introduced in macos X specific code 2001-10-09 03:21:48 +00:00
Bryce Denney
2d929ad4dc - correct problem in the ips line when saving a bochsrc, which I clumsily
added in 1.71 or so.
2001-10-08 02:02:47 +00:00
Bryce Denney
0978263092 - fix for bug [ #452159 ] win32: mouse stuck if bochs win partly off screen
Now we center the mouse periodically, whether or not the mouse has
  wandered outside of the window or not.
2001-10-08 00:42:52 +00:00
Bryce Denney
27dcb9f6c2 - the message about F12 enabling the mouse is so long on my system that
you can't read it all.  Made it a little more brief.
2001-10-08 00:38:22 +00:00
Bryce Denney
5de6080bc5 - disasm and debug should be disabled by default 2001-10-07 23:41:34 +00:00
Bryce Denney
462be39d0d - fix up the Win32 Release configuration, which had never worked before 2001-10-07 23:39:34 +00:00
Bryce Denney
4b684ce261 - only one workspace file is needed, bochs.dsw 2001-10-07 23:36:11 +00:00
Bryce Denney
b44617ddd5 - use gcc instead of egcs, since gcc is much more standard. Using a
hardcoded gcc was failing on debian.
2001-10-07 21:23:00 +00:00
Bryce Denney
d822724eae - only one workspace file is needed: bochs.dsw in the main directory. 2001-10-07 21:09:39 +00:00
Bryce Denney
c99f9aa8ef - use @CPP_SUFFIX@ substitution to get the dependencies right for nmake too 2001-10-07 20:19:04 +00:00
Bryce Denney
d22f4d0d7d - debug executable path was hardcoded... not sure how to remove all others 2001-10-07 19:46:22 +00:00
Bryce Denney
8396e8b77a - move intermediate output and results to a directory called obj-debug
for debug configuration or obj-release for release configuration.
- instead of gui,iodev,cpu,etc. having their own obj-debug directory, it
  all goes into a single output directory for the whole project.  I did
  this when I was having trouble getting any debug information from the
  static library directories to be recognized in the VC++ debugger.  Maybe
  it's not necessary.
- changed the compile arguments for the debug config so that debug symbols
  are created.  We used to have:
    debug config: /G6 /MT /W4 /GX /O2
  Now it says this:
    debug config: /MTd /W3 /GX /Z7 /Od
  I guess I haven't tested the release config yet, but the debug config is
  working great now.  I even have symbolic debugging of functions in the
  gui/iodev/cpu libraries.
2001-10-07 19:28:57 +00:00
Bryce Denney
d746112a1b - make the "getlevel" function foolproof 2001-10-07 18:42:55 +00:00
Bryce Denney
d9bde38f33 - on win32 in some configurations, code within an assert is completely
removed!  I used this trick sometimes to check that a function returned
  what I expected, like assert (func () == 0), but this caused the
  func() to never get called.  Oops.
2001-10-07 18:16:01 +00:00
Bryce Denney
c90e548019 - avoid symbol conflict on DUPLICATE by renaming it to BX_DUPLICATE 2001-10-07 14:43:59 +00:00
Bryce Denney
ed1812222e - added iodev/eth_win32.cc 2001-10-07 13:41:55 +00:00
Bryce Denney
48331d9dad - remove the hardcoded CC,CFLAGS,CXX,CXXFLAGS. In this case you're building
for a different compiler, so why be so picky which one it is!  Some
  people don't have egcs so this was failing.
2001-10-07 13:32:01 +00:00
Bryce Denney
6a50756472 - I thought I did this in rev 1.42 but I guess I missed it...make win32_snap
should not have to re-run the .conf.win32-vcpp script.
2001-10-07 13:29:53 +00:00
Bryce Denney
2283627565 - correct log message that said read_toc was returning 0. No. It returns 1. 2001-10-07 03:37:02 +00:00
Bryce Denney
5012a2ba85 - the windows implementation has been able to distinguish between raw
device and disk file for a while.  Even though its version of
  read_toc is minimal, in fact I would say broken, it lets people use
  an ISO disk file as a cdrom.
- in this revision, I wrote the "unix equivalent" of the win32 code, including
  the broken version of read_toc.  Now win32 and unix should act very similar
  when they encounter an ISO disk image.
- one important improvement is in read_toc, I have added "*length=1" for both
  win32 and unix, since otherwise the function returns random junk for the
  length of the TOC.  I also tried "*length=0" and that created the "lost
  interrupt" behavior that psyon has been trying to get rid of...I changed it
  back to *length=1 of course and left a note to him in that bug report.
2001-10-07 03:34:54 +00:00
Bryce Denney
585d11de57 - print strerror in some log message 2001-10-07 03:28:45 +00:00
Bryce Denney
947b14aaa8 - fix a few things that I missed in prev rev 2001-10-07 01:07:59 +00:00
Bryce Denney
31103b46b5 - this patch makes it easy to add/remove the max_ips and system_clock_sync
options from all the right places.
2001-10-07 00:58:46 +00:00
Bryce Denney
caf267f24e - remove references to max_ips and system_clock_sync. If you need to revert,
find patches/patch.remove-max-ips.
2001-10-07 00:58:10 +00:00
Bryce Denney
2c95087b7e - remove stuff about max_ips and system_clock_sync since the slowdown
device doesn't use them presently.
2001-10-07 00:48:46 +00:00
Bryce Denney
49d50d0010 - add another choice when you have action=ask: abort! Calling abort
will dump core, and the core can sometimes be loaded into the debugger
  to give some hints as to what is going on.  This could be especially
  useful when the bochs debugger is off.
- try to do something reasonable when abort() doesn't exist on the system.
2001-10-07 00:35:35 +00:00
Bryce Denney
8a21b1a9d6 - apply patches/patch.add-makefile-deps. I have added dependencies
which were generated with gcc -MM to the end of each Makefile.in
  so that make understands which files depend on which.  Basically,
  everything depends on bochs.h, which depends on everything, which
  is not ideal.
2001-10-07 00:33:21 +00:00
Bryce Denney
f10f397e80 - this patch sticks dependencies at the end of every Makefile.in. There
are other ways to approach this, and I would be happy to revert it
  if we come up with a better solution.
2001-10-07 00:32:06 +00:00
Bryce Denney
cd88c86840 - add configure check for the abort function, which I will use as a
choice when a panic occurs.
2001-10-07 00:10:19 +00:00
Bryce Denney
7279914d1b - don't blindly reject odd length atapi commands. There are cases when
it's really ok according to ATA-4.
2001-10-06 23:55:19 +00:00
Bryce Denney
1dea7b1d3e - I changed the args to bx_parse_cmdline in main.cc, so I had to update this as
well.
2001-10-06 23:14:42 +00:00
Bryce Denney
03c9a235b5 Fixes for bug [ #467530 ] cmd line overrides config interface
- rework the order of initialization with and without the control panel.
  The thing that was bothering me most was the command line options were
  being processed after the user had set everything in the control panel.
  This is clearly not what's expected--the command line options should
  affect the startup defaults of the control panel, but whatever the user
  chooses in the cpanel menus is the final choice.
- if the control panel (config interface) is not wanted, the user can
  put "-nocp" or "-nocontrolpanel" as the FIRST argument on the command
  line.  Also, the "-psn" option which is automatically passed in by
  MacOS X when you doubleclick the application causes the control panel
  to be disabled.  In this case, the order of operations is:
    1. read bochsrc
    2. parse command line options.
- if the control panel is enabled (default), the command line options are
  parsed to provide the startup defaults for the control panel, but the
  control panel settings are the final answer.  So the order is:
    1. parse command line options
    2. run control panel  (if user chooses, he can read bochsrc from menus)
- I haven't tested command line options with the debugger yet.
2001-10-06 22:31:31 +00:00
Bryce Denney
1b45532520 - add comment about why some unusual case might be reached 2001-10-06 22:23:10 +00:00
Bryce Denney
7c82612bc9 - add strerror(errno) to open failed message
- minor tweaks
2001-10-06 17:32:58 +00:00
Bryce Denney
19b3618409 - add strerror(errno) output to a few log messages
- treat fatal network errors as panics.  Any error whose behavior is to
  close the fd and give up--it now does a BX_PANIC to say what is happening.
2001-10-06 17:31:44 +00:00
Bryce Denney
d9c708f718 - add strerror(errno) on some log messages 2001-10-06 17:30:19 +00:00
Bryce Denney
bd286316a0 - clarify panic message in load_seg_reg, to show what's really being compared 2001-10-06 15:19:17 +00:00
Bryce Denney
5ebae91ac4 - bend the rules slightly so that panics get printed all the time, even
if the user tried to set action=ignore.
2001-10-06 14:36:00 +00:00
Bryce Denney
e5d9cea3a9 - patch to make hard disk model return error codes instead of always
panicing if something goes wrong.  This has been committed in CVS, but
  I'm leaving it here in patches so that it can easily be reverted,
  if necessary.
2001-10-06 09:13:42 +00:00
Bryce Denney
a9204c53f0 - make hard disk code return error codes when data is not available instead
of just panicing.  In particular, if the logical sector is out of bounds
  or the disk image cannot be read/written at the desired offset, we now
  abort the ATA command and return an error code.  Many of the old BX_PANIC
  messages are turned to BX_ERROR, so they will still appear in the
  log, but now the device model will try to communicate this fact to
  the OS instead of simply giving up.
2001-10-06 09:04:39 +00:00
Bryce Denney
ec6a8b3ef5 - when you write the device/head register, if the device doesn't exist or
something, we need to set the error in the status register.
2001-10-06 08:59:01 +00:00
Bryce Denney
7986ea67a7 - print "read error" when hard disk cannot read the disk image, or
seeks beyond the end
2001-10-06 08:48:28 +00:00
Bryce Denney
7022f0e250 - clarify message a bit 2001-10-06 08:45:18 +00:00
Bryce Denney
4e22b9a5db - add new log action when debugger is on, which is to continue but
return to the debugger ASAP.
2001-10-06 05:51:34 +00:00
Bryce Denney
5d129b827e - dlx linux installation tweaks 2001-10-06 04:55:24 +00:00
Bryce Denney
311755270f - add missing semicolon 2001-10-06 04:46:26 +00:00
Bryce Denney
302d79eadb - in install_bin target deal with some files being in $(srcdir) and
others in current dir.
2001-10-06 04:45:24 +00:00
Bryce Denney
de40494484 - oops, the script that added the headers in fpu went wild here. fixed. 2001-10-06 04:35:13 +00:00
Bryce Denney
c5d903f041 - remove comment about nogui option 2001-10-06 04:29:09 +00:00
Bryce Denney
16ee3abe6b - add ID line for bochs 2001-10-06 03:53:46 +00:00