wine
26 years agoSimulate the VGA vertical refresh.
Ove Kaaven [Sun, 8 Nov 1998 15:06:31 +0000 (15:06 +0000)] 
Simulate the VGA vertical refresh.

26 years agoAdded support of source and destination rectangles in Blit function.
Lionel Ulmer [Sun, 8 Nov 1998 14:27:30 +0000 (14:27 +0000)] 
Added support of source and destination rectangles in Blit function.

26 years agoAdded device type constants and used them in device enumeration
Lionel Ulmer [Sun, 8 Nov 1998 14:24:04 +0000 (14:24 +0000)] 
Added device type constants and used them in device enumeration
function.

26 years agoAPI documentation says that RegEnumKeyEx, RegEnumValue and
Uwe Bonnes [Sun, 8 Nov 1998 14:22:31 +0000 (14:22 +0000)] 
API documentation says that RegEnumKeyEx, RegEnumValue and
RegQueryInfoKey takes the size of the buffers as characters.

26 years agoAdded missing #include "config.h"
Alexandre Julliard [Sun, 8 Nov 1998 14:18:04 +0000 (14:18 +0000)] 
Added missing #include "config.h"

26 years agoReplaces CoCreateGuid stub with an implementation of DCE's UUID
Justin Bradford [Sun, 8 Nov 1998 13:36:39 +0000 (13:36 +0000)] 
Replaces CoCreateGuid stub with an implementation of DCE's UUID
specification. Also removes some unnecessary code from StringFromCLSID.

26 years agoAdded an extern "C" safeguard.
Uwe Bonnes [Sun, 8 Nov 1998 13:14:55 +0000 (13:14 +0000)] 
Added an extern "C" safeguard.

26 years ago- adds GetExitCodeProcess
Uwe Bonnes [Sun, 8 Nov 1998 13:12:49 +0000 (13:12 +0000)] 
- adds GetExitCodeProcess
- corrects the return-type of GetKeyState
- corrects the winelib definition of IsDialogMessage
- adds winelib definitions for PrintDlg

26 years agoExtSelectClipRgn fix: RGN_DIFF did not work.
Rein Klazes [Sun, 8 Nov 1998 13:01:41 +0000 (13:01 +0000)] 
ExtSelectClipRgn fix: RGN_DIFF did not work.

26 years agoAdapted to new input event handling.
Ulrich Weigand [Sun, 8 Nov 1998 12:27:26 +0000 (12:27 +0000)] 
Adapted to new input event handling.

26 years agoUSER-side part of input event handling: contains implementation of
Ulrich Weigand [Sun, 8 Nov 1998 12:26:36 +0000 (12:26 +0000)] 
USER-side part of input event handling: contains implementation of
keybd_event and mouse_event, and USER-related code removed from
windows/event.c and windows/keyboard.c.

26 years agoStubs for DISPLAY.DRV removed from keyboard.c.
Ulrich Weigand [Sun, 8 Nov 1998 12:24:02 +0000 (12:24 +0000)] 
Stubs for DISPLAY.DRV removed from keyboard.c.

26 years agoImplementation of MOUSE.DRV (contains some code taken from
Ulrich Weigand [Sun, 8 Nov 1998 12:21:35 +0000 (12:21 +0000)] 
Implementation of MOUSE.DRV (contains some code taken from
windows/event.c).

26 years agoImplementation of KEYBOARD.DRV (code mostly taken from previous
Ulrich Weigand [Sun, 8 Nov 1998 12:19:23 +0000 (12:19 +0000)] 
Implementation of KEYBOARD.DRV (code mostly taken from previous
windows/keyboard.c).

26 years agoBugfix: really *do* switch to the initial task's stack.
Ulrich Weigand [Sun, 8 Nov 1998 12:07:36 +0000 (12:07 +0000)] 
Bugfix: really *do* switch to the initial task's stack.
CallLargeStack mechanism re-enabled.

26 years agoAdded stub for CreateBindCtx() and added missing CoGetClassObject()
Eric Kohl [Sun, 8 Nov 1998 11:40:00 +0000 (11:40 +0000)] 
Added stub for CreateBindCtx() and added missing CoGetClassObject()
to *.spec file. Makes Internet Explorer 4.01 happy ;-)

26 years agoLittle improvement.
Eric Kohl [Sun, 8 Nov 1998 11:39:10 +0000 (11:39 +0000)] 
Little improvement.

26 years agoAdded preliminary hit testing. Makes regedit.exe happy ;-)
Eric Kohl [Sun, 8 Nov 1998 11:37:40 +0000 (11:37 +0000)] 
Added preliminary hit testing. Makes regedit.exe happy ;-)

