2004-01-06 03:24 AM
2004-01-06 03:24 AM
Does anyone have a working SMI handler? I am using TinyBios. The STPC programmer's guide shows an SMI loader and an SMI main framework. I have put a call to the SMI loader just before bootup. Where do I put the SMI main code? i.e. should I compile it separately with segment=0A000 and just append it to the bios image like I do the vgacode, or should I compile it as part of the bios code and never call it directly -- just use startsmicode: and endsmicode: labels to copy it...? A littl more details would be helpful.