Commit Graph

1127 Commits

Author SHA1 Message Date
Bryce Denney
b974699ce6 - include <windows.h> on win32 platforms so that we get a definition of
wsprintf
2001-10-05 14:01:52 +00:00
Bryce Denney
dbb6d5f821 - remove my ill-conceived configure test for wsprintf. It really is
available in cygwin, and I don't know what I was thinking before.
2001-10-05 13:52:25 +00:00
Bryce Denney
dcaae518c9 - make win32_snap no longer runs the .conf script, because in fact you have
to run the conf script in order to even have a Makefile.  Instead, I just
  added some instructions that tell you to run the .conf.win32-vcpp script
  yourself and then do "make win32_snap" to unzip the workspace files and
  zip up the whole source package.
2001-10-05 13:40:34 +00:00
Bryce Denney
dd2ac517a6 - don't define BX_HAVE_USLEEP in here, it's set by configure! 2001-10-05 13:31:31 +00:00
Bryce Denney
7b4c438369 - when compiling the debug directory, the .c files should still be compiled
as .c files.  They were listed as parser.cpp and lexer.cpp before.
2001-10-05 13:21:19 +00:00
Bryce Denney
80b669501a - when win32-vcpp is enabled, set HAVE_LIBREADLINE=0 and BX_HAVE_WSPRINTF=1. 2001-10-05 07:45:23 +00:00
Bryce Denney
51bef91d8e - force BX_HAVE_WSPRINTF=1 when configuring for a VC++ compile 2001-10-05 07:04:29 +00:00
Bryce Denney
cf014f2669 - fix it up so that it works when configuring from another dir 2001-10-05 06:39:09 +00:00
Bryce Denney
02f53d023a - add configure check for wsprintf 2001-10-05 06:08:24 +00:00
Bryce Denney
7fcffe0c38 - make symbol for BX_HAVE_WSPRINTF 2001-10-05 06:07:46 +00:00
Bryce Denney
9f65437b5e - if wsprintf not found, use sprintf 2001-10-05 06:07:00 +00:00
Bryce Denney
5e2e1b5ae0 - add some substitution variables related to make install for win32 2001-10-05 06:06:21 +00:00
Bryce Denney
918a4cd46f - add make target for win32, which can be run from cygwin 2001-10-05 06:03:41 +00:00
Bryce Denney
0183812203 - patch by Roland Mainz, posted to list on 2001-10-04 2001-10-04 18:37:29 +00:00
Bryce Denney
85b8c00de0 - clean up error message related to readline 2001-10-04 18:07:06 +00:00
Bryce Denney
5be1416c96 - remove the part that aborts if readline is not found 2001-10-04 18:05:29 +00:00
Bryce Denney
3b6d9ae017 - try to improve the readline test. Now I never use the readline test
generated by autoconf.  Instead I'm using AC_TRY_RUN to actually call
  a readline function before assuming that things are ok.
2001-10-04 18:00:48 +00:00
Bryce Denney
de45620a0d - partial fix for bug #467969, VPATH doesn't quite work. It was failing
when trying to create instrument/stubs/Makefile because the instrument
  directory didn't exist.