26 years agoImproved documentation and fixed typos.
Eric Kohl [Sun, 8 Nov 1998 11:36:04 +0000 (11:36 +0000)] 
Improved documentation and fixed typos.

26 years agoAdded DrawStatusText32AW() and CreateStatusWindow32AW().
Eric Kohl [Sun, 8 Nov 1998 11:33:05 +0000 (11:33 +0000)] 
Added DrawStatusText32AW() and CreateStatusWindow32AW().

26 years agoImproved display and layout code.
Eric Kohl [Sun, 8 Nov 1998 11:31:12 +0000 (11:31 +0000)] 
Improved display and layout code.

26 years agoNew Files. Added 'date and time picker' and 'month calendar' control
Eric Kohl [Sun, 8 Nov 1998 11:30:27 +0000 (11:30 +0000)] 
New Files. Added 'date and time picker' and 'month calendar' control
dummies. They are used by Outlook Express.

26 years agoAdded stubs for SetWinMetaFileBits and GetEnhMetaFilePaletteEntries.
Charles Suprin [Sat, 7 Nov 1998 12:56:31 +0000 (12:56 +0000)] 
Added stubs for SetWinMetaFileBits and GetEnhMetaFilePaletteEntries.

26 years agoStop X11DRV_RoundRect calling XDrawArc with -ve width/height params
Huw D M Davies [Sat, 7 Nov 1998 12:42:54 +0000 (12:42 +0000)] 
Stop X11DRV_RoundRect calling XDrawArc with -ve width/height params
which it did if either ellipse dimension was zero.

26 years agoOptimize RoundRect32 to call Rectangle32 if either ellipse dimension
Huw D M Davies [Sat, 7 Nov 1998 12:41:49 +0000 (12:41 +0000)] 
Optimize RoundRect32 to call Rectangle32 if either ellipse dimension
is zero.

26 years agoAdded stub WNetEnumCachedPasswords.
Andreas Mohr [Sat, 7 Nov 1998 12:38:07 +0000 (12:38 +0000)] 
Added stub WNetEnumCachedPasswords.

26 years agoMade this file DOSMOD friendly.
Andreas Mohr [Sat, 7 Nov 1998 12:36:56 +0000 (12:36 +0000)] 
Made this file DOSMOD friendly.

26 years agoUnified "No implementation for..." warnings.
Andreas Mohr [Sat, 7 Nov 1998 12:35:50 +0000 (12:35 +0000)] 
Unified "No implementation for..." warnings.

26 years agomonodebg.vxd used by some Origin programs implemented.
Marcus Meissner [Sat, 7 Nov 1998 12:32:59 +0000 (12:32 +0000)] 
monodebg.vxd used by some Origin programs implemented.

26 years agoFail if less then one entire line requested in GetBitmapBits32.
Uwe Bonnes [Sat, 7 Nov 1998 12:25:18 +0000 (12:25 +0000)] 
Fail if less then one entire line requested in GetBitmapBits32.

26 years agoAdded WM_GETDLGCODE handling in (Un)MapMsg32Ato16.
Rein Klazes [Sat, 7 Nov 1998 12:24:21 +0000 (12:24 +0000)] 
Added WM_GETDLGCODE handling in (Un)MapMsg32Ato16.

26 years agoImplementation of CoLoadLibrary, CoFreeAllLibraries,
John Richardson [Sat, 7 Nov 1998 12:19:26 +0000 (12:19 +0000)] 
Implementation of CoLoadLibrary, CoFreeAllLibraries,
CoFreeUnusedLibraries, CoFreeLibrary.
Fixed misspelling of CoUninitialize.

26 years agoFixes for other languages.
Robert Pouliot [Sat, 7 Nov 1998 12:09:24 +0000 (12:09 +0000)] 
Fixes for other languages.

26 years agoFix wide character functions to return character count in character
John Richardson [Fri, 6 Nov 1998 17:36:13 +0000 (17:36 +0000)] 
Fix wide character functions to return character count in character
quantities not byte quantities.  Make RegQueryInfoKey and
RegQueryInfoKey behave correctly in win95 mode.

