| plan 9 kernel history: overview | file list | diff list |
1995/0407/pc/devvga.c (diff list | history)
| 1995/0406/sys/src/9/pc/devvga.c:328,339 – 1995/0407/sys/src/9/pc/devvga.c:328,345 (short | long | prev | next) | ||
| 1995/0406 | y = strtoul(field[2], 0, 0); | |
| 1994/0624 | ||
| 1995/0406 | /* see if it fits in the usual place */ | |
| 1995/0407 | if(x <= Footprint){ | |
| 1995/0406 | screenmem = SCREENMEM; | |
| 1995/0407 | if(x == 0){ | |
| 1995/0406 | footprint = Footprint; | |
| 1995/0407 | footshift = Footshift; } else { | |
| 1995/0406 | footprint = x; | |
| 1995/0407 | for(n = 0; n < 31; n++) if((1<<n) >= footprint) break; footshift = n; } | |
| 1995/0406 | gscreen.base = (void*)screenmem; return; } | |
| 1995/0406/sys/src/9/pc/devvga.c:357,362 – 1995/0407/sys/src/9/pc/devvga.c:363,372 | ||
| 1995/0406 | screenmem = y; gscreen.base = (void*)y; footprint = x; | |
| 1995/0407 | for(n = 0; n < 31; n++) if((1<<n) >= footprint) break; footshift = n; | |
| 1995/0406 | return; } | |