Commit Graph

2873 Commits

Author SHA1 Message Date
Bryce Denney
383f2a5700 - add patch that replaces all Booleans with Bochs specific type bx_bool.
This avoids naming conflicts, since no other library is likely to
  use bx_bool.
- I will apply this before release 2.0, but not until the feature freeze
  has begun, because it will break almost every patch.
2002-10-15 05:50:41 +00:00
Bryce Denney
2271ef7779 - update info for Bernd Korz 2002-10-15 05:17:19 +00:00
Bryce Denney
9f90c8d0fa - try to make VPATH work 2002-10-14 21:10:54 +00:00
Bryce Denney
16638b28c9 - mention test6,7 and add a good reference about win32 dlls 2002-10-14 21:08:14 +00:00
Bryce Denney
38c16cb4ab - this makefile was made from scratch by Psyon, and then Bryce made it
somewhat configure-ized and checked it in.
2002-10-14 21:07:23 +00:00
Bryce Denney
d0b169eaba - update for test7-win32dll 2002-10-14 21:06:47 +00:00
Bryce Denney
c0f2cfe189 - add a real implementation of assert() if none is found in headers
- add NULL check in tryall_dlopen_module
- add some debug printfs
2002-10-14 21:05:06 +00:00
Bryce Denney
7bb4b2be20 - add header test for <assert.h> 2002-10-14 21:03:27 +00:00
Bryce Denney
f691060833 - mention backtrace of an ltdl error msg 2002-10-14 21:02:53 +00:00
Bryce Denney
921524de92 - last rev was buggy and failed to produce makefile in test7 dir 2002-10-14 21:02:24 +00:00
Bryce Denney
502eb04660 - do distclean in libltdl directory 2002-10-14 21:01:39 +00:00
Bryce Denney
6a281a02fb - add new subdir, test7-win32dll
- modified: Makefile.in configure.in configure
2002-10-14 20:45:15 +00:00
Bryce Denney
f4c507d4ac - add makefile for VC++ 2002-10-14 20:44:02 +00:00
Bryce Denney
afe8489945 - change main.cc to use LoadLibrary/GetProcAddress instead of ltdl library
- change MAINAPI macro to make code more readable
2002-10-14 20:43:33 +00:00
Bryce Denney
fec82f3ee8 - add reference to version_string so that we test exports of variables too 2002-10-14 20:42:46 +00:00
Bryce Denney
d52e44afdb - test7-win32dll began life as an exact copy of test6-ltdlopen. This
revision is exactly the same as the present versin from test6-ltdlopen.
- added: Makefile.in README main.cc main.h module1.cc module2.cc
2002-10-14 20:34:13 +00:00
Bryce Denney
d1196d1996 - clean up the command line argument parsing. Before, we had two slightly
different versions of the code for wxWindows and non-wxWindows and the GDB
  stub did not accept any command line options at all.
- IMPORTANT CHANGE: the quick start option used to cause two things:
  1) read the bochsrc immediately, 2) start simulation immediately without
  going into the config interface.  This has changed in a subtle way.
  Now, we always try to read the bochsrc immediately.  Then if the quick
  start option is on, we start the simulation immediately.
- add "Restore Factory Default Configuration" in text config menu.  It was
  already there in wx.  Now the default choice is always "5. Begin simulation"
  and because the bochsrc is always read now, this works.
- When the user chooses "Read configuration file" from either text mode
  or wx interfaces, reset all bochs parameters first, then read in the
  new file.  This means that every time you read a configuration file
  you are starting from a consistent "blank slate".
- move much of the code from bx_do_text_config_interface into bx_init_main
  so that wxWindows and non-wxWindows code uses the same logic.  There was
  only a tiny bit left in bx_do_text_config_interface so I eliminated it.
- move the "help" message into a separate function print_usage()
- detect all flags (cmdline args that start with -) in a loop, instead of
  a big if/else.  This makes it easy to add others.
- fix problem with Carbon gui, so that -psn arg gets ignored
- print usage if you type -h, --help, or if flags are not recognized
- code that called io->set_log_action (that sets the log action for all
  devices) was only called if the configuration interface was on; I'm not
  sure why.  Now it is called all the time.
- the wxWindows equivalent of main() is called MyApp::OnInit.  Now OnInit
  and main() are very similar.  They both call bx_init_siminterface, then
  bx_init_main (and quit if it fails), then show the config interface if
  quickstart is off, and then simulate.
- modified: main.cc gui/control.cc gui/wxmain.cc
2002-10-14 13:37:20 +00:00
Bryce Denney
bb9fd8ae22 - strncpy not guaranteed to null terminate, so do it. 2002-10-14 13:31:25 +00:00
Bryce Denney
073aaae56a - post irc chat log on web site
- modified: index.html release2_0.html
- added: irc-20021013.html
2002-10-14 12:37:49 +00:00
Bryce Denney
c07f5836f3 - move definition of bx_address earlier, just after the Bit32u and Bit64u
types are defined.  This should ensure that bx_address is defined by
  the time it's needed.