26 years agoChanged mouse button mapping and check size of return buffer.
Lionel Ulmer [Fri, 6 Nov 1998 17:28:22 +0000 (17:28 +0000)] 
Changed mouse button mapping and check size of return buffer.

26 years agoExtSelectClipRgn() with RGN_COPY copies the wrong region.
Rein Klazes [Fri, 6 Nov 1998 17:20:24 +0000 (17:20 +0000)] 
ExtSelectClipRgn() with RGN_COPY copies the wrong region.

26 years agoFixed an error in the implementation of FILE_ShareDeny.
Uwe Bonnes [Fri, 6 Nov 1998 16:39:57 +0000 (16:39 +0000)] 
Fixed an error in the implementation of FILE_ShareDeny.

26 years agoSolaris redefines ERR and CS, fixed occurances.
Marcus Meissner [Fri, 6 Nov 1998 16:30:41 +0000 (16:30 +0000)] 
Solaris redefines ERR and CS, fixed occurances.
Solaris has TRAPNO in its sigcontext, added to sig_context.h

26 years agoMade mmioSetBuffer callable from 16 and 32 bit code.
Eric Pouech [Fri, 6 Nov 1998 16:04:09 +0000 (16:04 +0000)] 
Made mmioSetBuffer callable from 16 and 32 bit code.

26 years agoFixed wrong arg type.
Juergen Schmied [Fri, 6 Nov 1998 15:23:43 +0000 (15:23 +0000)] 
Fixed wrong arg type.

26 years agoMoved X11 DIB stuff to x11drv.
Huw D M Davies [Fri, 6 Nov 1998 11:03:00 +0000 (11:03 +0000)] 
Moved X11 DIB stuff to x11drv.

26 years agoThe API for WideCharToMultiByte says that the src-string has only to be
Uwe Bonnes [Fri, 6 Nov 1998 10:58:33 +0000 (10:58 +0000)] 
The API for WideCharToMultiByte says that the src-string has only to be
treated as NULL-terminated if srclen is -1.

26 years agoMade sure ConfigureNotify is processed before Expose, deferring the
Ove Kaaven [Fri, 6 Nov 1998 10:56:09 +0000 (10:56 +0000)] 
Made sure ConfigureNotify is processed before Expose, deferring the
Expose event if necessary, thus working around a WM flaw with virtual
desktop scrolling in -managed mode.

26 years agoBugfix in write_name_str() [writeres.c] where the length byte/word was
Bertho Stultiens [Fri, 6 Nov 1998 10:51:40 +0000 (10:51 +0000)] 
Bugfix in write_name_str() [writeres.c] where the length byte/word was
wrongly counted in the length of the string.
Thanks to Ulrich Weigand <weigand@informatik.uni-erlangen.de>

26 years agoTranslated in French (not so good anyhow) message for the mark on
Eric Pouech [Fri, 6 Nov 1998 10:49:41 +0000 (10:49 +0000)] 
Translated in French (not so good anyhow) message for the mark on
system menu.

26 years agoChanged the default from 0 to 0x409 (eng-us).
Juergen Schmied [Fri, 6 Nov 1998 10:19:47 +0000 (10:19 +0000)] 
Changed the default from 0 to 0x409 (eng-us).

26 years agoTwo missing WINAPIs.
Marcus Meissner [Fri, 6 Nov 1998 10:15:00 +0000 (10:15 +0000)] 
Two missing WINAPIs.

26 years agoFixed one wrong parameter.
Juergen Schmied [Fri, 6 Nov 1998 10:12:29 +0000 (10:12 +0000)] 
Fixed one wrong parameter.

26 years agoFixed --disable-lib.
Ove Kaaven [Fri, 6 Nov 1998 10:01:45 +0000 (10:01 +0000)] 
Fixed --disable-lib.

26 years agoConstants for controls in common dialogs.
Juergen Schmied [Thu, 5 Nov 1998 10:33:18 +0000 (10:33 +0000)] 
Constants for controls in common dialogs.

26 years agoFixed some compiler warnings.
Juergen Schmied [Wed, 4 Nov 1998 18:08:33 +0000 (18:08 +0000)] 
Fixed some compiler warnings.

