Commit Graph

2958 Commits

Author SHA1 Message Date
Bryce Denney
70350a7985 - experiment: build the module symbol name myself instead of letting
ltdl do it.  On win32 I'm using ltdl even the it considers my DLLs
  to NOT be a libtool archive, and it's making the symbol name
  transformation mess up.  If I do it myself, I can avoid this.
2002-10-17 06:36:45 +00:00
Bryce Denney
b55ebd6130 - eliminate duplicat symbols across modules
- modified: test9/module* test11/module* test12/module*
2002-10-17 05:53:50 +00:00
Bryce Denney
21695a8b18 - eliminate duplicate symbols between modules 2002-10-17 05:49:20 +00:00
Bryce Denney
d36c9f2643 - eliminate duplicate symbol names in modules 2002-10-17 05:39:41 +00:00
Bryce Denney
0710552145 - rename module symbols to make them unique. For example, now module_init
is libmodule1_LTX_module_init in module1.  This is all done in the
  modules.h header file so the .cc files still looks clean.
- modified: module1.cc module2.cc
- added: modules.h
2002-10-17 05:36:18 +00:00
Bryce Denney
c5ee3aea16 - move the extern definition for the module functions in to modules.h 2002-10-17 05:33:39 +00:00
Bryce Denney
3e7bc9e2da - clean up comments 2002-10-17 05:33:17 +00:00
Bryce Denney
9eff1359ed - add debug output related to searching for symbols 2002-10-17 04:22:29 +00:00
Bryce Denney
9a3d1b6f45 - remove config.cache when doing make dist-clean 2002-10-17 04:20:36 +00:00
Bryce Denney
5fd5ae8b79 - update configure by running autoconf 2.53 2002-10-17 04:20:16 +00:00
Bryce Denney
a55995edbc - provide expected output for test 12 2002-10-17 00:38:07 +00:00
Bryce Denney
570fa2c949 - add test 12 which checks for global constructor problems and works
around it.
2002-10-17 00:34:26 +00:00
Bryce Denney
c3b2adfd00 - detect if we're about to crash due to global constructor problems, and
at least say what is going wrong.
2002-10-17 00:33:50 +00:00
Bryce Denney
08eae6dfbc - clean cores too 2002-10-17 00:18:54 +00:00
Bryce Denney
6e1388f0d9 - add workaround for solaris that forces new operator to be linked with main 2002-10-17 00:09:54 +00:00
Bryce Denney
3d53781ba6 - for win32 dll, must export Widget class and array of Widget pointers 2002-10-16 22:33:32 +00:00
Bryce Denney
69da0e6c28 - 2nd try to get this delete line right. delete [] charptr_ret. 2002-10-16 22:20:32 +00:00
Stanislav Shwartsman
c5f0ef8c76 Removed duplicated definition of BX_SEG_REGS 2002-10-16 22:10:07 +00:00
Stanislav Shwartsman
ee0ec5908e Removed the patch because it was already implemented by other way 2002-10-16 21:55:27 +00:00
Bryce Denney
d401c8e23b - fix incorrect use of delete ptr in text mode debugger. It should
say "delete [] text" since it is an array of chars.
2002-10-16 21:37:06 +00:00
Bryce Denney
8be0d6089b - I did "delete ptr" instead of "delete ptr[]". Thanks to sandos and
our good friend valgrind.
2002-10-16 21:32:56 +00:00
Bryce Denney
4fc294ce2b - I was having compile problems because when BX_DEBUGGER==0 the declaration
of the DebugLogDialog class was turned off by an #if.  Now the methods are
  turned off by the same condition.
2002-10-16 20:39:43 +00:00
Bryce Denney
b33bd11321 - minor cleanup of output messages and help 2002-10-16 20:19:36 +00:00
Volker Ruppert
21b8955a4e - userbutton shortcut feature improved. The shortcut string can be a combination
of these key names: "alt", "ctrl", "del", "esc", "f1", "f4", "tab", "win".
  Up to 3 keys can be pressed at a time.
2002-10-16 19:50:27 +00:00
Bryce Denney
9d44d4e473 - the check for wxWindows/debugger/readline is obsolete, so I removed it 2002-10-16 19:42:24 +00:00
Bryce Denney
f6c637aa8a - upgrade bx_param_num to use 64 bit values, so that I could make
bx_shadow_num_c able to handle pointers to 64 bit values.  This
  allows x86-64 and wxWindows to coexist.
- I had a number of duplicate constructors for bx_shadow_num_c,
  with an without the description arg.  I eliminated the ones
  that had no description, and also removed the min/max arg from
  all.  I still need a bunch of constructors though, for
  Bit64u*, Bit64s*, Bit32u*, Bit32s*, Bit16u*, Bit16s*, Bit8u*, Bit8s*.
  Having all these constructors allows us to write
    new bx_shadow_num (bxid, name, description, &value)
  for basically any integer variable.  They are all handled by the same class.
