Commit Graph

1280 Commits

Author SHA1 Message Date
Bryce Denney 9c7c35c1f2 - this has been committed now 2002-03-09 01:36:30 +00:00
Bryce Denney aac59e68ae - add more detail on the ping problems I'm seeing 2002-03-09 01:33:46 +00:00
Bryce Denney b1835f1dc3 - add instructions for setting it TAP 2002-03-09 01:23:21 +00:00
Bryce Denney 6eea8f1bea - panic if the ethernet module cannot be found. If they continue, use
null module instead.
2002-03-09 01:05:41 +00:00
Bryce Denney 9a177ba518 - add configure test for ethertap. On systems which have a header file
called <linux/netlink.h> the ethertap module will be defined.  If other
  OSes turn up that also have ethertap, we can change the test.
- in eth_tap.cc, I replaced the calls to GPL code from maconlinux with
  my own stuff.
2002-03-09 01:04:49 +00:00
Bryce Denney 2d071fde77 - add example line for ethertap 2002-03-09 00:40:46 +00:00
Bryce Denney 612a155e18 - add ethertap interface for Linux 2002-03-09 00:38:53 +00:00
Bryce Denney c8d3a1ce24 - working now for pings from guest to host machine. Still problems when
going in the opposite direction.
2002-03-09 00:30:49 +00:00
Bryce Denney 3a01642790 - add debug warning when you throw out small packets 2002-03-09 00:28:07 +00:00
Bryce Denney c2e0e409e7 - add --enable-vbe option in anticipation of Jereon Jannsen's VESA BIOS
extensions.
2002-03-08 22:37:06 +00:00
Bryce Denney 91af68a835 - first try at ethertap network interface. It is getting close to working:
transmission from host to guest is ok, but from guest back to host is
  strange.
2002-03-08 22:14:55 +00:00
Bryce Denney 1e42e99914 - apply patch from Mike Lerwill:
There is a problem with the existing function rx_timer_handler. It can
  retrieve multiple packets from winpcap but returns when it finds one with
  the source mac address address instead of ignoring it and processing any
  remaining packets.

  Replacing the function with the one in the attached file rectifies this.

  With this I can browse the network fairly well from the guest NT4 and indeed
  see the guest NT4 from other machines on the network.
2002-03-08 18:46:54 +00:00
Bryce Denney 3a20b2bdde - clean up comments slightly 2002-03-08 18:41:33 +00:00
Bryce Denney 49067aed41 - tweak formatting on Greg's disk image instructions
- mention mtools before winimage, since winimage is commercial
2002-03-08 17:04:03 +00:00
Bryce Denney 4ec5b4a967 - add UINT ReadTimeOut to the ADAPTER struct, reported by
Mike Lerwill <Mike@ml-solutions.co.uk>
- at the moment we only use hFile so the other pieces of the ADAPTER struct
  don't affect how this code turns out.  However, it would be safer to include
  the winpcap header file instead of hardcoding the structures, which are bound
  to change over time.
2002-03-08 16:37:01 +00:00
Bryce Denney 0beda7ae26 - add instructions for setting up DLX linux for networking 2002-03-08 09:43:57 +00:00
Bryce Denney 6b11183d70 - the check for "auto transmit disable" was checking the wrong bit.
We should really be using #defines or enums to give these constants
  a proper name!  Thanks to Peter Tattam <peter@jazz-1.trumpet.com.au>
  for the bug report.
2002-03-08 08:33:37 +00:00
Bryce Denney bef9401a16 - fix the check for socklen_t. It is never defined unless you include
sys/socket.h, duh.
2002-03-08 05:45:51 +00:00
Bryce Denney 9b03cd05e5 - update 2002-03-08 04:47:59 +00:00
Bryce Denney 32b78ee896 - mention "default gui" down at the bottom near where it says what
the gui will really be.  I was afraid people would get confused
  if the default gui doesn't match the gui they asked for.  Now they
  will see both the default gui and the one that was actually chosen.
  Not a big deal.
2002-03-08 04:47:33 +00:00
Bryce Denney 41767f5a5f - add configure check for socklen_t, define as int if not already there. 2002-03-08 04:45:00 +00:00
Bryce Denney baa70c351e *** empty log message *** 2002-03-07 16:00:40 +00:00
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 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 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
Volker Ruppert 8e3e768922 - 'eject cd' support for linux (patch from Petr Stehlik <pstehlik@sophics.cz>)
- ReadCDSector() (for win32 ASPI) returns 1 if target status is okay
- win32 ASPI version of insert_cdrom() checks media status using ReadCDSector()
2002-03-02 11:31:18 +00:00
Bryce Denney e38b1c8f7b - the stack_return_from_v86 error is sometimes printed millions of times
and produces a gigantic log file.  Now, after 100 times, it will no
  longer print any more of this particular error.
