On Mon, 1 Jan 2001, Johan Gill wrote:
> This patch moves the real mode handling of int09 (at least it's supposed
> to) to winedos.dll.
...
> + static HMODULE DosModule = 0;
> + void (*func)(CONTEXT86 *context);
> + if (DosModule == 0)
> + DosModule = GetModuleHandleA("winedos");
> switch (intnum) {
> case 0x09:
> - INT_Int09Handler(context);
> + func = GetProcAddress(DosModule, "Int09Handler");
> + (*func)(context);
I'm not so sure that this is what Alexandre had in mind. Maybe you want me
to do something slightly cleaner on my next break from transgaming work?