Home | History | Annotate | Download | only in src

Lines Matching defs:mode

16   uint16_t mode, *mode_ptr;
55 /* Search for a 640x480 mode with a suitable color and memory model... */
59 while ((mode = *mode_ptr++) != 0xFFFF) {
60 mode &= 0x1FF; /* The rest are attributes of sorts */
62 printf("Found mode: 0x%04x (%dx%dx%d)\n", mode, mi->h_res, mi->v_res, mi->bpp);
66 rm.eax.w[0] = 0x4F01; /* Get SVGA mode information */
67 rm.ecx.w[0] = mode;
72 /* Must be a supported mode */
77 lua_newtable(L); /* mode info */
79 lua_pushstring(L, "mode");
80 lua_pushnumber(L, mode);
95 lua_settable(L, -3); /* add to mode list */