26 years agoegcs 'ambiguous else' warnings fixes.
Jesper Skov [Sun, 1 Nov 1998 19:27:22 +0000 (19:27 +0000)] 
egcs 'ambiguous else' warnings fixes.

26 years agoGet rid of the redefinition of MAX_PATH and move PROCESSENTRY32
Huw D M Davies [Sun, 1 Nov 1998 19:23:52 +0000 (19:23 +0000)] 
Get rid of the redefinition of MAX_PATH and move PROCESSENTRY32
definition to toolhelp.h.

26 years agoRun Winelib applications as 32-bit processes in the initial task.
Ulrich Weigand [Sun, 1 Nov 1998 18:01:53 +0000 (18:01 +0000)] 
Run Winelib applications as 32-bit processes in the initial task.
Simplified/removed several special 'if (__winelib)' cases in
Wine main code obsoleted by that change.

26 years agoCall mouse driver callback also if windows are not registered with X
Ulrich Weigand [Sun, 1 Nov 1998 18:00:56 +0000 (18:00 +0000)] 
Call mouse driver callback also if windows are not registered with X
(if using native USER.EXE).

26 years agoAdapted to separation between KERNEL and USER.
Ulrich Weigand [Sun, 1 Nov 1998 18:00:09 +0000 (18:00 +0000)] 
Adapted to separation between KERNEL and USER.

26 years agoImplemented new Wine startup sequence, separating startup into
Ulrich Weigand [Sun, 1 Nov 1998 17:59:35 +0000 (17:59 +0000)] 
Implemented new Wine startup sequence, separating startup into
KERNEL/USER/GDI related parts, allowing native replacement.
Implemented initial 'kernel' task.

26 years agoImplementation of InprocServer32 CoGetClassObject.
John Richardson [Sun, 1 Nov 1998 16:51:10 +0000 (16:51 +0000)] 
Implementation of InprocServer32 CoGetClassObject.

26 years agoMore bitmap fixes.
Huw D M Davies [Sun, 1 Nov 1998 16:35:42 +0000 (16:35 +0000)] 
More bitmap fixes.

26 years agoFixed crashes with WM_GETDLGCODE translation.
Alexandre Julliard [Sun, 1 Nov 1998 16:23:54 +0000 (16:23 +0000)] 
Fixed crashes with WM_GETDLGCODE translation.

26 years agoStarted moving some X11 window management code to windows/x11drv.
Patrik Stridvall [Sun, 1 Nov 1998 16:22:07 +0000 (16:22 +0000)] 
Started moving some X11 window management code to windows/x11drv.

26 years agoFixed IsDialogMessage16.
Ove Kaaven [Sun, 1 Nov 1998 15:27:12 +0000 (15:27 +0000)] 
Fixed IsDialogMessage16.

26 years agoTell people to ignore the 'gets' warning. Some will listen.
Douglas Ridgway [Sun, 1 Nov 1998 15:14:39 +0000 (15:14 +0000)] 
Tell people to ignore the 'gets' warning. Some will listen.

26 years agoA couple of small fixes to my bitmap patch.
Huw D M Davies [Sun, 1 Nov 1998 15:13:53 +0000 (15:13 +0000)] 
A couple of small fixes to my bitmap patch.

26 years agoAllow the user to put a mark in the debug log by adding a item in the
Uwe Bonnes [Sun, 1 Nov 1998 15:07:24 +0000 (15:07 +0000)] 
Allow the user to put a mark in the debug log by adding a item in the
SYSMENU. The messages needs implementation in all other languages than
English and German.

26 years agoGive tempfile a different name even if they are created in the same
Uwe Bonnes [Sun, 1 Nov 1998 15:04:52 +0000 (15:04 +0000)] 
Give tempfile a different name even if they are created in the same
second. Removed some fixmes from the ShareDeny stuff.

26 years agoCreateWindowEx32[AW] now creates an MDI chils when the WM_EX_MDICHILD
Rein Klazes [Sun, 1 Nov 1998 14:50:06 +0000 (14:50 +0000)] 
CreateWindowEx32[AW] now creates an MDI chils when the WM_EX_MDICHILD
extended style is specified. Also implemented CreateMDIWindow32A()
call - single thread only -.

26 years agoErred in the bit macros in treeview.c. Shiftcounts were wrong.
Marcus Meissner [Sun, 1 Nov 1998 14:48:58 +0000 (14:48 +0000)] 
Erred in the bit macros in treeview.c. Shiftcounts were wrong.

