Hi,
this patch changes the real_mode_switch_call_vga() function to jump to the addr given as an argument instead the hardcoded 0xc000.
Also it changes the function to inline assembly and passes the arguments through that.
This patch includes the changes from my previous patch "[PATCH] vgabios: use same interface for biosemu.c and vm86.c", but should be committed incrementally.
Btw, I think it would be a good idea to export the interrupt handlers to a common file (biosints.c?) and let it be hooked up by both vm86 and x86emu implementations.
-- Alex