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
Bryce Denney
36d13ab996
- I added a printf in module1
2002-10-16 12:32:31 +00:00
Bryce Denney
7398aa8678
- add VARIES{} around the filename of the module, since it's platform
...
specific
2002-10-16 12:29:06 +00:00
Bryce Denney
8a1917efcd
- add VARIES{} around the module name that is loaded, since it's different
...
on win32
2002-10-16 12:27:42 +00:00
Bryce Denney
57cb560e53
- pull the ltdl link arg out of LIBS so that the libtool section and the
...
win32-dll section can specify it in their own different ways.
2002-10-16 12:26:48 +00:00
Bryce Denney
c0e6504d12
- add printf in the module. It seems that in my libtool builds on cygwin,
...
modules that call libc functions crash. This exposes that bug.
2002-10-16 12:24:43 +00:00
Bryce Denney
9e111bc7fe
- check in unpleasant hack to cause LTDL_SHLIB_EXT to say ".dll"
...
instead of ".dll.a". The way I did this is NOT good because
it affects libltdl/libtool too, but I only wanted to affect config.h.
But I haven't found any other way...
2002-10-16 12:23:28 +00:00
Christophe Bothamy
80caacdb40
- compiled rombios.c rev 1.68
2002-10-16 07:40:09 +00:00
Christophe Bothamy
fcc1cd5195
- add int15 function 0xe820 (from osmaker)
...
- add int15 function 0xe801 (from Hartmut Birr)
- add amount of extended memory in 64KiB block to cmos regs 0x34 and 0x35
2002-10-16 07:38:37 +00:00
Bryce Denney
14a35053a0
- include stdlib.h so that exit is defined.
2002-10-16 04:40:21 +00:00
Bryce Denney
06253913ec
- first draft test script that runs "uselib" in every directory,
...
compares the exit code against the magic value of 77, and compares
the stdout output against the expected output.
2002-10-16 04:12:15 +00:00
Bryce Denney
a93c64a683
- move makefile code that is common to all subdirs into common-make-defs.txt
2002-10-16 04:11:22 +00:00
Bryce Denney
3086ca7059
- test program output and the reference output goes through this filter before
...
they are compared. It replaces VARIES{anything*@#$} with VARIES{xxx}
so that host-dependent outputs that are marked as such will match up.
2002-10-16 04:11:00 +00:00
Bryce Denney
1ee55d9edb
- move some makefile stuff that is common to all subdirs into
...
common-make-defs.txt
2002-10-16 04:09:24 +00:00
Bryce Denney
7fc1a8b2cf
- check in expected output from each program
2002-10-16 04:08:24 +00:00