wine
25 years agoDoDragDrop and OleIsCurrentClipboard stub implementation.
Sylvain St.Germain [Sat, 23 Jan 1999 11:54:12 +0000 (11:54 +0000)] 
DoDragDrop and OleIsCurrentClipboard stub implementation.

25 years agoMake LoadTypeLib stub return failure instead of success.
Francis Beaudet [Sat, 23 Jan 1999 11:53:21 +0000 (11:53 +0000)] 
Make LoadTypeLib stub return failure instead of success.

25 years agoFixed accelerator handling. ACCEL16 used internal, ACCEL32 for Win32
Marcus Meissner [Fri, 22 Jan 1999 17:09:46 +0000 (17:09 +0000)] 
Fixed accelerator handling. ACCEL16 used internal, ACCEL32 for Win32
API, PE_ACCEL for PE Accelerators. See documentation/accelerators.

25 years agoThere were two copies of the DdeCmpStringHandles (A and W) and that
Francis Beaudet [Thu, 21 Jan 1999 14:05:11 +0000 (14:05 +0000)] 
There were two copies of the DdeCmpStringHandles (A and W) and that
API does not have 2 versions. Removed the extra version.

25 years agoSmall patch.
Pablo Saratxaga [Wed, 20 Jan 1999 14:54:01 +0000 (14:54 +0000)] 
Small patch.

25 years agoWin32 console needs SYNCHRONIZE access.
Marcus Meissner [Wed, 20 Jan 1999 14:46:49 +0000 (14:46 +0000)] 
Win32 console needs SYNCHRONIZE access.

25 years agoautoconf: added checks for libio.h, elf.h, curses.h,ncurses.h and
Marcus Meissner [Wed, 20 Jan 1999 14:18:55 +0000 (14:18 +0000)] 
autoconf: added checks for libio.h, elf.h, curses.h,ncurses.h and
fixed includers.

25 years agoLCMapStringA: if dstlen is insufficient, return
Marcus Meissner [Wed, 20 Jan 1999 14:13:02 +0000 (14:13 +0000)] 
LCMapStringA: if dstlen is insufficient, return
ERROR_INSUFFICIENT_BUFFER (verified).

25 years agoSome small fixes to enhmetafiles.
Marcus Meissner [Wed, 20 Jan 1999 14:11:07 +0000 (14:11 +0000)] 
Some small fixes to enhmetafiles.

25 years agoDo not call ownerdraw for invalid items (empty focusrects).
Marcus Meissner [Wed, 20 Jan 1999 14:08:00 +0000 (14:08 +0000)] 
Do not call ownerdraw for invalid items (empty focusrects).
Fixes Eudora 16bit empty Inbox problem.

25 years agoFixed the NC_DrawMaxButton95 and NC_DrawMinButton95 functions. Rewrote
Noomen Hamza [Wed, 20 Jan 1999 14:03:49 +0000 (14:03 +0000)] 
Fixed the NC_DrawMaxButton95 and NC_DrawMinButton95 functions. Rewrote
these functions with the same logic as the NC_DrawCloseButton function.

25 years agoReparenting a window with SetParent in Windows should cause the child
Noel Borthwick [Wed, 20 Jan 1999 13:50:13 +0000 (13:50 +0000)] 
Reparenting a window with SetParent in Windows should cause the child
window being re-parented to be moved up to the topmost in the z-order,
and WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages to be sent.

25 years agoUse external DirectPlay DLLs by default.
Robert Riggs [Wed, 20 Jan 1999 13:46:39 +0000 (13:46 +0000)] 
Use external DirectPlay DLLs by default.

25 years agoAllow passing task handles to GetThreadQueue() and SetFastQueue().
Ulrich Weigand [Wed, 20 Jan 1999 13:35:34 +0000 (13:35 +0000)] 
Allow passing task handles to GetThreadQueue() and SetFastQueue().

25 years agoHandle (console) applications that never created a queue correctly
Ulrich Weigand [Wed, 20 Jan 1999 13:16:32 +0000 (13:16 +0000)] 
Handle (console) applications that never created a queue correctly
in USER_AppExit(); call InitThreadInput() in InitApp().

