plan9fox/sys
cinap_lenrek e34fa15921 aux/vga: cleanup vesa code
dbvesamode() modified the passed in size string in the process
of option parsing. this is a no-go because the string might be
constant in the read only section. provide cracksize() function
for the parsing and make a static copy.

do the vendor specific monitor detection in vbesnarf() instead
of vbecheck(). vbecheck()'s purpose is to check if vesa bios
service is avialable, not snarf graphics card state.

nvidiascale() was a no-op because it missed the vbecall() at
the end of the function. this means it was never tested so i
add the missing vbecall(), but disable nvidiascale for now
until someone tests this.

keep fancy stuff out of the Vbe structure. it is just there for
making bios calls, not keep state about the graphics card.
2015-02-01 19:28:24 +01:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: no. -- ftrvxmtrx 2014-12-28 15:08:41 -05:00
include bio: add Bfdopen() from plan9port 2014-12-14 20:21:42 +01:00
lib qmail: call mail instead of smtp with the wrong path 2014-12-11 14:45:16 -05:00
man factotum(4): fix typo 2015-01-29 14:11:43 +01:00
src aux/vga: cleanup vesa code 2015-02-01 19:28:24 +01:00