2002-03-01 17:27:25 +00:00
Volker Ruppert ad4808cbda - checked in floppy timer 'idle' patch from Jeroen Janssen <japj@darius.demon.nl>
- just return without a panic when no floppy command is pending
2002-02-27 18:16:30 +00:00
Volker Ruppert 9f097cbf00 - cursor size feature implemented for win32 2002-02-24 17:20:19 +00:00
Volker Ruppert 6aafdccd5e - applied patch from Dave Poirier <eks@void-core.2y.net>
- call lower_irq() after reading port 0x60, not port 0x64
  - RETURN() macro removed
2002-02-23 09:32:49 +00:00
Bryce Denney 5b35586f82 - add patch from Petr Stehlik <pstehlik@sophics.cz> that allows
linux to eject the physical cd. not tested.
2002-02-22 19:43:53 +00:00
Gregory Alexander 2fbcdccb02 Added a comment on iret flag writing. 2002-02-22 05:33:36 +00:00
Gregory Alexander 055d8fa719 Fix a warning. 2002-02-21 21:16:06 +00:00
Gregory Alexander 2e632a4294 BIG fix for initial counts of zero. 2002-02-21 20:56:18 +00:00
Bryce Denney fa29b378b4 - commit patch from Dave Poirier to fix
Bug #490570: OUTB set and command 0xaa encountered
2002-02-21 20:26:48 +00:00
Gregory Alexander eca4aa0720 Fixed the PIT gate and improved the PIT printing options. 2002-02-21 19:22:42 +00:00
Volker Ruppert b1738bed08 - implementation of the text mode cursor in the SDL GUI 2002-02-16 20:31:35 +00:00
Gregory Alexander 29ba221c3e Make trace output more meaningful by printing each instruction immediately
BEFORE it is executed.  Print the registers at this time, BEFORE the
instruction, since they are the values BEFORE the instruction is executed.

The important result of this is that in TRACE output, both the instruction
causing an exception and the first instruction of the exception handler
are BOTH printed.

I'm working on getting this behavior in the debugger user-interface.

 Modified Files:
 	cpu/cpu.cc debug/dbg_main.cc
2002-02-15 22:58:06 +00:00
Volker Ruppert 197f80bde5 - snapshot_handler() prepared for copying text to clipboard
- copy text to clipboard added for WIN32
2002-02-12 17:09:51 +00:00
Christophe Bothamy 7b6f19f1d2 - small bug fix in ATAPI command 0x42 (read sub-channel). 2002-02-12 16:03:00 +00:00
Volker Ruppert 790bcfc3fe - this patch adds some PIC features 2002-02-12 11:42:57 +00:00
Volker Ruppert e321b7bc9b - old IRQ handling functions are disabled now 2002-02-11 08:50:28 +00:00
Volker Ruppert c0c90e1c61 - the patch is checked in and no bug reports are present 2002-02-09 13:24:26 +00:00
Volker Ruppert 30ea11e08d - reset function clears DMA and IRQ line 2002-02-09 13:22:43 +00:00
Gregory Alexander cfab846fe1 More #define changes. 2002-02-08 22:27:51 +00:00
Gregory Alexander 49e715178d More updates to the realtime PIT code. 2002-02-08 05:18:14 +00:00
Gregory Alexander 6b0dca1508 Fix using 1/4 speed. 2002-02-08 02:57:27 +00:00
Gregory Alexander 57273620e6 Added an experimental realtime PIT to the mix.
This is basically the opposite of the slowdown timer.  Instead
of trying to keep the PIT ticks in sync with bochs time, we
keep them in sync with REAL time.  This is bad because it creates
unreproducible fails, but it's good if you want to run bochs at
maximum speed on your machine.  However, bochs will take all of
the available resources from the machine also.

DO NOT use this with the slowdown timer.  Results would be
unpredictable.
2002-02-07 21:22:55 +00:00
Volker Ruppert ba58065da8 - call dimension_update() only after a dimension change
(patch from Dave Poirier <eks@void-core.2y.net>)
2002-02-07 19:04:30 +00:00
Christophe Bothamy 716e461c9d - enabled dword IO. Tiny performance increase 2002-02-07 17:43:06 +00:00
Bryce Denney db0a934ae3 - move include cdrom_beos.h to top of file where it belongs 2002-02-07 17:38:33 +00:00
Bryce Denney 8fe590fb2b - removed a dependency on /usr/include/math.h. System headers should never
be in the list!  Oops.
2002-02-07 17:18:44 +00:00
instinc 1eccd64198 Fixes the mouse direction problem (sorry, I couldn't test locally)
Fixes the font switch 8x8 <-> 8x16 and clears the screen accordingly.
Known issue: the headerbar is still not displayed
2002-02-07 02:12:51 +00:00
Christophe Bothamy 6088452443 - increased speed during cdrom booting 2002-02-06 21:01:18 +00:00
Volker Ruppert ca5a805aff - behaviour of floppy command 'sense interrupt status' after reset fixed
(DLX linux boots again)
- new function raise_interrupt() sets variables and calls raise_irq()
2002-02-06 18:51:48 +00:00