On Mon, Jun 05, 2006 at 06:24:31PM -0700, [EMAIL PROTECTED] wrote:
> It looks like it's initialised in 9/pc/screen.c, for example in
> screensize(), and 9/pc/devvga.c, for example in vgaopen() and the
> routines it calls.  Look for
> 
>       scr = &vgascreen[0];
> 
> which is a pedantic way of writing
> 
>       scr = vgascreen;
> 
> and see how scr is used.

  Here's the thing -- it looks like everything assumes that the place
  'scr' ends up pointing to has been already initialized somehow. Every 
  sourceline that I've been able to identify using 
      "grep vgascreen  /sys/src/9/*/*" 
  does exactly what you've mentioned: 'scr = &vgascreen[0];' but the problem 
  is -- scr never gets written to, which means there's not way vgascreen could 
  be initialized. 
  
  Or am I missing something really obvious here ?

Thanks,
Roman.

Reply via email to