Know of any good VM86 tutorials/specs?
ty

Regards,
mr. xsism
Erm...mr. xsism wrote: Does each API set interface via interrupts?
POSIX and Win32 API don't call interrupts, or call gates. They merely define what functions there are and what they do, treating the functions as black boxes.mr. xsism wrote: I am wanting to know if POSIX & Win32 uses interrupts or call gates. [...] I need to know for porting POSIX & win32 APIs to my OS.
Note: THREE ways. Interrupts, call gates and SYSENTER/SYSEXIT. On amd you can replace sysenter/sysexit with syscall / sysret, which are faster (to type & execute).mr. xsism wrote: No, no, no. When you use API nowadays, you call functions. That's correct. But those functions usually end up calling on system API. This can be done 2 ways: Interrupts or call gates.
If you're talking about http://www.apiguide.com/, either it's just me or the site is limitted to "A" beginning functions, which makes it ... rather ... useless .Robert Lee wrote: ApiGuide is a good winAPI reference.
Code: Select all
push [selector]
push label
retf
Code: Select all
jmp var_sel:LABEL
Code: Select all
db 0xEA ; jmp
dd Label ; Offset
var_sel:???dw 0x0000 ; Selector