LOADALL vs. v86

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
Tom

LOADALL vs. v86

Post by Tom »

what's better?
LOADALL or v86? loadall takes 105 clock ticks.

Thank you,
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:LOADALL vs. v86

Post by Pype.Clicker »

a.f.a.i.k. the loadall instruction (which is undocumented) was only available on the 80286 and maybe on some 80386...

http://x86.ddj.com/articles/loadall/tspec_a3_doc.htm

On hardware from 486, pentium, etc. it seems (according to the above article) that the LOADALL instruction is emulated by the bios, so i don't think it would be easier to reuse as you'll probably have to rewrite that emulator as well once you've re-programmed exceptions table (IDT)
Post Reply