Bryce Denney
7a6fbf9597
- fix copy to clipboard problem for X11 by calling XSetSelectionOwner()
...
before XStoreBytes.
2002-03-19 18:43:22 +00:00
Bryce Denney
ca6fa8f284
- SMP simulation can deadlock when all the processors are executing a HLT
...
instruction because ticks are not happening. This patch allows ticks
(simulation time) to continue so that the HLT condition eventually ends.
2002-03-19 07:07:46 +00:00
Bryce Denney
494bd46a9d
- patch from William Lee Irwin III <wli@holomorphy.com>
...
fixes SMP compile.
2002-03-19 06:08:55 +00:00
Volker Ruppert
9e1cf3bec1
- function mouse_enabled_changed_specific() implemented
...
- added toggle_mouse_enable() call to the handling of the middle mouse button
- removed break statement between SDL_MOUSEBUTTONDOWN and SDL_MOUSEBUTTONUP
- added prefix "SDL" in specific init
2002-03-18 21:21:19 +00:00
Christophe Bothamy
5fb5d18eda
- changed bash specific syntax "xset >& /dev/null" to "xset > /dev/null 2>&1"
2002-03-18 10:26:30 +00:00
Volker Ruppert
8263d15e76
- renamed update_floppy_status_buttons() to update_drive_status_buttons() since
...
it handles the cdrom status too
2002-03-17 20:57:54 +00:00
Volker Ruppert
6518957fe4
- implemention of the headerbar functionality (new function headerbar_click)
...
- the function replace_bitmap() tranfers the dst.x value of the old bitmap
to the new one
2002-03-17 20:56:15 +00:00
Volker Ruppert
e42539f2de
- bugfix in set_media_status(): set the status in bx_options for floppya
...
or floppyb, not always for floppya
2002-03-17 20:55:27 +00:00
Volker Ruppert
37955596f8
- create_bitmap(): setting Amask to 0x0 makes other colors visible
...
- fixed headerbar colors (X look)
2002-03-17 16:57:07 +00:00
Volker Ruppert
3ec4af94b4
- fixed dependence: recompile sdl.o if sdl.h is modified
2002-03-17 16:56:26 +00:00
Volker Ruppert
4870476367
- headerbar bitmap alignment implemented
...
- replace_bitmap() works now
2002-03-17 12:34:03 +00:00
Bryce Denney
d86facd088
- removed this. The patch is too specific to a particular version so it
...
only applies to the release. I can't make a better patch with cvs diff
AFAIK because the patch adds files. It's just a mess. So I'll just
put up an occasional source snapshot on SF instead of trying to keep
this horrible patch alive. Cvs users, just do "cvs upd -r BRANCH-cpanel"
and don't bother with this patch.
2002-03-17 09:39:41 +00:00
Bryce Denney
7cf96b782c
- wxwindows patch for Bochs 1.4.pre2. Really, we do wxwindows development
...
on a branch called BRANCH-cpanel. This patch is just to make it easier
for people to try out.
2002-03-17 09:20:28 +00:00
Volker Ruppert
f113121db0
- text mode cursor is now visible in modes with more than 25 lines
2002-03-16 13:20:58 +00:00
Jeroen Janssen
6ce05d42cc
- VBE fixed set bank bug introduced by my bounds check rewrite
2002-03-16 11:37:43 +00:00
Volker Ruppert
92b06b9ebf
- new function get_clipboard_text() for GUI specific clipboard handling
...
GUI specific paste functions for X11 and WIN32 in paste_handler() moved to
the new function
- get_clipboard_text() prepared for other GUIs
- set_clipboard_text() has now a return value (0 = failed or not implemented)
- use portable code in copy_handler() if set_clipboard_text() fails
- snapshot_handler() prepared for adding a file dialog call
- writing snapshot file in binary mode (LF->CRLF conversion already done)
2002-03-16 11:30:06 +00:00
Jeroen Janssen
17ce9b8a34
- VBE screen update only when in visable screensize
2002-03-16 10:22:57 +00:00
Volker Ruppert
b167616e98
- updated for current CVS version
2002-03-15 19:05:27 +00:00
Bryce Denney
842bfb4430
- BX_WITH_X11 is always defined. use "#if BX_WITH_X11" not #ifdef
2002-03-15 17:10:58 +00:00
Volker Ruppert
7373bb7647
- new function set_clipboard_text() for GUI specific clipboard handling
...
GUI specific copy functions for X11 and WIN32 in copy_handler() moved to
the new function
- set_clipboard_text() prepared for other GUIs
- value of text mode cursor variables fixed (and renamed in x.cc)
- BX_ERROR message in snapshot_handler() fixed
2002-03-15 16:45:10 +00:00
Mike Lerwill
026b7018bd
Fix for win32 host not displaying all of the window especially after a resize
2002-03-15 10:55:48 +00:00
Bryce Denney
bc8f4eb0f0
- patch from Zwane Mwaikambo <zwane@linux.realnet.co.sz>
...
that adds partial MSR support. I plan to add this after 1.4 is released.
2002-03-15 05:37:30 +00:00
Christophe Bothamy
256161956f
- fixed the phantom buttons problem.
...
- the button still have to we placed in the right order
- the SDL_MapRGB problem is NOT fixed. The fg color is hardcoded to 0xffffffff
2002-03-15 01:11:10 +00:00
Volker Ruppert
d1a69daf74
- cdrom and floppy options in configuration interface partially fixed
...
* don't change the device state to "not present" at runtime if the path is
changed to "none" - simply eject the media if inserted
* don't change the device state to "present" at runtime if the previous state
is "not present"
* eject and re-insert the media if the current media state is "inserted"
* changing the media state in the config interface works now
* TODO: don't do anything if the path is unchanged
- bx_write_cdrom_options(): writing media state fixed
2002-03-14 20:14:47 +00:00
Jeroen Janssen
bb3deba7d3
- vbe set mode defaults to clearscreen atm
2002-03-13 19:01:39 +00:00
Jeroen Janssen
fa04cb9d5b
- fixing VBE support for whatvga (see [ 529309 ] meta feature for VBE app list)
...
- added VBE checks for valid data/parameters
2002-03-13 18:33:00 +00:00
Christophe Bothamy
c2df473661
- added ASCII_equivalent constants
2002-03-12 23:56:53 +00:00
Christophe Bothamy
a4bf328178
- fixed header keymap layout name (DE, ES)
2002-03-12 23:56:01 +00:00
Bryce Denney
a6d20bb03e
- add #if BX_DEBUGGER around a few more things. :)
2002-03-12 19:00:44 +00:00
Bryce Denney
7a6b013101
- the new code I added in patch.triple-fault-recover needed to be
...
conditional on BX_DEBUGGER==1.
2002-03-12 18:59:31 +00:00
Volker Ruppert
6c4a3581c7
- removed unnecessary delay loop after keyboard reset in POST
2002-03-12 18:44:07 +00:00
Bryce Denney
97bfcd24bc
- I applied the patch, so I'm deleting it from here.
2002-03-12 09:18:25 +00:00
Bryce Denney
de51eda5d1
- apply patch.triple-fault-recover
2002-03-12 09:16:41 +00:00
Bryce Denney
141cfd2b2f
- add triple fault recovery code
2002-03-12 09:15:12 +00:00
Bryce Denney
502a48057b
- fix clipboard code that is compiled when neither windows nor X windows
...
is enabled.
2002-03-12 06:46:35 +00:00
Bryce Denney
8369bfb327
- this patch has been committed, so I'll erase it now
2002-03-11 20:41:22 +00:00
Volker Ruppert
0f37656bc1
- updated German keymap file for paste support
2002-03-11 20:35:28 +00:00
Bryce Denney
f9d5807034
- this is the patch from Hartmut Birr <hartmut.birr@tesionmail.de>
...
dated 2002-02-26.
2002-03-11 20:10:15 +00:00
Bryce Denney
221f2ebb63
- update version
2002-03-11 17:31:23 +00:00
Bryce Denney
e73971ba66
- update version number
2002-03-11 17:15:21 +00:00
Bryce Denney
c743eb7cca
- bump up version number
2002-03-11 17:14:28 +00:00
Bryce Denney
6c06a1bcb4
- I'm updating dlxlinux to add keyboard mapping by default, so that paste
...
will work. Now download dlxlinux3.tar.gz instead of #2 .
- in win32 install, create keymaps directory and copy the maps in
2002-03-11 16:59:58 +00:00
Bryce Denney
ebc19a5e6c
- fix bugs in copy&paste on win32.
...
- paste: grabbing the data from the clipboard in win32 was not implemented
at all. I found some example code on usenet and adapted it for Bochs.
- keymap: now if you call loadKeymap with NULL for the function pointer,
it just fills in all the X windows keysyms with zero. Added a call
to loadKeymap in win32.cc.
2002-03-11 16:35:41 +00:00
Bryce Denney
12a812296d
- add comment about BYTES being freed when we're done with it.
2002-03-11 16:25:52 +00:00
Bryce Denney
d7658e3098
- add keymap.cc to the workspace
2002-03-11 15:47:24 +00:00
Bryce Denney
d82a73ed21
- fix things I broke while working in linux
2002-03-11 15:45:34 +00:00
Bryce Denney
70e007b8f7
- add comment
2002-03-11 15:13:38 +00:00
Bryce Denney
8125bee908
- commit patch.paste
2002-03-11 15:04:58 +00:00
Bryce Denney
97f7ffddfe
- add description
2002-03-11 15:03:30 +00:00
Bryce Denney
692069483b
- convert all keymap files, not just US
2002-03-11 14:46:28 +00:00
Bryce Denney
e1407b0d76
- paste cannot work if key mapping is disabled. now it prints an error
...
in the log file, so at least you can figure out why.
2002-03-11 14:39:26 +00:00
Bryce Denney
3117c3efef
- add apostrophe and backslash to keymap.cc
2002-03-11 14:32:41 +00:00
Bryce Denney
9564982b58
- first try patch to add paste feature
2002-03-11 14:29:01 +00:00
Bryce Denney
fe239c3fd4
- clarify an err msg
2002-03-11 13:59:38 +00:00
Bryce Denney
8b8f5fe3bd
- add comments and fix ne2k examples
2002-03-11 13:59:08 +00:00
Christophe Bothamy
dcfccb02de
- fixed the keymap directory problem.
2002-03-11 08:35:55 +00:00
Christophe Bothamy
b64349020b
- renamed in VGABIOS-lgpl-README
2002-03-11 00:27:10 +00:00
Christophe Bothamy
b3c6d9c44a
- removed the specific ElTorito version, as it is included in main bios
2002-03-11 00:21:30 +00:00
Christophe Bothamy
f25dc70678
- fixed a unnecessary check on the bootsegment
...
- renamed int13_function to int13 harddisk
- the default is now to have the ATA driver and ElTorito boot
2002-03-11 00:17:31 +00:00
Christophe Bothamy
014c365b05
- fixed keymap install problem. Only for unix
2002-03-10 23:58:30 +00:00
Bryce Denney
417425b2e8
- when compiling with --with-sdl, add config-sdl --cflags
to the
...
CFLAGS. This is needed on systems in which the SDL headers are in
a nonstandard location.
2002-03-10 21:31:52 +00:00
Jeroen Janssen
0e58d8a083
- VBE adding missing set bpp (caused a panic with current vgabios)
2002-03-10 20:59:11 +00:00
Jeroen Janssen
633aa31a9c
- adding first implementation of the vbe lfb patch
2002-03-10 20:30:25 +00:00
Jeroen Janssen
5c024b7570
- updating vgabios line with new biosversion
2002-03-10 20:26:15 +00:00
Jeroen Janssen
b6074761e2
- fixed small bug causing always including X11 header
2002-03-10 20:08:14 +00:00
Christophe Bothamy
66262c3005
- uploaded new VGABios with VBE support
2002-03-10 19:52:04 +00:00
Christophe Bothamy
2ea0d928b0
- uploaded new VGABIOS with VBE support
2002-03-10 19:51:19 +00:00
Bryce Denney
aa6acc2be4
- add code for X windows to put the snapshot data onto the clipboard.
2002-03-10 16:06:56 +00:00
Volker Ruppert
beae7bda41
- added constant BX_INSERTED for media status (taken from bochs.h)
...
- fixed a warning in ask_uint() (type of variable n is now Bit32u)
- removed unused variable buffer[512] in text_ask()
2002-03-10 10:19:32 +00:00
Bryce Denney
3d2c58ee49
- revert to revision 1.27. My changes in 1.28 caused cygwin to be unable to
...
copy to the clipboard so I removed them.
- I was having cygwin compile problems because <windows.h> was not always
included when compiling this file. Add an include of <windows.h> at
the top, and now it compiles in cygwin.
2002-03-10 05:49:26 +00:00
Bryce Denney
a48e198bec
- this patch is committed now
2002-03-10 05:22:25 +00:00
Bryce Denney
8c0256840c
- apply patch.vbe-janssen by Jeroen Janssen <japj@darius.demon.nl>,
...
to add VBE support to Bochs. The changes in this checkin correspond
to Jeroen's 5th version of the patch on sourceforge patch #526595 .
2002-03-10 04:51:24 +00:00
Bryce Denney
4b6647eb44
- this VBE patch is from Jeroen Janssen <japj@darius.demon.nl>
...
This is his 5th version of the patch, from patch #526595 on source forge,
submitted on March 9.
2002-03-10 04:43:16 +00:00
Bryce Denney
03bb688612
- must use #if HAVE_ETHERTAP
2002-03-09 04:18:08 +00:00
Bryce Denney
a7c15927bf
- apply patch [ 505057 ] MacOS X carbonized event handlers
...
by Jeremy Parsons (brefin)
2002-03-09 02:40:25 +00:00
Bryce Denney
062faeae27
- macosx patch from Jeremy Parsons (brefin)
2002-03-09 02:39:34 +00:00
Christophe Bothamy
605e0cf3ef
- recompiled rombios version 1.36 with El-Torito capability
2002-03-09 01:55:30 +00:00
Christophe Bothamy
2cedd2d79f
- fixed OAK driver problem in win98
...
- CDs can boot at segment != 0x7c0
- reworked int19 in a C function
- "no emulation" CDs can be booted (Win2k, XP).
No more 000E failure code. Win2k fails though
- started to implement int13 for cdrom
- started to mutualize string constants
- changed a little bit the Bios Config Table address
so the new int19 handler fits whithout relocation
2002-03-09 01:50:52 +00:00
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
Christophe Bothamy
8d7231f3db
- This version works now with Win98 bootable CD
2002-02-06 08:49:08 +00:00
Christophe Bothamy
f775660df4
- Changes for Win98 CD-ROM booting
2002-02-06 08:45:51 +00:00
instinc
12f50276e5
Removed the configuration panel width/height
...
Added FG/BG color definitions for the headerbar
2002-02-06 02:13:32 +00:00
instinc
ee181da9d3
Added required space for the control bar
...
Added control for 80x50 fonts
Added mouse input
Added mouse grabbing
Added automatic mouse grabbing when entering full screen
Added autoremoval of header when going fullscreen
Simplified a couple of graphic routines
2002-02-06 02:12:45 +00:00
instinc
61ee0ca2c3
Added mouse input + mouse/keyboard grabbing.
2002-02-05 21:39:15 +00:00
instinc
4be53d635a
Added --with-sdl
2002-02-05 19:21:59 +00:00
instinc
70055903ed
Added SDL libraries
2002-02-05 17:37:11 +00:00
instinc
96fdd89e74
added SDL libraries
2002-02-05 17:36:42 +00:00
instinc
10fd6daf08
SDL support, importing sources
2002-02-05 05:51:38 +00:00
instinc
55b2f65a1c
Header file for sdl.cc
2002-02-05 05:50:50 +00:00
Volker Ruppert
1d9861fc59
- implementation of the text mode snapshot function
2002-02-04 20:31:35 +00:00
Volker Ruppert
2d5a9bd459
- new sense key SENSE_UNIT_ATTENTION for media change
...
- set sense key and raise an interrupt after inserting cdrom media
- atapi command 'eject disk' implemented
2002-02-03 20:49:44 +00:00
Bryce Denney
cb1db03fe9
- Dean Payne sent these modifications to niclist. He said it works under
...
win2k and win95 now.
2002-02-03 06:22:21 +00:00
Bryce Denney
6ddc8128ff
- use DOS/Win format returns. not sure why it wasn't like this before.
2002-02-03 06:19:42 +00:00
Volker Ruppert
84b649831e
- new cdrom button in the headerbar
...
- changing cdrom media in a Bochs session now possible
- don't eject cdrom when the guest OS has locked the drive
2002-02-01 16:46:27 +00:00
Volker Ruppert
8a07e04cc2
- new button for inserting / ejecting cdrom (not handled yet)
2002-01-31 21:16:52 +00:00
Gregory Alexander
dcdc5b2624
Minor fix to raise/lower irq code.
2002-01-31 17:26:26 +00:00
Gregory Alexander
05983c7a48
Changes to the pit wrapper code that should help synchronization some.
2002-01-31 17:18:38 +00:00
Gregory Alexander
26e6452142
Preparing for another pit time sync upgrade.
2002-01-31 16:52:00 +00:00
Volker Ruppert
0b6ab60780
- IOAPIC calls added in functions raise_irq() and lower_irq() (untested)
2002-01-30 18:33:41 +00:00
Christophe Bothamy
ac91aa0d3c
. changes to enable El-Torito boot. It is disabled by default in rombios.c
2002-01-30 10:30:52 +00:00
Christophe Bothamy
d36bb4bdfd
. BIOS image with El-Torito boot compiled in
2002-01-30 10:27:29 +00:00
Volker Ruppert
ad072e2bc6
- implementation of the edge triggered IRQ mode
...
- new functions raise_irq() and lower_irq()
- all trigger_irq() / untrigger_irq() calls are replaced by the new functions
- REMARK: timer IRQ handling is not correct but it works
- TODO: IOAPIC IRQ handling needs to be changed
2002-01-29 17:20:12 +00:00
Volker Ruppert
2933948216
- set the media status for the siminterface to 'ejected' if cdrom is not present
2002-01-27 21:58:41 +00:00
Volker Ruppert
e472507616
- set_media_status() sets the media state for the simulation interface too
2002-01-27 21:56:53 +00:00
Volker Ruppert
accd3b2370
- runtime options menu reports the correct media status (inserted/ejected)
2002-01-27 21:55:27 +00:00
Volker Ruppert
e4516a12e8
- new PIC IRQ handling implements edge triggered mode
2002-01-27 17:00:13 +00:00
Volker Ruppert
873aa0c127
- keyboard self test reads the status register to clear IRQ line
...
- PS/2 mouse hack removed - unmask IRQ in PIC setup
- commented keyboard buffer initialisation removed
2002-01-27 09:26:23 +00:00
Volker Ruppert
856ad9f99d
- statement 'static' removed from bx_gui_c::sim_is_idle()
2002-01-27 09:24:50 +00:00
Volker Ruppert
8bf4e10948
- check for the validity of BX_USE_IDLE_HACK moved after the gui definition
2002-01-27 09:24:08 +00:00
Volker Ruppert
4ed537308c
- read access to the status registers clears the IRQs
2002-01-27 00:41:38 +00:00
Volker Ruppert
4d4be62283
- specific EOI doesn't clear the IRR bit
...
- service_master_pic() / service_slave_pic() do clear the IRR bit
- new IRQ signal handling prepared
2002-01-26 12:03:55 +00:00
Volker Ruppert
6461cb2ab9
- new IRQ signal handling prepared
2002-01-26 12:03:10 +00:00
Volker Ruppert
7aac4bfb3d
- reading status register C clears the IRQ
...
- use BX_CMOS_THIS instead of class_ptr-> (the way other devices do)
2002-01-26 10:00:08 +00:00
Volker Ruppert
81bbbd27b2
- clear DSP.irqpending only if the value of mixer register 0x82 is 0
...
- use conversion type %d for logfile (Cygwin doesn't know %i)
2002-01-25 20:31:42 +00:00
Volker Ruppert
70ac9ca440
- clear IRQ if no unmasked interrupts are pending
2002-01-25 20:31:00 +00:00
Volker Ruppert
14679e9413
- floppy hardware interrupt handler issues 'sense interrupt status' if there
...
are no result bytes to read
2002-01-24 20:32:22 +00:00
Volker Ruppert
dde7bd3a61
- CGA mode 320x200 implemented - thanks to Sebastien Béchet
...
<bechets@ifsic.univ-rennes1.fr>
2002-01-24 20:30:45 +00:00
Volker Ruppert
a373e8dc12
- software reset doesn't clear selected data rate
...
- IRQ is cleared when the result phase is complete
2002-01-23 20:23:07 +00:00
Volker Ruppert
d22d280571
- interrupt handling improved (only loopback works for now)
...
- interrupt reasons modem status change and receiver line status change added
- number of data bits is considered now
- REMARK: Windows 95 driver still makes trouble
- TODO: real serial communication, FIFO, second serial port
2002-01-20 16:35:32 +00:00
Volker Ruppert
a9c1b785f0
- when checking the presence if diskd, check the presence of diskc, too
...
- clear IRQ after reading status register 0x1f7
- unused variable 'alloc_length' removed
- some messages fixed
2002-01-20 12:38:35 +00:00
Volker Ruppert
2d48b07d80
- unnecessary BX_PANICs removed, some others changed to BX_ERROR
2002-01-20 00:28:09 +00:00
Volker Ruppert
f0937a06b9
- INT 13: number of drives is not 0 if there is only a diskd present
...
- hard_drive_post: DS must point to EBDA segment when initialising
parameters for diskd
- unmask only necessary IRQs at boot time
2002-01-20 00:25:59 +00:00
Volker Ruppert
d07f5a13ad
- new function control_HRQ() changes the state of HRQ / cascade DRQ if necessary
...
- calling control_HRQ() in function DRQ() and after a write access to DMA mask
or request register
2002-01-18 16:33:47 +00:00
Volker Ruppert
1073eaf524
- sending data to printer causes a BX_ERROR when offline
...
- untrigger_irq() seems to be necessary, so I add it again
2002-01-18 16:33:07 +00:00
Volker Ruppert
2892dbdb08
- track0 bit added to the result of the 'get status' command
...
- length of 'configure' floppy command fixed
- busy flag is set until the result of a read/write command is complete
- read/write access to unsupported address causes a BX_ERROR, not a BX_PANIC
- commented BX_INFO statements removed
2002-01-17 21:20:12 +00:00
Bryce Denney
d7ea373b90
- apparantly freebsd works with linux sound code. Now you can type
...
configure --enable-sb16=freebsd and it works according to
Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
2002-01-16 19:52:28 +00:00
Volker Ruppert
8ce8b8e551
- patch is checked in
2002-01-16 16:43:57 +00:00
Volker Ruppert
6058946c09
- patch is no longer necessary
2002-01-16 16:40:37 +00:00
Volker Ruppert
ed04aff2ca
- romscan routine from plex86 BIOS integrated
2002-01-15 21:22:00 +00:00
Volker Ruppert
aa4b1dd80f
- service_slave_pic() checks the special mask of slave not master
2002-01-15 20:42:51 +00:00
Volker Ruppert
b061db9cd7
- mixer reset does not reset the IRQ/DMA settings
...
(Linux OSS driver resets the mixer after configuring IRQ/DMA)
- write timer ticks into logfile, not the localtime
2002-01-13 17:07:14 +00:00
Volker Ruppert
6d0adac941
- address decrement feature added
...
- set TC in autoinit mode too
- set mask bit on TC if not in autoinit mode
2002-01-13 17:06:33 +00:00
Volker Ruppert
c24eaf3e3c
- patch is checked in and there are no bugreports
2002-01-13 17:05:29 +00:00
Volker Ruppert
26a2731a19
- return value of MCR fixed
...
- unnecessary untrigger_irq() calls removed
2002-01-08 20:31:14 +00:00
Volker Ruppert
395ef2f5c7
- obsolete variable 'alt_pressed' removed
2002-01-08 19:00:06 +00:00
Volker Ruppert
7a7bd0779f
- version number updated
2002-01-08 18:58:47 +00:00
Bryce Denney
ed1a1e2f05
- .bochsrc said "keymap" instead of "map" which didn't match main.cc
...
(Jens Seidel)
2002-01-08 15:38:28 +00:00
Bryce Denney
d2a3364463
- clean up comment
2002-01-07 16:30:43 +00:00
Bryce Denney
4067313d38
- applied this patch
2002-01-07 16:23:13 +00:00
Bryce Denney
f94759416d
- the patch lost some spaces in transmission, so I added them back.
2002-01-07 16:22:34 +00:00
Bryce Denney
f9fce32eca
- remove broken code that deletes the "io" object. Since all logfunctions
...
objects point to the io object, it is not safe to delete the io object
as soon as the first logfunctions object is deleted. This leaves all the
other logfunctions objects with pointers to a dead object.
2002-01-07 16:10:11 +00:00
Bryce Denney
11d907e40a
- add Spanish keymap, from a patch by Vicente Hernando Ara
...
<bizenton@navegalia.com>
2002-01-07 15:50:50 +00:00
Bryce Denney
37d828e8b4
- spanish keymap patch from Vicente Hernando Ara <bizenton@navegalia.com>
2002-01-07 15:46:03 +00:00
Volker Ruppert
f9fdee7ed5
- 16-bit DMA mode fixed (VOC file output works)
2002-01-05 10:30:24 +00:00
Volker Ruppert
4b759265e9
- deassert HRQ if no DRQ is pending
...
- fixed boundary check for 16-bit DMA
- removed unnecessary comments
2002-01-05 10:28:49 +00:00
Volker Ruppert
45f11e30b2
- implementation of cascade mode (channel 4)
2002-01-02 10:00:54 +00:00
Volker Ruppert
7add6391d6
- DMA initialisation complete: unmask cascade channel
2002-01-02 09:59:32 +00:00
Volker Ruppert
e9a86dd9c8
- bx_init_hardware(): don't update the log actions if control panel is enabled
2002-01-02 09:57:58 +00:00
Volker Ruppert
17ab2fa85f
- INT 13 diskette funktion 5 uses the "format track" function of the FDC
...
- added initialisation of PIC and DMA in POST - reboot of linux works now
2002-01-01 21:39:28 +00:00
Volker Ruppert
df10d56fe4
- recognize edge/level bit in ICW1, messages updated
2001-12-31 08:38:08 +00:00
Volker Ruppert
d6a1ec5fd9
- removed unnecessary untrigger_irq() call
2001-12-31 08:36:48 +00:00