Page 2 of 2

Re:POSIX & Win32 API

Posted: Fri Sep 12, 2003 3:53 pm
by mr. xsism
I figured out how. retf = rerturn far. Thus:

set_cs(0x08);
#asm_block_thing
set_cs:
retf
#end_asm_thing

that works perfectly :) It sets CS to ANY 16bit value

Regards,
mr. xsism

Re:POSIX & Win32 API

Posted: Sat Sep 13, 2003 2:57 am
by Pype.Clicker
mr. xsism wrote:
Know of any good VM86 tutorials/specs?
you can get Tim's VM86 tutorial here