2002-10-13 22:38:17 +00:00
Bryce Denney
d39ccd1003 - no longer needed now that wxWindows 2.3.3 is released 2002-10-13 22:08:42 +00:00
Christophe Bothamy
b0972a74a4 - deleted since it's been included in main code long ago 2002-10-13 21:59:34 +00:00
Christophe Bothamy
87337ac2a2 - delete patch as it's been included in main code long ago 2002-10-13 21:58:24 +00:00
Bryce Denney
3fa878a2e2 - add page of info about release 2.0 2002-10-13 18:55:18 +00:00
Volker Ruppert
ae0bb040d9 - in VERR / VERW function: changed BX_ERROR to BX_DEBUG. According to the i386
opcode description there is no error present.
2002-10-13 15:34:49 +00:00
Volker Ruppert
90e861cf97 - 3 missing GDK keysyms added 2002-10-13 11:07:44 +00:00
Volker Ruppert
df6512abd5 - check for the platform WIN32 instead of the gui
- FIXME: the symbols 'BX_WITH_MACOS' and 'macintosh' both appear in the floppy
  code. I don't know what's okay there.
2002-10-13 09:40:05 +00:00
Volker Ruppert
0a89fc3352 - sequencer reset bits renamed to 'reset1' and 'reset2'
- default value of the sequencer reset bits is 1 (no reset)
- sequencer reset flag 1 resets the charmap select register when cleared
- skip the screen update when the sequencer is in reset mode (h/v sync and
  video ram refresh are disabled in that case)
- don't clear the memory update flag before the update is done
- skip the text screen update when the character height is set to 1 (MSL = 0)
- sequencer debug messages updated
2002-10-13 08:14:31 +00:00
Bryce Denney
d6dad223e1 - just dlinit once, at start of main 2002-10-13 02:28:06 +00:00
Bryce Denney
fbe1e69a95 - add more specific printf
- modules are compiled as lib%s.la, not %s.la.
- always load module1 and module2.  Then try to load any modules that
  are mentioned on the command line.
2002-10-13 02:26:09 +00:00
Bryce Denney
0699e46993 - move the extern "C" declaration of module_init into main.h so that it
will affect all modules.
- modified: main.h module1.cc
2002-10-13 02:22:37 +00:00
Volker Ruppert
53ceefc3c7 - keysym for the "AltGr" key added (SDLK_RMETA = BX_KEY_ALT_R) 2002-10-12 13:10:09 +00:00
Volker Ruppert
8eafe97e14 - check for the platform __BEOS__ instead of the gui
- fixed a warning
2002-10-12 13:09:32 +00:00
Bryce Denney
a5a05201d8 - put INCLTDL and LIBLTDL substitution variables into the Makefile
- this requires a correct setting for top_srcdir
2002-10-12 12:29:35 +00:00
Bryce Denney
35142c0ef3 - oops. change order so that things other than libltdl get built as well. 2002-10-12 12:00:44 +00:00
Bryce Denney
b82a5d9e5e - add missing AC_SUBST(LIBS) 2002-10-12 11:59:26 +00:00
Bryce Denney
01ef0ca14c - don't forget to build libltdl 2002-10-12 11:57:33 +00:00
Bryce Denney
ed5ca4801b - add missing call to lt_dlinit(). Why do I keep forgetting this?!
- printf handle was missing the handle
- remove underscore from module_init function name
- fix err msg
2002-10-12 11:50:28 +00:00
Bryce Denney
af8832907a - correct LIBS line is now provided by configure 2002-10-12 11:49:22 +00:00
Bryce Denney
e3bade17e5 - now that libltdl is installed in the source tree, add args to CFLAGS and
LIBS to point to the local version.
2002-10-12 11:48:51 +00:00
Bryce Denney
87d714f9ca - add additional NULL check. I know you can get this if you forget to
call lt_dlinit(), but I'm pretty certain that I've seen it in other
  cases as well.
2002-10-12 11:47:26 +00:00
Volker Ruppert
fb6fe521a2 - the "AltGr" key on European keyboards works now (wxbochs on win32 only) 2002-10-12 09:04:50 +00:00
Bryce Denney
abd8b78317 - add libltdl files from libtool version 1.4.2 2002-10-12 06:03:59 +00:00
Bryce Denney
bf7ebfd2e4 - update 2002-10-12 06:02:18 +00:00
Bryce Denney
f20403d13a - update Makefile.in, remove Makefile 2002-10-12 06:02:01 +00:00
Bryce Denney
a82964072f - add misc notes 2002-10-12 05:54:04 +00:00
Bryce Denney
01e3c37ba4 - add test6-ltdlopen 2002-10-12 05:53:39 +00:00
Bryce Denney
656d465f22 - add some test results and comments 2002-10-12 05:52:55 +00:00
Bryce Denney
31b8154266 - add test6, which actually tries to open a shared lib with lt_dlopen.
For now I've been editing the Makefile directly and haven't updated
  the Makefile.in.  Once it works I'll transfer everything to Makefile.in
  and remove Makefile.
2002-10-12 05:52:15 +00:00
Bryce Denney
eade765a53 - add info about win32 dlls 2002-10-12 03:55:10 +00:00