2001-10-04 17:54:51 +00:00
Bryce Denney
f3da589ced - debug needs debug.h, so include the current directory in -I$(srcdir)/. 2001-10-04 17:51:09 +00:00
instinc
80d5bc27bd added time_ticks() to the instruction trace 2001-10-04 15:34:33 +00:00
Bryce Denney
84f1ebb003 - readline checks still have a few problems, so don't do exit 1 2001-10-04 05:39:12 +00:00
instinc
de156bd8d6 added flags output with the register tracing enabled, was nice to have IF status etc. 2001-10-03 21:12:59 +00:00
instinc
ff08ebb819 Added the description of the 0x8AE4 (disable register tracing) and 0x8AE5 (enable register tracing) io commands 2001-10-03 19:58:50 +00:00
instinc
7e2c49c8aa Added the control to enable/disable register tracing 2001-10-03 19:54:29 +00:00
instinc
dabe63ef72 added a control variable for debugger to know if register tracing is required or not 2001-10-03 19:53:48 +00:00
instinc
9ebcb7651c Added the ability to trace registers value as you trace the code 2001-10-03 19:53:09 +00:00
instinc
4febfb2efb Added the documentation for the enable/disable trace commands 2001-10-03 19:10:09 +00:00
instinc
0982e7f345 Added the ability to enable/disable instruction tracing when built with debugger support 2001-10-03 19:06:17 +00:00
Todd T.Fries
319cbff42e revert. test failed. 2001-10-03 15:03:35 +00:00
Todd T.Fries
86eb9e1a3f testing $bochs$ 2001-10-03 15:02:51 +00:00
Todd T.Fries
619ba4ee8a testing bochs tag 2001-10-03 15:01:44 +00:00
Todd T.Fries
6742ab9f91 panic if networking can't be initalized (packet filter/socket)
if the user wants to use bochs as non-root, disable ne2k!
2001-10-03 14:53:22 +00:00
Bryce Denney
57071445e6 - add eth_win32.o to the Makefile when ne2000 is enabled and we're compiling
for win32.
2001-10-03 13:42:24 +00:00
Bryce Denney
5d00d3073e - mention where to get winpcap 2001-10-03 13:38:17 +00:00
Bryce Denney
f1a5e26f7d - program for win32 by Don Becker that lists the NIC id's that WinPCap
recognizes.  This tells you what to type into the ethdev field in your
  bochsrc.
2001-10-03 13:36:14 +00:00
Bryce Denney
91c3513cae - remove hardcoded NIC id 2001-10-03 13:34:55 +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
Bryce Denney
16a10bb5bb - add rcs header 2001-10-03 12:56:51 +00:00
Bryce Denney
40ac2e6f89 - add make target "download_dlx" which runs wget to download the
DLXlinux tar file, unless it is already there.  Before, you had to
  download the 1meg+ tar file every single time you build the RPM, which
  was annoying.
2001-10-03 12:55:00 +00:00
Bryce Denney
49aad8c1b1 - add test for whether -lcurses is required when using readline, to fix
bug #429448.  What is strange about this problem (on OpenBSD) is that the
  compile and link goes fine, but when you execute your first readline library
  function it does a dynamic link and crashes on the spot.  Many autoconf
  tests only compile and sometimes link the test program, but this test
  compiles, links, and runs it.
2001-10-03 12:33:53 +00:00
Bryce Denney
3974d588de - add note about limit_scaled including the 12-bit shift etc. 2001-10-03 02:23:01 +00:00
Bryce Denney
de0a55fcce - threw out the old patch, and reworked it so that there are no restrictions. 2001-10-03 01:52:17 +00:00
Bryce Denney
0f9a525717 - try again! This should fix
[ #433759 ] virtual address checks can overflow
  and I have tested the condition much more thoroughly this time.
  All segment sizes should be supported.
2001-10-03 01:06:31 +00:00
Bryce Denney
80b31020e9 - regression test for "access checks" in cpu/access.cc 2001-10-03 00:52:30 +00:00
Bryce Denney
6a1c01c8b5 - back out my poorly written patch.virtual-address-checks-overflow 2001-10-02 20:01:29 +00:00
Todd T.Fries
d5ecddc64c a few output cleanups
make windows not panic bochs when probing for ne2k, still doesn't work though
2001-10-02 18:38:03 +00:00
Bryce Denney
beca5d6e67 - fix stupid printf-type bug 2001-10-02 18:11:06 +00:00
Bryce Denney
67ebaaca87 - apply patch.virtual-addr-checks-overflow to fix bug
[ #433759 ] virtual address checks can overflow
  > Bochs has been crashing in some cases when you try to access data which
  > overlaps the segment limit, when the segment limit is near the 32-bit
  > boundary.  The example that came up a few times is reading/writing 4 bytes
  > starting at 0xffffffff when the segment limit was 0xffffffff.  The
  > condition used to compare offset+length-1 with the limit, but
  > offset+length-1 was overflowing so the comparison went wrong.  This patch
  > changes the condition so that it supports all segment limits except for
  > sizes 0,1,2,3 bytes.  Dave and I figured that these sizes would not be
  > needed, while size 0xffffffff is used quite a lot.
2001-10-02 17:02:28 +00:00
Bryce Denney
04a07f306f - patch to fix bug [ #433759 ] virtual address checks can overflow 2001-10-02 17:01:09 +00:00
Bryce Denney
81452458b8 - fix links 2001-10-02 05:01:38 +00:00