Unreal Mode...

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
darklife

Unreal Mode...

Post by darklife »

Is it possible to do multitasking in unreal-mode using TSS's?
Maybe setup the TSS's before the switch back to real(unreal) mode?
It will be a wonder if I ever figure out pmode :)
jamethiel

RE:Unreal Mode...

Post by jamethiel »

No, unreal mode doesn't use Task State Segments.

All unreal mode does is change the segment limit in real mode from 64k to whatever else you want (typically 4G). That's -it-. Using a TSS would require protected-mode interrupt handling, which unreal mode doesn't provide.

You might be able to put something together using VM86 mode and seting the IOPL to 3, but that would require understanding pmode, which sortof defeats the point.

--Jamethiel
ka3r

RE:Unreal Mode...

Post by ka3r »

On the net (and I think on Christopher Giese's pages) you can find a multitasking example that does not use the TSS, but it use the return address on the stack to jump to another app.
Post Reply