POSIX & Win32 API

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.
mr. xsism

Re:POSIX & Win32 API

Post 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
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:POSIX & Win32 API

Post by Pype.Clicker »

mr. xsism wrote:
Know of any good VM86 tutorials/specs?
you can get Tim's VM86 tutorial here
Post Reply