Commit Graph

1324 Commits

Author SHA1 Message Date
Bryce Denney 556a8fa8f8 - commit patch.check-platform. For full details, pull up the patch itself
and look at the description at the top.  Here's an intro.

  This patch makes significant changes to the configure script.  It adds the
  lines AC_CANONICAL_HOST and AC_CANONICAL_TARGET which detect the OS and
  processor type.  The configure script, knowing the OS and processor type, can
  then make intelligent decisions about which CFLAGS are needed and what is the
  default GUI for that platform.  One of the goals of this patch is to make it
  so that on all supported platforms, "configure;make" will compile cleanly.
  Configure detects the target platform, but it can be overridden by using
  --target=___.  This is important when using one platform to generate
  Makefiles and header files for another platform.  See config.guess script for
  the exact details of platform naming.

  The defaults that are currently implemented in the modified configure script
  include:
    If platform is windows* or winnt*, use win32 gui.
    If platform is cygwin*, use win32 gui and compile with
       "-mno-cygwin -DWIN32".
    If platform is macosx* or darwin*, use carbon gui and compile
       with "-fpascal-strings -fno-common -arch ppc -Wno-four-char-constants
       -Wno-unknown-pragmas -Dmacintosh"
    If platform is macos, use macos gui.
    If platform is beos, use beos gui.
    If platform is amigaos, use amigaos gui.
    Otherwise, use X windows gui.
2002-03-07 16:00:39 +00:00
Bryce Denney 0a8cad9653 - it doesn't make sense to have a default configuration for "x86" since
there are hundreds of possible OSes.
2002-03-07 15:55:11 +00:00
Bryce Denney b9c0f4e3a0 - update testing results 2002-03-07 15:44:48 +00:00
Bryce Denney 71a7f13089 - add testing results 2002-03-07 15:33:33 +00:00
Bryce Denney 004c4e5743 - add patch header with description of what I'm doing 2002-03-07 14:55:24 +00:00
Bryce Denney 55f7ddcb4d - I used the patch while experimenting, but it is checked in now. 2002-03-07 14:08:08 +00:00
Bryce Denney a62ec06005 - check in revision that Psyon mailed to me March 6 2002-03-07 02:23:54 +00:00
Christophe Bothamy 681f350804 - fix for boot drive option incorrectly saved to configuration file 2002-03-06 23:31:02 +00:00
Bryce Denney 45de5a2d85 - rewrite some .conf.* files to reflect that they no longer have to
specify the gui if they want to accept the default.
2002-03-06 23:20:57 +00:00
Bryce Denney a813bc223c - add default guis for every platform, and default CFLAGS for the ones that
need it.  The goal is that configure;make does something usable on every
  platform.
2002-03-06 23:04:17 +00:00
Bryce Denney 4a976dcb0a - add null check on devices->ioapic->untrigger_irq, suggested by
William Lee Irwin III <wli@holomorphy.com>
2002-03-06 21:52:16 +00:00
Bryce Denney b385550233 - include the missing config.sub, etc. files in the patch too 2002-03-06 21:02:22 +00:00
Bryce Denney a0640f1c32 - add std bochs header 2002-03-06 20:39:23 +00:00
Bryce Denney 70f4e7ee27 - increase max bitmaps to 32 since I was running out
- only do the "scancode-8" trick on linux.  On windows it did exactly the
  wrong thing, so I'll assume it's a bug in SDL for linux.
2002-03-06 20:38:31 +00:00
Bryce Denney 55b12f615c - to get it running on other compilers, I removed all references to
iostream, vector, and the use of templates.  Now the vector of bitmaps
  is an array of pointers to bitmaps and a count.
2002-03-06 20:36:35 +00:00
Bryce Denney efd408f386 - add range checking; panic if you exceed the array size. 2002-03-06 19:56:54 +00:00
Bryce Denney df1b810f24 *** empty log message *** 2002-03-06 19:42:29 +00:00
Bryce Denney d1692aaea8 - make configure discover the target platform so that the configure script
can enable/disable features according to platform.
2002-03-06 19:41:24 +00:00
Bryce Denney dd30b8174c - this patch removes references to iostream and vector, and replaces the
template with a static array with a fixed maximum size.
2002-03-06 19:36:56 +00:00
Bryce Denney ee6b54f395 - distinguish between WIN32 the platform and WIN32 the gui library.
use #if defined(WIN32) to determine if you are on that platform
  and #if BX_WITH_WIN32 to determine if you are using that gui.