26 years agoDetection of the end of imports with Characteristics 0 fail for Borland
Marcus Meissner [Sun, 1 Nov 1998 14:48:25 +0000 (14:48 +0000)] 
Detection of the end of imports with Characteristics 0 fail for Borland
programs (which seem to have always characteristics 0). Changed to algorithm
to something a bit more intelligent.

26 years agoAdded CoFreeLibrary stub.
Ove Kaaven [Sun, 1 Nov 1998 14:47:53 +0000 (14:47 +0000)] 
Added CoFreeLibrary stub.

26 years agoUpdated FAQ location.
Alexandre Julliard [Sun, 1 Nov 1998 14:14:56 +0000 (14:14 +0000)] 
Updated FAQ location.

26 years agoImplement SEGPTR conversion for STARTDOC in Escape32().
Huw D M Davies [Sun, 1 Nov 1998 14:06:04 +0000 (14:06 +0000)] 
Implement SEGPTR conversion for STARTDOC in Escape32().

26 years agoBugfix: SetDCState did not reset clipping region to empty.
Ulrich Weigand [Sun, 1 Nov 1998 14:05:33 +0000 (14:05 +0000)] 
Bugfix: SetDCState did not reset clipping region to empty.

26 years agoFixed small off by one error in GetComputerName32W, always killed the
Marcus Meissner [Sun, 1 Nov 1998 14:04:45 +0000 (14:04 +0000)] 
Fixed small off by one error in GetComputerName32W, always killed the
last character of a hostname.

26 years agoDon't HeapFree() colormap if we didn't allocate one.
Marcus Meissner [Sun, 1 Nov 1998 14:04:15 +0000 (14:04 +0000)] 
Don't HeapFree() colormap if we didn't allocate one.

26 years agoAdded stubs for user32,advapi32 functions.
Marcus Meissner [Sun, 1 Nov 1998 14:02:57 +0000 (14:02 +0000)] 
Added stubs for user32,advapi32 functions.

26 years agoMore Nt* and Rtl* function stubs, moved ntdll.c to dlls/ntdll/.
Marcus Meissner [Sun, 1 Nov 1998 14:00:21 +0000 (14:00 +0000)] 
More Nt* and Rtl* function stubs, moved ntdll.c to dlls/ntdll/.

26 years agoChanged many WARN()s related to internal Wine memory failures to
Andreas Mohr [Sun, 1 Nov 1998 13:33:57 +0000 (13:33 +0000)] 
Changed many WARN()s related to internal Wine memory failures to
ERR()s.

26 years agoAdded .spec entry for KERNEL.RegisterServiceProcess.
Andreas Mohr [Sun, 1 Nov 1998 13:32:44 +0000 (13:32 +0000)] 
Added .spec entry for KERNEL.RegisterServiceProcess.

26 years agoAdded stub for CheckCursor().
Andreas Mohr [Sun, 1 Nov 1998 13:30:18 +0000 (13:30 +0000)] 
Added stub for CheckCursor().

26 years agoFix for non-modal dialog closing.
Tim Newsome [Sun, 1 Nov 1998 13:04:43 +0000 (13:04 +0000)] 
Fix for non-modal dialog closing.

26 years agoRewrote the two routines using the vkey->scancode array to use
David Faure [Sun, 1 Nov 1998 13:03:43 +0000 (13:03 +0000)] 
Rewrote the two routines using the vkey->scancode array to use
keyc2vkey for each keycode, instead. Not tested.
Removed unused IDirectInputDeviceA_GetDeviceState.
Fixed warning in TRACE() call.

26 years agoDeleted the vkey->sancode array, because QWERTY specific.
David Faure [Sun, 1 Nov 1998 13:02:59 +0000 (13:02 +0000)] 
Deleted the vkey->sancode array, because QWERTY specific.
Back to using the X keycode instead as the scancode. Tested.

26 years agoPrint a message if the PostScript driver can't find a PPD file.
Huw D M Davies [Sun, 1 Nov 1998 13:02:27 +0000 (13:02 +0000)] 
Print a message if the PostScript driver can't find a PPD file.

