I had a nightmare trying to create a new patch sersies from my previous series. Hanving to copy each file that I changed and diffint against it and having to do manual merges of my patches because I fixed some stuff lower in the seriers was just pissing me off so I hope that noone will ask me to break it up again... This patch move most of the stuff out of int21. The stuff still remaining to be moved is: * FindFirst FindNext FCB functions which Im too lazy to rewrite right now * force duplicate handle how can we implement it cleanly? * buffered input * Parse filename into FCB * Get/Set PM interrupt vectors can these functions just call DOSVM_{Get|Set}Handler16? * Network functions * Disk serial functions, Is there a win32 API which sets a serail label? * The massive ioctl functions The FindFirstFile16 FindNextFile16 and FindClose16 functions are probably not necessary to export from kernel32, we could just use the ones from the 32-bit api but then I would have to figure out how to truncate the handle or a simpler (or more complex?) solution would be to allocate 4 bytes of memory to hold the 32-bit handle. ChangeLog: * dlls/winedos/winedos.spec * dlls/winedos/dosexe.h * dlls/winedos/int21.c * dlls/kernel/kernel32.spec * msdos/int21.c * msdos/dpmi.c * msdos/dosmem.c * include/msdos.h * include/misemu.h * include/callback.h Move most of int21 to winedos. nog.
Attachment:
int21.txt.bz2
Description: Binary data