2002-03-06 19:16:40 +00:00
Bryce Denney efb6eeb621 - use UNIX-like code when compiling in cygwin 2002-03-06 18:17:24 +00:00
Bryce Denney f5e8e651fe - in cygwin when compiling with -mno-cygwin, ssize_t is not defined. So I
moved it outside the ifndef __MINGW32__ block.
2002-03-06 18:04:58 +00:00
Bryce Denney 4439fe5dc7 *** empty log message *** 2002-03-06 16:48:10 +00:00
Bryce Denney 170080c067 *** empty log message *** 2002-03-06 15:58:32 +00:00
Bryce Denney 7a5921fe56 - remove extra \n 2002-03-06 15:56:27 +00:00
Bryce Denney 59335a767d - arg, I didn't mean to check in that last revision! Reverted to 1.5. 2002-03-06 15:46:16 +00:00
Bryce Denney 2c392212fc - added more SDL details, minor tweaks 2002-03-06 15:45:09 +00:00
Bryce Denney 85dfa222b6 - begin to write changes for version 1.4. Still needs a lot of work. 2002-03-06 15:14:11 +00:00
Christophe Bothamy 11ed519a07 - Deleted a "debug" include <X11/...>
- BX_KEY_PRINT_SCREEN and BX_KEY_SCROLL_LOCK were defined twice
2002-03-06 14:04:42 +00:00
Christophe Bothamy f0e762c3d2 - updated the BX_KEY_NBKEYS comment to remind to modify the bx_key_symbol of gui/keymap.cc 2002-03-06 10:55:44 +00:00
Christophe Bothamy e931247144 - New keymap architecture.
The localisation is now read from keymap files
  The keymap files are in gui/keymaps directory
2002-03-06 09:31:55 +00:00
Christophe Bothamy 1c0a1360bf - cosmetic change 2002-03-06 09:19:36 +00:00
instinc 32c40d0b55 commented out the diagnostic code, no use using 10 jumps for nothing, and it will take less time to re-enable it in the future than using those if(0) 2002-03-06 01:19:50 +00:00
instinc 9d112c44c2 Kernel Panic's patch to the disassembler, it now shows displacement as the final offset rather than being a displacement and also display all hexadecimal values using capital letters. 2002-03-05 18:07:28 +00:00
Bryce Denney fa7c1c7532 - add hint for people to donate binaries for other platforms! 2002-03-05 17:33:06 +00:00
Bryce Denney d653699cd3 - add "return BX_SOUND_OUTPUT_OK;" to avoid compile error in VC++5
"not all control paths return a value".  This was suggested in bug #523697.
2002-03-05 17:22:59 +00:00
Bryce Denney b74ed15539 - add a very important missing word: "NOT" 2002-03-05 17:17:50 +00:00
Bryce Denney ee1a7e23ec - add scancodes.cpp to the workspace 2002-03-05 16:15:41 +00:00
Bryce Denney 17e5bfc00b - change version number to 1.4.pre1 to make a snapshot 2002-03-05 15:58:59 +00:00
Bryce Denney 637a4716c5 - this has been committed, so I'l erase it now. 2002-03-05 15:54:24 +00:00
Bryce Denney 95467fa241 - Somebody was convinced that the enter instruction with level>0 was broken,
and they added a panic.  Apparantly this instruction is not used very often
  because it went for a long time before anyone noticed.  Peter Tattam started
  running into the panic while emulating his OS called Petros, and through
  a comparison between vmware and bochs results he believes that enter is
  doing the right thing.  So, I have changed the panic into a BX_ERROR for now,
  and added code to ensure that it only gets printed once per bochs run.
2002-03-05 15:50:17 +00:00
Stu Grossman 6f3d73741a Deal with systems that don't have XK_EuroSign defined. 2002-03-05 15:42:02 +00:00
Stu Grossman 3f73e3f33e Fix receiver poll frequency to really be 100ms. This actually gives about an
11% speedup to the emulator when serial I/O is enabled.
2002-03-05 15:40:23 +00:00
Bryce Denney 228bcc3b0e - this patch has been checked in now. I'll leave it lying around for
a little while in case we have problems.
2002-03-03 06:10:54 +00:00
Bryce Denney dd90b7ab46 - add serial port options to the configuration interface, in the same
menu as the parallel port options.
2002-03-03 06:10:04 +00:00
Bryce Denney 0cedbb597a - move com1 stuff down near parallel port 2002-03-03 06:05:33 +00:00
Bryce Denney e50a1be21b - commit serial port patch from Stu Grossman <grossman@juniper.net>
Here are the patches (without the serial name fix).  Let me know if you want
  me to change that.  Oh, FYI, my changes also open up the com1 terminal in raw
  mode, which makes the emulation much more accurate.  You'll also notice that
  I added infrastructure for com2->4 in the option parsing.  I didn't add it to
  the serial code, as I think a bunch of things need to be untangled before
  that can work.
2002-03-03 06:03:29 +00:00
Bryce Denney dca9d5f915 - patch already applied cleanly with patch -p0
- added header
2002-03-03 04:35:43 +00:00
Bryce Denney dac42f536e - serial patch from Stu Grossman. This is right out of an email, and I
expect it needs some line break cleanups.
2002-03-03 04:29:58 +00:00
Volker Ruppert ff5a3a14e9 - the changes are checked in 2002-03-02 11:32:56 +00:00