Commit Graph

848 Commits

Author SHA1 Message Date
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
Bryce Denney
78a6fe2f27 - disassemble first instruction at f000:fff0
- print time with disassembly of the instruction to be executed
2001-10-06 00:01:12 +00:00
Bryce Denney
7d499adac0 - move trace call before the TICK. Well, there are two different places
that TICK is called so I put a trace call just before each TICK.
  This seems best, since the trace has a chance to print before the tick
  can trigger time-based events elsewhere in the system.
2001-10-06 00:00:22 +00:00
Bryce Denney
7140fa7090 - don't panic on int 0x13, AH=0x42 through 0x49. These are valid
MS/IBM extensions but they aren't supported.  Return an error code instead.
2001-10-05 23:58:45 +00:00
Bryce Denney
b70ae5ccf6 - changed args on disassemble current 2001-10-05 21:05:11 +00:00
Bryce Denney
a9afc2336d - fix bug that caused the instruction to be executed to be NOT printed
when tracing was on.
2001-10-05 21:03:53 +00:00
Bryce Denney
8d1459d9d6 - patch from Roland Mainz from today
> Attached is a patch to get Bochs 1.2.1 compiling with the Sun Workshop 6
  > compiler suite...
  >
  > Plain - out the box - the build fails with:
  > -- snip --
  > "pic.cc", line 503: Error: Badly formed constant expression.
  > "pic.cc", line 533: Error: Badly formed constant expression.
  > -- snip --
  > It looks that the preprocessor expects an integer in these cases and not
  > a string...
  >
  >
  > Additionally I added some fixes to get rid of the Zillion compiler
  > warnings like "Warning: String literal converted to char* in
2001-10-05 16:52:48 +00:00
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