This patch depends on the previous patch that added interrupt handler entry points to winedos. After this patch, winedos contains 16-bit PM entry points for all interrupts and only a very small patch will be required to start using these. Same is true for RM entry points. Changelog: Add winedos16.dll which contains 16-bit protected mode interrupt entry points. Index: dlls/winedos/Makefile.in =================================================================== RCS file: /home/wine/wine/dlls/winedos/Makefile.in,v retrieving revision 1.15 diff -u -r1.15 Makefile.in --- dlls/winedos/Makefile.in 23 Oct 2002 22:24:10 -0000 1.15 +++ dlls/winedos/Makefile.in 29 Oct 2002 19:26:39 -0000 @@ -4,6 +4,7 @@ VPATH = @srcdir@ MODULE = winedos.dll IMPORTS = user32 kernel32 ntdll +ALTNAMES = winedos16.dll EXTRALIBS = $(LIBUNICODE) LDDLLFLAGS = @LDDLLFLAGS@ --- /dev/null Thu Jan 1 02:00:00 1970 +++ dlls/winedos/winedos16.spec Tue Oct 29 21:18:03 2002 @@ -0,0 +1,39 @@ +# Interrupt vectors 0-255 are ordinals 100-355 +# The '-interrupt' keyword takes care of the flags pushed on the stack by the interrupt +109 pascal -interrupt DOSVM_Int09Handler() DOSVM_Int09Handler +116 pascal -interrupt DOSVM_Int10Handler() DOSVM_Int10Handler +117 pascal -interrupt DOSVM_Int11Handler() DOSVM_Int11Handler +118 pascal -interrupt DOSVM_Int12Handler() DOSVM_Int12Handler +119 pascal -interrupt DOSVM_Int13Handler() DOSVM_Int13Handler +121 pascal -interrupt DOSVM_Int15Handler() DOSVM_Int15Handler +122 pascal -interrupt DOSVM_Int16Handler() DOSVM_Int16Handler +123 pascal -interrupt DOSVM_Int17Handler() DOSVM_Int17Handler +126 pascal -interrupt DOSVM_Int1aHandler() DOSVM_Int1aHandler +132 pascal -interrupt DOSVM_Int20Handler() DOSVM_Int20Handler +133 pascal -interrupt DOSVM_Int21Handler() DOSVM_Int21Handler +# Note: int 25 and 26 don't pop the flags from the stack +137 pascal -register DOSVM_Int25Handler() DOSVM_Int25Handler +138 pascal -register DOSVM_Int26Handler() DOSVM_Int26Handler +141 pascal -interrupt DOSVM_Int29Handler() DOSVM_Int29Handler +142 pascal -interrupt DOSVM_Int2aHandler() DOSVM_Int2aHandler +147 pascal -interrupt DOSVM_Int2fHandler() DOSVM_Int2fHandler +149 pascal -interrupt DOSVM_Int31Handler() DOSVM_Int31Handler +151 pascal -interrupt DOSVM_Int33Handler() DOSVM_Int33Handler +152 pascal -interrupt DOSVM_Int34Handler() DOSVM_Int34Handler +153 pascal -interrupt DOSVM_Int35Handler() DOSVM_Int35Handler +154 pascal -interrupt DOSVM_Int36Handler() DOSVM_Int36Handler +155 pascal -interrupt DOSVM_Int37Handler() DOSVM_Int37Handler +156 pascal -interrupt DOSVM_Int38Handler() DOSVM_Int38Handler +157 pascal -interrupt DOSVM_Int39Handler() DOSVM_Int39Handler +158 pascal -interrupt DOSVM_Int3aHandler() DOSVM_Int3aHandler +159 pascal -interrupt DOSVM_Int3bHandler() DOSVM_Int3bHandler +160 pascal -interrupt DOSVM_Int3cHandler() DOSVM_Int3cHandler +161 pascal -interrupt DOSVM_Int3dHandler() DOSVM_Int3dHandler +162 pascal -interrupt DOSVM_Int3eHandler() DOSVM_Int3eHandler +165 pascal -interrupt DOSVM_Int41Handler() DOSVM_Int41Handler +175 pascal -interrupt DOSVM_Int4bHandler() DOSVM_Int4bHandler +192 pascal -interrupt DOSVM_Int5cHandler() DOSVM_Int5cHandler +203 pascal -interrupt DOSVM_Int67Handler() DOSVM_Int67Handler + +# default handler for unimplemented interrupts +356 pascal -interrupt DOSVM_DefaultHandler() DOSVM_DefaultHandler -- Jukka Heinonen <http://www.iki.fi/jhei/>