Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 476 → Rev 477

/shark/trunk/oslib/xlib/vm86.c
55,6 → 55,8
/* TSS optional section */
static BYTE vm86_stack0[VM86_STACK_SIZE];
 
static BYTE init = 0;
 
static struct {
TSS t;
DWORD io_map[2048];
117,6 → 119,9
{
int register i;
if (init != 0) return;
init = 1;
 
/* First of all, we need to setup a GDT entries to
* allow vm86 task execution. We just need a free 386 TSS, which
* will be used to store the execution context of the virtual 8086