26 years agoAdded VGA 256-color mode 0x13 using the DisplayDib VGA emulation.
Ove Kaaven [Sun, 1 Nov 1998 12:53:43 +0000 (12:53 +0000)] 
Added VGA 256-color mode 0x13 using the DisplayDib VGA emulation.
(DOS apps/games using this mode comes up now, although you can't
really do anything with them (yet?).)

26 years agoUse macro V86_FLAG.
Ove Kaaven [Sun, 1 Nov 1998 12:53:17 +0000 (12:53 +0000)] 
Use macro V86_FLAG.

26 years agoSet default video mode to 3 (80x25 color).
Ove Kaaven [Sun, 1 Nov 1998 12:52:41 +0000 (12:52 +0000)] 
Set default video mode to 3 (80x25 color).

26 years agoIgnores a couple of signals.
Ove Kaaven [Sun, 1 Nov 1998 12:52:14 +0000 (12:52 +0000)] 
Ignores a couple of signals.

26 years agoMoved VGA-emulating DirectX code from dispdib.c to a separate
Ove Kaaven [Sun, 1 Nov 1998 12:51:47 +0000 (12:51 +0000)] 
Moved VGA-emulating DirectX code from dispdib.c to a separate
file. Made it use a system timer and trap I/O accesses to the VGA
DAC registers to accommodate DisplayDib-using programs that try to
access the VGA hardware directly.

26 years agoIndirection for INSTR_EmulateInstruction for use by DOS code.
Ove Kaaven [Sun, 1 Nov 1998 12:41:19 +0000 (12:41 +0000)] 
Indirection for INSTR_EmulateInstruction for use by DOS code.
Added support for a 55Hz system timer, letting DOS apps calibrate
their delay loops and such. Calls INSTR_EmulateInstruction for
instruction emulation (principally I/O port access). Added macro
V86_FLAG.

26 years agoSmall fixes.
Marcus Meissner [Sat, 31 Oct 1998 12:20:55 +0000 (12:20 +0000)] 
Small fixes.

26 years agoRemoved the FIXME() and moved SetLastError(0) to the end (so that
Marcus Meissner [Sat, 31 Oct 1998 12:20:39 +0000 (12:20 +0000)] 
Removed the FIXME() and moved SetLastError(0) to the end (so that
GetTempFileName et.al. can't overwrite it).

26 years agoLots of stubs to get winlogon.exe from nt3.51 and other NT3.51 applets
Marcus Meissner [Sat, 31 Oct 1998 12:19:56 +0000 (12:19 +0000)] 
Lots of stubs to get winlogon.exe from nt3.51 and other NT3.51 applets
a bit further.

26 years agoMDIchild created when the MDI client has the MDIS_ALLCHILDSTYLES
Rein Klazes [Sat, 31 Oct 1998 12:18:17 +0000 (12:18 +0000)] 
MDIchild created when the MDI client has the MDIS_ALLCHILDSTYLES
style, should not be shown at creation nor activated unless the
WS_VISIBLE flag is set.

26 years agoBugfix for fixup_imports: Enable checking for terminating import
Stephen Langasek [Sat, 31 Oct 1998 12:10:08 +0000 (12:10 +0000)] 
Bugfix for fixup_imports: Enable checking for terminating import
struct with Characteristics bitfield set to 0.

26 years agoDelay linking newly created window in linked list until after the
Rein Klazes [Sat, 31 Oct 1998 12:09:32 +0000 (12:09 +0000)] 
Delay linking newly created window in linked list until after the
WM_NCCREATE message.

26 years agoSmall bug in FILE_InUse does not do a release on every acquired file
Rein Klazes [Sat, 31 Oct 1998 12:08:55 +0000 (12:08 +0000)] 
Small bug in FILE_InUse does not do a release on every acquired file
pointer.

26 years agolpszName of NULL is handled (removes some warnings).
Marcus Meissner [Sat, 31 Oct 1998 12:07:51 +0000 (12:07 +0000)] 
lpszName of NULL is handled (removes some warnings).

26 years agoNow allows specification of a start directory on the cmdline.
Marcus Meissner [Sat, 31 Oct 1998 12:07:21 +0000 (12:07 +0000)] 
Now allows specification of a start directory on the cmdline.

26 years agoGets rid of the arch-dependent bit operations (tested on Linux and
Marcus Meissner [Sat, 31 Oct 1998 12:06:53 +0000 (12:06 +0000)] 
Gets rid of the arch-dependent bit operations (tested on Linux and
Solaris/x86).