- these changes led to minor touchups in cpu/init.cc and iodev/keyboard.cc
- modified:
    configure main.cc cpu/init.cc iodev/keyboard.cc
    gui/siminterface.cc gui/siminterface.h
2002-10-16 19:39:27 +00:00
Bryce Denney
ac9f370975 - shouldn't have default values for method parameters in the .cc! oops.
Thanks to sandos for pointing this out.
2002-10-16 19:27:17 +00:00
Stanislav Shwartsman
194952a53d Merged BOCHS-SSE branch 2002-10-16 17:37:35 +00:00
Bryce Denney
7313a837d4 - let configure script find the stinkin compiler. Br'fin says that
C++ links were failing because this script set CXX=cc.
2002-10-16 16:35:19 +00:00
Volker Ruppert
35225ed64d - the keyboard mapping feature for wxbochs (wxGTK version) now works with the
X11 keymap files. This okay since the keysym values are identical. The "AltGr"
  key on European keyboards doesn't work with wxGTK 2.3.3 because the keysym
  GDK_Mode_switch is not handled in wxGTK.
- German keymap table for wx and wxgtkkeys.h are no longer needed
2002-10-16 16:32:55 +00:00
Bryce Denney
3f58f90cc9 - fix syntax errors related to missing quotes 2002-10-16 15:54:31 +00:00
Bryce Denney
f3a611de1f - also remove *.exp and *.def, which are generated on win32 2002-10-16 15:52:36 +00:00
Bryce Denney
6ce1a5f593 - minor cleanup of output to do_tests.out 2002-10-16 15:38:48 +00:00
Bryce Denney
0a608092d7 - add script that does everything and collects results in do_tests.out 2002-10-16 15:31:18 +00:00
Bryce Denney
791012c8da - add "-" to ignore failures. I want to build all directories, even
if some of them are failing.
2002-10-16 15:09:51 +00:00
Bryce Denney
f461ee0cf0 - add test11, which checks whether global constructors in a shared lib a
are called as the module is loaded.
2002-10-16 15:04:44 +00:00
Bryce Denney
7e5afc40da - add tests 8,9,10 2002-10-16 14:56:26 +00:00
Bryce Denney
0c3efe4236 - add test9 which implements a class entirely in a module 2002-10-16 14:55:10 +00:00
Bryce Denney
855e2007a0 - add test10 in which each module creates its own child class of
DeviceInterface, and the main code talks to the devices using
  virtual methods of Device Interface.
2002-10-16 14:45:32 +00:00
Christophe Bothamy
75ae39ed8b - update to the blkgetsize patch :
There was a POTENTIAL RISK for your HARDDISKS with the previous
patch because it updated the concat_image_t object (BX_SPLIT_HD is on
by default). The behaviour of BX_SPLIT_HD is to open all filenames
incrementing the last letter. Guess what follows /dev/hda ?

You may now access block devices from within bochs, only
if --disable-split-hd is configured.

It has only been tested on linux and a WinNT guest.

There are issues with the current bios CHS translating scheme and
the guest OS translating scheme. For example my compaq system translates
a physical     38792/16/63 20GiB harddrive to
a logical      2586/240/63, which does not follow the bitshift algorithm.
I had to find a different PCHS that would translate in a compatible LCHS
I still have to investigate further, but I'm afraid everything I can do
will break some systems or the others.

Those issues should be explained in the documentation.
2002-10-16 14:40:46 +00:00
Christophe Bothamy
4ec9e8d5b1 - compiled rombios.c rev1.69 2002-10-16 14:05:28 +00:00
Christophe Bothamy
ec595a7d9b - limit the logical chs heads count for disks > 8GiB to 256
- limit the logical chs cylinders count for disks > 8GiB to 1024
- fix a missing parameter in a BX_INFO
2002-10-16 14:04:41 +00:00
Bryce Denney
4cbcd6550b - add test8-execlass, which defines a C++ class in the executable, and
tests that the modules can access it
2002-10-16 13:28:17 +00:00
Bryce Denney
fa853f3b48 - add VARIES{} fields around pointers and filenames 2002-10-16 13:11:23 +00:00
Bryce Denney
7eb6b6549b - add expected output for test7 2002-10-16 13:10:31 +00:00
Bryce Denney
4417fb4865 - make it work with VPATH 2002-10-16 13:09:52 +00:00
Bryce Denney
69b0917ee7 - don't use diff -u, just plain diff so that it works with old diffs too 2002-10-16 13:05:44 +00:00
Bryce Denney
9f1f7f5687 - make test will run the testscript now that it exists 2002-10-16 13:05:17 +00:00
Bryce Denney
0982b46a7b - configure will generate testscript now, so that VPATH works 2002-10-16 12:54:06 +00:00
Bryce Denney
51c22124a3 - configure will generate testscript now, so that it can work with VPATH 2002-10-16 12:53:35 +00:00