oy vey, I am stuck with it. I understand, that I have to do some mapping (paging is quite helpful with that), to get this task running in the 1 mb area. But ha, that's it. 've stuffed together an extra function just to create a stackframe for a vm86 task, do some mapping (it does what I want it to do, test peeks and a test pmode task run perfectly...), but it craps out when it comes to running in vm86 mode: bochs says clearly: interrupt(): SS selector null, when it reaches the first instruction to execute in vm86 mode.
to avoid misunderstandings: I've done research, I've examined MK_FP, FP_OFF, FP_SEG macros and included them in my kernel, but it doesn't help.
My task switcher runs. It should, as I understand it, go in and out of vm86 mode at task switch.
btw: I am loading the vm86 task as an extra module via grub. this feature is handy

) Gonna do some testing of task loading with it too.
thanks for help and clarifiying.