25 years ago- Fixed creation of message queue in hook API routines.
Ulrich Weigand [Wed, 20 Jan 1999 13:11:45 +0000 (13:11 +0000)] 
- Fixed creation of message queue in hook API routines.
- Some preparations for thread-local message queues.

25 years agoCheck module name length in ModuleNext().
Ulrich Weigand [Wed, 20 Jan 1999 13:08:23 +0000 (13:08 +0000)] 
Check module name length in ModuleNext().

25 years agoUse Callout to call RedrawWindow32.
Ulrich Weigand [Wed, 20 Jan 1999 12:52:10 +0000 (12:52 +0000)] 
Use Callout to call RedrawWindow32.

25 years agoClear DOS extended error only for funcs >=0x2f (thanks to Dave
Ove Kaaven [Wed, 20 Jan 1999 12:45:32 +0000 (12:45 +0000)] 
Clear DOS extended error only for funcs >=0x2f (thanks to Dave
Pickles).

25 years agoUnified palette create, do allocate colorcells on init for DGA.
Marcus Meissner [Wed, 20 Jan 1999 12:25:56 +0000 (12:25 +0000)] 
Unified palette create, do allocate colorcells on init for DGA.

25 years agoHacked server-side device support
Alexandre Julliard [Tue, 19 Jan 1999 17:48:23 +0000 (17:48 +0000)] 
Hacked server-side device support
Added user APCs support.
Many changes to the xterm console to make use of the server (not
finished yet).
Moved some other small stuff to the server.

25 years agoAdded long type format.
Alexandre Julliard [Tue, 19 Jan 1999 17:06:13 +0000 (17:06 +0000)] 
Added long type format.

25 years agoAdded server-side device support (only a hack for now).
Alexandre Julliard [Tue, 19 Jan 1999 16:31:32 +0000 (16:31 +0000)] 
Added server-side device support (only a hack for now).

25 years agoGroup commit for recovery after disk crash.
Alexandre Julliard [Sun, 17 Jan 1999 16:55:11 +0000 (16:55 +0000)] 
Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.

25 years agoRecovery of release 990110 after disk crash. wine-990110
Alexandre Julliard [Sun, 17 Jan 1999 16:32:32 +0000 (16:32 +0000)] 
Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.

25 years agoRelease 990103. wine-990103
Alexandre Julliard [Sun, 3 Jan 1999 17:27:57 +0000 (17:27 +0000)] 
Release 990103.

25 years ago- beginning of implementation of Direct3D2 (DX 5.0) and associated classes
Lionel Ulmer [Sun, 3 Jan 1999 17:00:19 +0000 (17:00 +0000)] 
- beginning of implementation of Direct3D2 (DX 5.0) and associated classes
- some basic code for Direct3D and Direct3DExecuteBuffer (DX 3.0)
- added stretching to Blt function

25 years agoTry to autodetect NT4.
Marcus Meissner [Sun, 3 Jan 1999 16:18:57 +0000 (16:18 +0000)] 
Try to autodetect NT4.

25 years ago0 means success, all else failure for WaitForSingleObject.
Marcus Meissner [Sun, 3 Jan 1999 16:18:33 +0000 (16:18 +0000)] 
0 means success, all else failure for WaitForSingleObject.

25 years agoDo not advance the cursor in certain routines. This cleaned up the
Joseph Pranevich [Sun, 3 Jan 1999 16:16:36 +0000 (16:16 +0000)] 
Do not advance the cursor in certain routines. This cleaned up the
implementation quite a bit.

25 years agoSet console video mode when loading DOS app. (Eventually, I want to
Joseph Pranevich [Sun, 3 Jan 1999 16:16:14 +0000 (16:16 +0000)] 
Set console video mode when loading DOS app. (Eventually, I want to
mimic Windows 9x's behavior by setting the video mode only when non
INT 21 calls are used to allow for arbitrary-sized consoles).

25 years agoXterm driver can now resize the terminal when a mode change is
Joseph Pranevich [Sun, 3 Jan 1999 16:15:39 +0000 (16:15 +0000)] 
Xterm driver can now resize the terminal when a mode change is
detected.

25 years agoLong standing scroll bug fixed!
Joseph Pranevich [Sun, 3 Jan 1999 16:15:12 +0000 (16:15 +0000)] 
Long standing scroll bug fixed!

25 years agoRewrite of configuration system to support "regular" curses as well as
Joseph Pranevich [Sun, 3 Jan 1999 16:14:34 +0000 (16:14 +0000)] 
Rewrite of configuration system to support "regular" curses as well as
eliminating the --with-ncurses option. Now, ncurses support will be
built in if a compatible library is detected.

25 years agoFix the return type of DLGPROC type and mask out the unset highword of
NF Stevens [Sun, 3 Jan 1999 16:13:08 +0000 (16:13 +0000)] 
Fix the return type of DLGPROC type and mask out the unset highword of
the return when a 16 bit dialog proc is called.

25 years agoAdd interface ID's for upcoming ITypeLib implementation.
Rein Klazes [Sun, 3 Jan 1999 16:12:29 +0000 (16:12 +0000)] 
Add interface ID's for upcoming ITypeLib implementation.

25 years agoBugfix for trailing slashes, repetition of '/' or '\' and
Juergen Schmied [Sun, 3 Jan 1999 16:12:01 +0000 (16:12 +0000)] 
Bugfix for trailing slashes, repetition of '/' or '\' and
SetLastError() in GetFullPathname.

25 years agoMoved ADVAPI32 files to dlls/advapi32.
Juergen Schmied [Sun, 3 Jan 1999 12:48:29 +0000 (12:48 +0000)] 
Moved ADVAPI32 files to dlls/advapi32.
Added stubs for eventlog functions.

25 years agoNew stubs NTSHChangeNotifyRegister, NTSHChangeNotifyDeregister.
Juergen Schmied [Sun, 3 Jan 1999 12:35:52 +0000 (12:35 +0000)] 
New stubs NTSHChangeNotifyRegister, NTSHChangeNotifyDeregister.
Cleanup, some more functions UNICODE ready.

25 years agoSHCloneSpecialIDList implemented.
Juergen Schmied [Sun, 3 Jan 1999 12:34:01 +0000 (12:34 +0000)] 
SHCloneSpecialIDList implemented.
SHGetDataFromIDListA corrected.

25 years agoShell_GetCachedImageIndex32[A|W] implemented.
Juergen Schmied [Sun, 3 Jan 1999 12:33:08 +0000 (12:33 +0000)] 
Shell_GetCachedImageIndex32[A|W] implemented.

25 years agoImplemented raw device access calls for ioctlGenericBlkDevReq()
Andreas Mohr [Sun, 3 Jan 1999 12:31:51 +0000 (12:31 +0000)] 
Implemented raw device access calls for ioctlGenericBlkDevReq()
and therefore moved the core functionality of int2[56].c into files/drive.c.

25 years agoAdded automatic CMOS RAM checksum calculation.
Andreas Mohr [Sun, 3 Jan 1999 12:30:43 +0000 (12:30 +0000)] 
Added automatic CMOS RAM checksum calculation.

25 years agoSendASPI32Command32 has to be __cdecl.
Andreas Mohr [Sun, 3 Jan 1999 12:30:02 +0000 (12:30 +0000)] 
SendASPI32Command32 has to be __cdecl.
Updated documentation/aspi and reverted an ERR back to WARN.

25 years agoOf course we want the last 100 lines, not the first 100 lines.
James Juran [Sun, 3 Jan 1999 12:28:44 +0000 (12:28 +0000)] 
Of course we want the last 100 lines, not the first 100 lines.
Use 'tail' instead of 'head'. Also fix text alignment from
previous patch.

25 years agoReading joystick 5 when we only support 4 should fail instead of
Ove Kaaven [Sun, 3 Jan 1999 12:28:03 +0000 (12:28 +0000)] 
Reading joystick 5 when we only support 4 should fail instead of
hang.

25 years agoPlaying a non-existent CD should fail instead of crash.
Ove Kaaven [Sun, 3 Jan 1999 12:27:28 +0000 (12:27 +0000)] 
Playing a non-existent CD should fail instead of crash.

25 years agoCheck for necessary configure reruns for Makefile and Make.rules
Marcus Meissner [Sun, 3 Jan 1999 12:26:22 +0000 (12:26 +0000)] 
Check for necessary configure reruns for Makefile and Make.rules
generation.

25 years agoEmulates ins/outs correctly for DOS programs.
Ove Kaaven [Sun, 3 Jan 1999 12:25:41 +0000 (12:25 +0000)] 
Emulates ins/outs correctly for DOS programs.

25 years agoImplemented file sharing checks in the server.
Alexandre Julliard [Sun, 3 Jan 1999 11:55:56 +0000 (11:55 +0000)] 
Implemented file sharing checks in the server.
Added set file time server request.
Overall clean up of the file handling (DOS device handling is now
broken, should be redone).

25 years agoFixed bug in CreateFileMapping when name is not NULL.
Alexandre Julliard [Sat, 2 Jan 1999 08:22:34 +0000 (08:22 +0000)] 
Fixed bug in CreateFileMapping when name is not NULL.

25 years agoFixed CHECK_STRING display.
Alexandre Julliard [Sat, 2 Jan 1999 08:21:54 +0000 (08:21 +0000)] 
Fixed CHECK_STRING display.

25 years agoPut return value of LocalAlloc in CX too.
Richard A Lough [Fri, 1 Jan 1999 19:51:25 +0000 (19:51 +0000)] 
Put return value of LocalAlloc in CX too.

25 years agoProtect against multiple includes.
Dimitrie O. Paun [Fri, 1 Jan 1999 19:50:40 +0000 (19:50 +0000)] 
Protect against multiple includes.

25 years agoUse proper system directory.
Alexandre Julliard [Fri, 1 Jan 1999 19:50:03 +0000 (19:50 +0000)] 
Use proper system directory.

25 years agoGot rid of CLIENT_GetProcessInfo.
Alexandre Julliard [Fri, 1 Jan 1999 18:59:01 +0000 (18:59 +0000)] 
Got rid of CLIENT_GetProcessInfo.

25 years agoMoves more stuff from windows.h.
Michael Veksler [Fri, 1 Jan 1999 18:57:33 +0000 (18:57 +0000)] 
Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h

25 years agoFixed CloseHandle() on global handles.
Alexandre Julliard [Fri, 1 Jan 1999 18:46:35 +0000 (18:46 +0000)] 
Fixed CloseHandle() on global handles.

25 years agoAdd some information to the man page and README file.
James Juran [Fri, 1 Jan 1999 18:45:52 +0000 (18:45 +0000)] 
Add some information to the man page and README file.
Make documentation/win95look say [Tweak.Layout] instead of
[Tweaks.Layout].
Fix incorrect command given in documentation/bugreports.
Standard error was not being redirected, so most of the
output was lost.

25 years agoDelphi 2.0 needs to allocate a bitmap bigger than 4096 bits wide.
NF Stevens [Fri, 1 Jan 1999 18:45:03 +0000 (18:45 +0000)] 
Delphi 2.0 needs to allocate a bitmap bigger than 4096 bits wide.

25 years agoInitialize lpdwNeeded.
NF Stevens [Fri, 1 Jan 1999 18:44:39 +0000 (18:44 +0000)] 
Initialize lpdwNeeded.

25 years agoInclude stuff even if not on __i386__ for debug defines.
Marcus Meissner [Fri, 1 Jan 1999 18:43:50 +0000 (18:43 +0000)] 
Include stuff even if not on __i386__ for debug defines.

25 years agoAnother // comment fixed.
Marcus Meissner [Fri, 1 Jan 1999 18:43:12 +0000 (18:43 +0000)] 
Another // comment fixed.

25 years agoNeed <errno.h> for errno decl. on Solaris.
Marcus Meissner [Fri, 1 Jan 1999 18:42:17 +0000 (18:42 +0000)] 
Need <errno.h> for errno decl. on Solaris.

25 years agoImplement TranslateCharsetInfo, change charset type to BYTE.
Douglas Ridgway [Fri, 1 Jan 1999 18:41:22 +0000 (18:41 +0000)] 
Implement TranslateCharsetInfo, change charset type to BYTE.

25 years agoBetter CB_SETCURSEL message handling.
Alex Korobka [Fri, 1 Jan 1999 18:40:02 +0000 (18:40 +0000)] 
Better CB_SETCURSEL message handling.

25 years agoMoved MsgWaitForMultipleObject implementation to USER routines, using
Alexandre Julliard [Fri, 1 Jan 1999 17:05:53 +0000 (17:05 +0000)] 
Moved MsgWaitForMultipleObject implementation to USER routines, using
a normal Win32 event.

25 years agoSend debugging output to stderr.
Alexandre Julliard [Fri, 1 Jan 1999 17:04:42 +0000 (17:04 +0000)] 
Send debugging output to stderr.

25 years agoCleaned up and removed some no longer used code.
Alexandre Julliard [Fri, 1 Jan 1999 17:04:00 +0000 (17:04 +0000)] 
Cleaned up and removed some no longer used code.

25 years agoUse server file mapping objects.
Alexandre Julliard [Fri, 1 Jan 1999 17:01:18 +0000 (17:01 +0000)] 
Use server file mapping objects.

25 years agoAdded server-side file mapping object support.
Alexandre Julliard [Fri, 1 Jan 1999 16:59:27 +0000 (16:59 +0000)] 
Added server-side file mapping object support.

25 years agoHacked stdio functions to use Win32 file handles. Still needs a proper
Alexandre Julliard [Fri, 1 Jan 1999 16:56:22 +0000 (16:56 +0000)] 
Hacked stdio functions to use Win32 file handles. Still needs a proper
stdio emulation.

25 years agoUse Win32 file handles instead of Unix ones.
Alexandre Julliard [Fri, 1 Jan 1999 16:55:02 +0000 (16:55 +0000)] 
Use Win32 file handles instead of Unix ones.

25 years agoTake into account handle inheritance flag.
Alexandre Julliard [Fri, 1 Jan 1999 16:53:11 +0000 (16:53 +0000)] 
Take into account handle inheritance flag.

25 years agoChanged db_task_printsym to always print a full address, no matter
Alexandre Julliard [Thu, 31 Dec 1998 15:55:19 +0000 (15:55 +0000)] 
Changed db_task_printsym to always print a full address, no matter
what the operand size is.

25 years agoRe-implemented using a real semaphore.
Alexandre Julliard [Thu, 31 Dec 1998 15:54:18 +0000 (15:54 +0000)] 
Re-implemented using a real semaphore.

25 years agoRemoved client-side wait functions; all waiting is now done through
Alexandre Julliard [Thu, 31 Dec 1998 15:52:06 +0000 (15:52 +0000)] 
Removed client-side wait functions; all waiting is now done through
the server.

25 years agoAdded change notifications.
Alexandre Julliard [Thu, 31 Dec 1998 15:43:48 +0000 (15:43 +0000)] 
Added change notifications.
Added global handle support.

25 years agoChanged server wait logic a bit.
Alexandre Julliard [Wed, 30 Dec 1998 12:11:52 +0000 (12:11 +0000)] 
Changed server wait logic a bit.

25 years agoHacks to support server-side console. Should be redone properly
Alexandre Julliard [Wed, 30 Dec 1998 12:10:49 +0000 (12:10 +0000)] 
Hacks to support server-side console. Should be redone properly
some day.

25 years agoReimplemented Read/WriteFile to use server file descriptors.
Alexandre Julliard [Wed, 30 Dec 1998 12:10:06 +0000 (12:10 +0000)] 
Reimplemented Read/WriteFile to use server file descriptors.
Removed file position hack as it is wrong for Win32 (should be redone
for Win16 only).

25 years agoAdded anonymous pipe support
Alexandre Julliard [Wed, 30 Dec 1998 12:08:20 +0000 (12:08 +0000)] 
Added anonymous pipe support

25 years agoAdded several file server requests
Alexandre Julliard [Wed, 30 Dec 1998 12:06:45 +0000 (12:06 +0000)] 
Added several file server requests
Added server-side pipes and consoles

25 years agoAdded beginnings of server-side file handling.
Alexandre Julliard [Sun, 27 Dec 1998 15:28:54 +0000 (15:28 +0000)] 
Added beginnings of server-side file handling.
Added -debugmsg +server support.
Better server request dumping for varargs requests.

25 years agoFixed SetFocus that was broken when moved to x11drv.
Alexandre Julliard [Sun, 27 Dec 1998 15:26:28 +0000 (15:26 +0000)] 
Fixed SetFocus that was broken when moved to x11drv.

25 years agoAdded add_queue/remove_queue to server object operations.
Alexandre Julliard [Sun, 27 Dec 1998 08:35:39 +0000 (08:35 +0000)] 
Added add_queue/remove_queue to server object operations.
Moved select() loop functions to select.c.

25 years agoRenamed ERR macro to avoid confusing the make_debug script.
Alexandre Julliard [Sat, 26 Dec 1998 19:47:00 +0000 (19:47 +0000)] 
Renamed ERR macro to avoid confusing the make_debug script.

25 years agoFixed tons of incomplete prototypes, assignment's of pointer with
Juergen Schmied [Sat, 26 Dec 1998 19:44:13 +0000 (19:44 +0000)] 
Fixed tons of incomplete prototypes, assignment's of pointer with
different signedness, superflous ',' and ';' in structures, wrong
return-types, lose of digits and some small glitches.

25 years agoCleaned up font encoding handling. Added 'Ignore#' option to the
Alex Korobka [Sat, 26 Dec 1998 19:42:02 +0000 (19:42 +0000)] 
Cleaned up font encoding handling. Added 'Ignore#' option to the
[fonts] section. Also, file with cached metrics now has the value of
$DISPLAY appended to the filename.

25 years agoChanged // comments to /* */ so WINE compiles with non-gcc compilers
Marcus Meissner [Sat, 26 Dec 1998 12:54:29 +0000 (12:54 +0000)] 
Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.

25 years agoMoved more things to the X11 driver.
Patrik Stridvall [Sat, 26 Dec 1998 12:00:43 +0000 (12:00 +0000)] 
Moved more things to the X11 driver.

25 years agoFixed the prototype of CreateDIBPatternBrushPt
Francois Gouget [Sat, 26 Dec 1998 11:57:38 +0000 (11:57 +0000)] 
Fixed the prototype of CreateDIBPatternBrushPt

25 years agoRemoved the CN_xxx macros since they are not used, do not correspond to
Francois Gouget [Sat, 26 Dec 1998 11:56:22 +0000 (11:56 +0000)] 
Removed the CN_xxx macros since they are not used, do not correspond to
any Windows define and conflict with MFC defines.
windows.h must provide all the definitions contained in winbase.h
Some Xxx32 functions did not have the associated Xxx macro.

25 years agoAdded a typedef for __int64 which is a builtin Visual C++ type
Francois Gouget [Sat, 26 Dec 1998 11:55:05 +0000 (11:55 +0000)] 
Added a typedef for __int64 which is a builtin Visual C++ type
Added a typedef for PUINT

25 years agoREFIID was not defined.
Francois Gouget [Sat, 26 Dec 1998 11:53:29 +0000 (11:53 +0000)] 
REFIID was not defined.

25 years agoconfigure first checks whether it is possible to compile IPX code with
Pavel Roskin [Sat, 26 Dec 1998 11:52:51 +0000 (11:52 +0000)] 
configure first checks whether it is possible to compile IPX code with
Glibc headers. If it fails, next check determines whether direct inclusion
of <linux/ipx.h> works.

25 years agoProvides the mappings. MBCS and Unicode functions are not implemented.
Francois Gouget [Sat, 26 Dec 1998 11:50:11 +0000 (11:50 +0000)] 
Provides the mappings. MBCS and Unicode functions are not implemented.
Standard (SBCS) functions may exist or not, with the same or a different
semantics.

25 years agoIPaddress common control implementation. First try; needs more work to
Alex Priem [Sat, 26 Dec 1998 11:48:35 +0000 (11:48 +0000)] 
IPaddress common control implementation. First try; needs more work to
remove boring bugs.

25 years agoFixed the TEXT redefined warnings.
Juergen Schmied [Fri, 25 Dec 1998 08:55:15 +0000 (08:55 +0000)] 
Fixed the TEXT redefined warnings.

25 years agoHook into the (stubbed) resize code in msdos int10.
Joseph Pranevich [Fri, 25 Dec 1998 08:50:06 +0000 (08:50 +0000)] 
Hook into the (stubbed) resize code in msdos int10.